From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1207 invoked by alias); 21 Feb 2011 13:53:17 -0000 Received: (qmail 1197 invoked by uid 22791); 21 Feb 2011 13:53:16 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 21 Feb 2011 13:53:08 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47825] SSE bitwise operations on floats work -g, fail -O3 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 21 Feb 2011 14:26:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg02463.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47825 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- CC|hjl at gcc dot gnu.org |hjl.tools at gmail dot com, | |ubizjak at gmail dot com --- Comment #6 from H.J. Lu 2011-02-21 13:53:02 UTC --- (In reply to comment #5) > /* Load four SPFP values from P. The address must be 16-byte aligned. */ > extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, > __artificial__)) > _mm_load_ps (float const *__P) > { > return (__m128) *(__v4sf *)__P; > } > > > re-opening to investigate that. HJ, are the SSE1 intrinsics not > aliasing in the Intel API? The above snippets are from trunk. It is a bug and should be fixed.