Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/pr115258.c

raw
1 /* { dg-options "-O2 -mcmodel=small" } */
2 /* { dg-final { check-function-bodies "**" "" "" } } */
3
4 /*
5 ** fun:
6 ** (ldr|adrp) [^\n]+
7 ** (ldr|adrp) [^\n]+
8 ** (ldr|adrp) [^\n]+
9 ** (ldr|adrp) [^\n]+
10 ** tbl v[0-9]+.16b, {v[0-9]+.16b - v[0-9]+.16b}, v[0-9]+.16b
11 ** str [^\n]+
12 ** ret
13 */
14 typedef int veci __attribute__ ((vector_size (4 * sizeof (int))));
15 void fun (veci *a, veci *b, veci *c) {
16 *c = __builtin_shufflevector (*a, *b, 0, 5, 2, 7);
17 }
18
19 /* { dg-final { scan-assembler-not {\teor\t} } } */