aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorchenxiaolong <chenxiaolong@loongson.cn>2024-01-05 11:43:25 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-01-05 20:28:01 +0800
commit12ad10af5ea0a9e68d1d59d79863a707be518768 (patch)
tree2de35287d1298d822d755be90fba234154087160 /gcc
parent0eba9cae2e02032f6d844c6b6b0b5721ddab4390 (diff)
downloadgcc-12ad10af5ea0a9e68d1d59d79863a707be518768.zip
gcc-12ad10af5ea0a9e68d1d59d79863a707be518768.tar.gz
gcc-12ad10af5ea0a9e68d1d59d79863a707be518768.tar.bz2
LoongArch: testsuite:Added detection support for LoongArch architecture in vect-{82, 83}.c.
gcc/testsuite/ChangeLog: * gcc.dg/vect/vect-82.c: Add the LoongArch architecture to the object detection framework. * gcc.dg/vect/vect-83.c: Dito.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-82.c2
-rw-r--r--gcc/testsuite/gcc.dg/vect/vect-83.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-82.c b/gcc/testsuite/gcc.dg/vect/vect-82.c
index 4b2d5a8..5c761e9 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-82.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-82.c
@@ -1,4 +1,4 @@
-/* { dg-skip-if "powerpc and integer vectorization only" { ! { powerpc*-*-* && vect_int } } } */
+/* { dg-skip-if "powerpc/loongarch and integer vectorization only" { ! { { powerpc*-*-* || loongarch*-*-* } && vect_int } } } */
/* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
#include <stdarg.h>
diff --git a/gcc/testsuite/gcc.dg/vect/vect-83.c b/gcc/testsuite/gcc.dg/vect/vect-83.c
index 1a173da..7fe1b05 100644
--- a/gcc/testsuite/gcc.dg/vect/vect-83.c
+++ b/gcc/testsuite/gcc.dg/vect/vect-83.c
@@ -1,4 +1,4 @@
-/* { dg-skip-if "powerpc and integer vectorization only" { ! { powerpc*-*-* && vect_int } } } */
+/* { dg-skip-if "powerpc/loongarch and integer vectorization only" { ! { { powerpc*-*-* || loongarch*-*-* } && vect_int } } } */
/* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
#include <stdarg.h>