Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/acle/general/dupq_12.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-require-effective-target aarch64_little_endian } */
4
5 #include <arm_sve.h>
6
7 svint16_t
8 dupq (int x)
9 {
10 return svdupq_s16 (x, 0, x, 0, x, 0, 11, 0);
11 }
12
13 /* { dg-final { scan-assembler {\tmovi\tv[0-9]+\.4s, #?(?:0xb|11)} } } */