1 /* { dg-do assemble { target aarch64_asm_sve_ok } } */
2 /* { dg-options "-O2 -ftree-vectorize --save-temps" } */
3 
4 #define INDEX32 uint32_t
5 #define INDEX64 uint64_t
6 
7 #include "gather_load_3.c"
8 
9 /* { dg-final { scan-assembler-times {\tld1b\tz[0-9]+\.s, p[0-7]/z, \[x[0-9]+, z[0-9]+.s, uxtw\]\n} 2 } } */
10 /* { dg-final { scan-assembler-times {\tld1h\tz[0-9]+\.s, p[0-7]/z, \[x[0-9]+, z[0-9]+.s, uxtw\]\n} 2 } } */
11 /* { dg-final { scan-assembler-times {\tld1w\tz[0-9]+\.s, p[0-7]/z, \[x[0-9]+, z[0-9]+.s, uxtw\]\n} 3 } } */
12 /* { dg-final { scan-assembler-times {\tld1d\tz[0-9]+\.d, p[0-7]/z, \[x[0-9]+, z[0-9]+.d\]\n} 3 } } */
13 
14 /* { dg-final { scan-assembler-times {\tst1b\tz[0-9]+\.s,} 2 } } */
15 /* { dg-final { scan-assembler-times {\tst1h\tz[0-9]+\.s,} 2 } } */
16 /* { dg-final { scan-assembler-times {\tst1w\tz[0-9]+\.s,} 3 } } */
17 /* { dg-final { scan-assembler-times {\tst1d\tz[0-9]+\.d,} 3 } } */
18