Debian Codegraph @

gcc/testsuite/gcc.target/arm/acle/simd32_sel.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target arm_simd32_ok } */
3 /* { dg-add-options arm_simd32 } */
4
5 #include <arm_acle.h>
6
7 int8x4_t
8 test_sel (int8x4_t a, int8x4_t b, uint8x4_t c, uint8x4_t d)
9 {
10 int8x4_t res1 = __sadd8 (a, b);
11 return __sel (c, d);
12 }
13
14 /* { dg-final { scan-assembler-times "sadd8\t...?, ...?, ...?" 1 } } */
15 /* { dg-final { scan-assembler-times "sel\t...?, ...?, ...?" 1 } } */