Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr103900.c

raw
1 /* PR target/103900 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fno-tree-dce -fno-tree-dse" } */
4
5 typedef unsigned char __attribute__((__vector_size__(2))) T;
6 typedef unsigned char __attribute__((__vector_size__(32))) U;
7 typedef int __attribute__((__vector_size__(64))) V;
8 typedef int __attribute__((__vector_size__(32))) W;
9 T foo0_v128u8_0;
10 U foo0_v256u8_0;
11 T foo0_v16u16_0;
12 int foo0_v128u64_0, foo0_v512u64_0;
13
14 void
15 foo0() {
16 V v512u128_0;
17 T v16u8_0;
18 foo0_v128u64_0 += (short)v16u8_0;
19 T v16u8_1 = ~__builtin_shufflevector(foo0_v128u8_0, foo0_v256u8_0, 0, 5);
20 W v256u128_1;
21 V v512u8_r =
22 foo0_v512u64_0 + v512u128_0;
23 (union {U b;}){}.b + (U)v256u128_1;
24 T v16u8_r = v16u8_0 + v16u8_1 + foo0_v16u16_0;
25 }