diff options
author | chenxiaolong <chenxiaolong@loongson.cn> | 2024-01-05 11:43:24 +0800 |
---|---|---|
committer | Lulu Cheng <chenglulu@loongson.cn> | 2024-01-05 20:28:01 +0800 |
commit | 0eba9cae2e02032f6d844c6b6b0b5721ddab4390 (patch) | |
tree | ef96c652537fe8e1bec19fa185a9e5fab30d537c | |
parent | 8a2ca0669a98b929f258e25571dc68be1138bf7d (diff) | |
download | gcc-0eba9cae2e02032f6d844c6b6b0b5721ddab4390.zip gcc-0eba9cae2e02032f6d844c6b6b0b5721ddab4390.tar.gz gcc-0eba9cae2e02032f6d844c6b6b0b5721ddab4390.tar.bz2 |
LoongArch: testsuite:Modify the test behavior of the vect-bic-bitmask-{12, 23}.c file.
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.
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c index 36ec5a8..213e4c2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-12.c @@ -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> diff --git a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c index 5b4c3b6..5dceb4b 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c +++ b/gcc/testsuite/gcc.dg/vect/vect-bic-bitmask-23.c @@ -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> |