diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/aarch64/sve_const_pred_2.C')
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/sve_const_pred_2.C | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/sve_const_pred_2.C b/gcc/testsuite/gcc.target/aarch64/sve_const_pred_2.C index 3de4a8ccd00..ec8a0ab9d69 100644 --- a/gcc/testsuite/gcc.target/aarch64/sve_const_pred_2.C +++ b/gcc/testsuite/gcc.target/aarch64/sve_const_pred_2.C @@ -1,13 +1,13 @@ /* { dg-do compile } */ /* { dg-options "-O2 -march=armv8-a+sve -msve-vector-bits=256" } */ -typedef short v16hi __attribute__((vector_size(32))); +typedef short vnx8hi __attribute__((vector_size(32))); -v16hi -foo (v16hi x, v16hi y) +vnx8hi +foo (vnx8hi x, vnx8hi y) { - return (v16hi) { -1, 0, 0, -1, -1, -1, 0, 0, - -1, -1, -1, -1, 0, 0, 0, 0 } ? x : y; + return (vnx8hi) { -1, 0, 0, -1, -1, -1, 0, 0, + -1, -1, -1, -1, 0, 0, 0, 0 } ? x : y; } /* { dg-final { scan-assembler {\tldr\tp[0-9]+,} } } */ |