Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/vec-init-21.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3
4 #include <arm_neon.h>
5
6 int8x16_t f_s8(int8_t x, int8_t y)
7 {
8 return (int8x16_t) { x, y, 1, 2, 3, 4, 5, 6,
9 7, 8, 9, 10, 11, 12, 13, 14 };
10 }
11
12 /* { dg-final { scan-assembler {\tldr\tq[0-9]+,} } } */
13 /* { dg-final { scan-assembler {\tins\tv[0-9]+\.b\[0|15\], w0} } } */
14 /* { dg-final { scan-assembler {\tins\tv[0-9]+\.b\[1|14\], w1} } } */