This is the mail archive of the gcc-patches@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]

Re: RFA: fix for simd ICE


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


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