]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: testsuite:Modify the test behavior of the vect-bic-bitmask-{12, 23}.c...
authorchenxiaolong <chenxiaolong@loongson.cn>
Fri, 5 Jan 2024 03:43:24 +0000 (11:43 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Fri, 5 Jan 2024 12:28:01 +0000 (20:28 +0800)
Before modifying the test behavior of the program, dg-do is set to assemble in
vect-bic-bitmask-{12,23}.c. However, when the binutils library does not support
the vector instruction set, it will FAIL to recognize the vector instruction
and fail item will appear in the assembly stage. So set the program's dg-do to
compile.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/vect-bic-bitmask-12.c: Change the default
setting of assembly to compile.
* gcc.dg/vect/vect-bic-bitmask-23.c: Dito.

gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c
gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c

index 36ec5a8b19bb88ea69dcae0807b7c230510d3c25..213e4c2a4189f50acfab7d61b3724ab22ce9a2cf 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
-/* { dg-do assemble } */
+/* { dg-do compile } */
 /* { dg-additional-options "-O3 -fdump-tree-dce -w" } */
 
 #include <stdint.h>
index 5b4c3b6e19bcf17c03e93cec315f5940601e060e..5dceb4bbcb6496015978244d97567641ad0dd143 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-skip-if "missing optab for vectorization" { sparc*-*-* } } */
-/* { dg-do assemble } */
+/* { dg-do compile } */
 /* { dg-additional-options "-O1 -fdump-tree-dce -w" } */
 
 #include <stdint.h>