diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/aarch64/sve_slp_2.c')
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/sve_slp_2.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/sve_slp_2.c b/gcc/testsuite/gcc.target/aarch64/sve_slp_2.c index 3e71596021f..ba3506ab4e4 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve_slp_2.c +++ b/gcc/testsuite/gcc.target/aarch64/sve_slp_2.c @@ -4,7 +4,7 @@ #include <stdint.h> #define VEC_PERM(TYPE) \ -TYPE __attribute__ ((weak)) \ +TYPE __attribute__ ((noinline, noclone)) \ vec_slp_##TYPE (TYPE *restrict a, int n) \ { \ for (int i = 0; i < n; ++i) \ @@ -23,13 +23,14 @@ vec_slp_##TYPE (TYPE *restrict a, int n) \ T (uint32_t) \ T (int64_t) \ T (uint64_t) \ + T (_Float16) \ T (float) \ T (double) TEST_ALL (VEC_PERM) /* { dg-final { scan-assembler-times {\tld1rh\tz[0-9]+\.h, } 2 } } */ -/* { dg-final { scan-assembler-times {\tld1rw\tz[0-9]+\.s, } 2 } } */ +/* { dg-final { scan-assembler-times {\tld1rw\tz[0-9]+\.s, } 3 } } */ /* { dg-final { scan-assembler-times {\tld1rd\tz[0-9]+\.d, } 5 } } */ /* { dg-final { scan-assembler-times {\tmov\tz[0-9]+\.d, #10\n} 2 } } */ /* { dg-final { scan-assembler-times {\tmov\tz[0-9]+\.d, #17\n} 2 } } */ @@ -39,14 +40,14 @@ TEST_ALL (VEC_PERM) /* The loop should be fully-masked. */ /* { dg-final { scan-assembler-times {\tld1b\t} 2 } } */ /* { dg-final { scan-assembler-times {\tst1b\t} 2 } } */ -/* { dg-final { scan-assembler-times {\tld1h\t} 2 } } */ -/* { dg-final { scan-assembler-times {\tst1h\t} 2 } } */ +/* { dg-final { scan-assembler-times {\tld1h\t} 3 } } */ +/* { dg-final { scan-assembler-times {\tst1h\t} 3 } } */ /* { dg-final { scan-assembler-times {\tld1w\t} 3 } } */ /* { dg-final { scan-assembler-times {\tst1w\t} 3 } } */ /* { dg-final { scan-assembler-times {\tld1d\t} 3 } } */ /* { dg-final { scan-assembler-times {\tst1d\t} 3 } } */ /* { dg-final { scan-assembler-times {\twhilelo\tp[0-7]\.b} 4 } } */ -/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7]\.h} 4 } } */ +/* { dg-final { scan-assembler-times {\twhilelo\tp[0-7]\.h} 6 } } */ /* { dg-final { scan-assembler-times {\twhilelo\tp[0-7]\.s} 6 } } */ /* { dg-final { scan-assembler-times {\twhilelo\tp[0-7]\.d} 6 } } */ /* { dg-final { scan-assembler-not {\tldr} } } */ |