aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/riscv
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2024-12-06 12:22:52 +0800
committerPan Li <pan2.li@intel.com>2024-12-09 09:30:38 +0800
commitf873c602d5ea5212e504426a56556a2e1415a40f (patch)
tree4757a7983140529672f2d096db5401761c4afe97 /gcc/testsuite/gcc.target/riscv
parenta41b1a001cb3b55975ed0316ca2041f4d8c20eb8 (diff)
downloadgcc-f873c602d5ea5212e504426a56556a2e1415a40f.zip
gcc-f873c602d5ea5212e504426a56556a2e1415a40f.tar.gz
gcc-f873c602d5ea5212e504426a56556a2e1415a40f.tar.bz2
RISC-V: Fix incorrect optimization options passing to binop and cmp
Like the strided load/store, the testcases of vector binop and cmp are designed to pick up different sorts of optimization options but actually these option are ignored according to the Execution log of the gcc.log. This patch would like to make it correct almost the same as how we fixed for strided load/store. The below test suites are passed for this patch. * The rv64gcv fully regression test. It is test only patch and obvious up to a point, will commit it directly if no comments in next 48H. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/rvv.exp: Fix the incorrect optimization options passing to testcases. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc/testsuite/gcc.target/riscv')
-rw-r--r--gcc/testsuite/gcc.target/riscv/rvv/rvv.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
index aee2977..9875986 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
+++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
@@ -63,9 +63,9 @@ foreach op $AUTOVEC_TEST_OPTS {
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/partial/*.\[cS\]]] \
"" "$op"
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/binop/*.\[cS\]]] \
- "" "$op"
+ "$op" ""
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/cmp/*.\[cS\]]] \
- "" "$op"
+ "$op" ""
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/conversions/*.\[cS\]]] \
"$op" ""
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/unop/*.\[cS\]]] \