RFA: fix for simd ICE

Aldy Hernandez aldyh@redhat.com
Wed Aug 28 11:07:00 GMT 2002


>>>>> "Joern" == Joern Rennecke <joern.rennecke@superh.com> writes:

 > + #define vector64 __attribute__((vector_size(8)))
 > + 
 > + main(){
 > + 
 > +  vector64 int  c;
 > + vector64 int a = {1, -1};
 > + vector64 int b = {2, -2};
 > + c = -a + b*b*(-1LL);
 > + /* c is now {5, 3} */
 > + 
 > +  printf("result is %llx\n", (long long)c); 
 > + }

are long longs always guaranteed to be 64 bits?  Doubt it.

Aldy



More information about the Gcc-patches mailing list