This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14981] [3.4/4.0 Regression] ICE in _mm_xor_pd for SSE2 with -O1
- From: "uros at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Dec 2004 06:50:29 -0000
- Subject: [Bug target/14981] [3.4/4.0 Regression] ICE in _mm_xor_pd for SSE2 with -O1
- References: <20040416183851.14981.davide.rossetti@roma1.infn.it>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at gcc dot gnu dot org 2004-12-01 06:50 -------
(In reply to comment #18)
> Well, that's not quite true. The following testcase still crashes
> on mainline when compiled with "gcc -msse"
Ah, thanks. I have checked mainline with -msse2, as the code you quote is
actually a sse2 code. With -msse, it crashes for all optimization levels, and
with -msse2, mainline does not ice for me.
Following code is a sse version, which compiles OK for -msse and -msse2:
typedef float v4sf __attribute__ ((vector_size (16)));
void
foo ()
{
v4sf x = { 0.0, 0.0, 0.0, 0.0 };
__builtin_ia32_xorpd (x, x);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14981