Debian Codegraph @

gcc/testsuite/gcc.dg/pr108805.c

raw
1 /* { dg-do compile { target longlong64 } } */
2 /* { dg-options "-O" } */
3 /* { dg-additional-options "-msse2" { target x86_64-*-* i?86-*-* } } */
4
5 typedef __INT8_TYPE__ __attribute__((__vector_size__ (4))) U;
6 typedef __INT32_TYPE__ __attribute__((__vector_size__ (4))) V;
7 typedef __UINT64_TYPE__ __attribute__((__vector_size__ (8))) W;
8
9 int i;
10 U h;
11 W g;
12
13 U
14 foo (void)
15 {
16 W w = i != g;
17 V v = __builtin_convertvector (i | w >> 2, V);
18 U u = (U) v[0] + h;
19 return u;
20 }