Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/vec-init-22-speed.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3
4 /* Verify that we recursively generate code for even and odd halves
5 instead of fallback code. This is so despite the longer code-gen
6 because it has fewer dependencies and thus has lesser cost. */
7
8 #include "vec-init-22.h"
9
10 /* { dg-final { scan-assembler-times {\tfmov\ts[0-9]+, w[0-9]+} 2 } } */
11 /* { dg-final { scan-assembler-times {\tins\tv[0-9]+\.h\[[1-3]\], w[0-9]+} 6 } } */
12 /* { dg-final { scan-assembler {\tzip1\tv[0-9]+\.8h, v[0-9]+\.8h, v[0-9]+\.8h} } } */