[gcc r11-7598] [testsuite] Fix target selector for pr99102.c
Joel Hutton
joelh@gcc.gnu.org
Wed Mar 10 13:30:34 GMT 2021
https://gcc.gnu.org/g:3fbac260fc7860a97fd00a54ca955266d737925f
commit r11-7598-g3fbac260fc7860a97fd00a54ca955266d737925f
Author: Joel Hutton <joel.hutton@arm.com>
Date: Wed Mar 10 13:28:46 2021 +0000
[testsuite] Fix target selector for pr99102.c
The target selector should explicitly choose 256 bit hardware as
explicit 256 bit compiler options are used to trigger the bug.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/pr99102.c: Fix target selector.
Diff:
---
gcc/testsuite/gcc.dg/vect/pr99102.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/gcc.dg/vect/pr99102.c b/gcc/testsuite/gcc.dg/vect/pr99102.c
index 9d321b97a68..62d4d333c67 100644
--- a/gcc/testsuite/gcc.dg/vect/pr99102.c
+++ b/gcc/testsuite/gcc.dg/vect/pr99102.c
@@ -1,5 +1,5 @@
/* { dg-options "-O2 -ftree-vectorize" } */
-/* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve } } */
+/* { dg-additional-options "-msve-vector-bits=256" { target aarch64_sve256_hw } } */
long a[44];
short d, e = -7;
__attribute__((noipa)) void b(char f, short j, short k, unsigned l) {
@@ -17,4 +17,4 @@ int main() {
if (!a[0])
__builtin_abort();
}
-/* { dg-final { scan-tree-dump "MASK_SCATTER_STORE" "vect" { target aarch64_sve } } } */
+/* { dg-final { scan-tree-dump "MASK_SCATTER_STORE" "vect" { target aarch64_sve256_hw } } } */
More information about the Gcc-cvs
mailing list