[Bug target/14981] [3.4/4.0 Regression] ICE in _mm_xor_pd for SSE2 with -O1
uros at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 1 06:50:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list