Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr100701.c

raw
1 /* PR target/100701 */
2 /* { dg-do run { target { ! ia32 } } } */
3 /* { dg-options "-O0 -fschedule-insns2 -msse2" } */
4
5 typedef unsigned char __attribute__((__vector_size__ (8))) V;
6 typedef unsigned int __attribute__((__vector_size__ (8))) U;
7
8 U u;
9 unsigned x;
10 unsigned char y;
11
12 V
13 foo (V a, __int128 i)
14 {
15 V b = a;
16 a &= y;
17 if (i == 0)
18 __builtin_abort ();
19 U c = (x != y / i) <= u;
20 return (V) c + a + b;
21 }
22
23 int
24 main (void)
25 {
26 (void)foo ((V) { }, 4);
27 return 0;
28 }