]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: testsuite:Added detection support for LoongArch architecture in vect-...
authorchenxiaolong <chenxiaolong@loongson.cn>
Fri, 5 Jan 2024 03:43:25 +0000 (11:43 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Fri, 5 Jan 2024 12:28:01 +0000 (20:28 +0800)
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.

gcc/testsuite/gcc.dg/vect/vect-82.c
gcc/testsuite/gcc.dg/vect/vect-83.c

index 4b2d5a8a464a891616a8c7a5fb4ee51d4a937db2..5c761e92a3aff49d543cf5e23bdc1d6f11129939 100644 (file)
@@ -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>
index 1a173daa1402524fc3ba3a4d35c60ca63476aa31..7fe1b050cee7a89e86e3091063018f284f5ecee5 100644 (file)
@@ -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>