This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14981] [3.4/4.0 Regression] ICE in _mm_xor_pd for SSE2 with -O1


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]