[Bug target/20051] ICE when compiling SSE intrinics

2005-03-21 Thread commie1 at gmx dot net

--- Additional Comments From commie1 at gmx dot net  2005-03-21 11:03 
---
I'm sorry Uros, but PR1901 was fixed three months ago; I reduced this testcase
with the latest 3.4 snapshot (20050318). I checked the testcase in PR14981, and
that one indeed doesn't cause an ICE anymore. It can't be a dup. 

There's no ICE on the gcc-4_0-branch or mainline.

Cleaned up testcase:
==

typedef float v4sf __attribute__ ((vector_size (16)));

void foo(float* y)
{
  v4sf x = __builtin_ia32_xorps (x,x);
  __builtin_ia32_storeaps (y, x);
}

==

-- 
   What|Removed |Added

 CC||uros at kss-loka dot si


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20051


[Bug target/20051] ICE when compiling SSE intrinics

2005-03-21 Thread uros at kss-loka dot si

--- Additional Comments From uros at kss-loka dot si  2005-03-21 13:15 
---
(In reply to comment #4)
 I'm sorry Uros, but PR1901 was fixed three months ago; I reduced this testcase
 with the latest 3.4 snapshot (20050318). I checked the testcase in PR14981, 
 and
 that one indeed doesn't cause an ICE anymore. It can't be a dup. 

You have to compile the testcase from PR14981 with '-O2 -msse2' to trigger the 
bug:

This is what I have tested:

#include emmintrin.h
__v2df res;
void
xorv2df3 (double *x)
{
  __v2df temp0 = { x[0], x[1] };
  __v2df temp1 = { 0x0, 0x0 };
  res = _mm_xor_pd (temp0, temp1);
}

'gcc -O2 -msse2':

In function `xorv2df3':
pr14981.c:9: internal compiler error: in immed_double_const, at emit-rtl.c:481

GNU C version 3.4.4 20050321 (prerelease) (i686-pc-linux-gnu)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20051


[Bug target/20051] ICE when compiling SSE intrinics

2005-03-21 Thread commie1 at gmx dot net

--- Additional Comments From commie1 at gmx dot net  2005-03-21 16:33 
---
Alright, sorry again. I didn't use the right pr14981 testcase.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20051


[Bug target/20051] ICE when compiling SSE intrinics

2005-03-20 Thread uros at kss-loka dot si

--- Additional Comments From uros at kss-loka dot si  2005-03-21 06:20 
---
This is a duplicate of PR 14981. The fix is in a follow-up bug PR 19010.

*** This bug has been marked as a duplicate of 14981 ***

-- 
   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20051


[Bug target/20051] ICE when compiling SSE intrinics

2005-03-19 Thread commie1 at gmx dot net

--- Additional Comments From commie1 at gmx dot net  2005-03-20 02:08 
---
Testacse reduces to:

==

void SSEFunc(float* pDataIn)
{
  float __attribute__ ((__mode__(__V4SF__))) accum;
  accum = __builtin_ia32_xorps(accum,accum);
  __builtin_ia32_storeaps(pDataIn, accum);
}

==

gcc -O -msse main.i causes the ICE as above.

Tested with:
/tmp/gcc34/libexec/gcc/i686-pc-linux-gnu/3.4.4/cc1 -fpreprocessed main.i -quiet
-dumpbase main.i -msse -auxbase main -O -version -o /tmp/ccMLk69T.s
GNU C version 3.4.4 20050318 (prerelease) (i686-pc-linux-gnu)
Configured with: ../gcc-3.4-20050318/configure --prefix=/tmp/gcc34 --disable-nls
--enable-checking=misc,tree,gc,rtlflag,rtl --enable-languages=c

-- 
   What|Removed |Added

 CC||commie1 at gmx dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20051


[Bug target/20051] ICE when compiling SSE intrinics

2005-02-18 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

  Component|c++ |target
   Keywords||ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20051