xref: /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/simd-5.c (revision c87b03e512fc05ed6e0222f6fb0ae86264b1d05b)
1 #define vector64 __attribute__((vector_size(8)))
2 
main()3 main(){
4 
5  vector64 int  c;
6 vector64 int a = {1, -1};
7 vector64 int b = {2, -2};
8 c = -a + b*b*(-1LL);
9 /* c is now {5, 3} */
10 
11  printf("result is %llx\n", (long long)c);
12 }
13