Skip to content

Commit f873c60

Browse files
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 <[email protected]>
1 parent a41b1a0 commit f873c60

File tree

1 file changed

+2
-2
lines changed
  • gcc/testsuite/gcc.target/riscv/rvv

1 file changed

+2
-2
lines changed

gcc/testsuite/gcc.target/riscv/rvv/rvv.exp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ foreach op $AUTOVEC_TEST_OPTS {
6363
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/partial/*.\[cS\]]] \
6464
"" "$op"
6565
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/binop/*.\[cS\]]] \
66-
"" "$op"
66+
"$op" ""
6767
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/cmp/*.\[cS\]]] \
68-
"" "$op"
68+
"$op" ""
6969
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/conversions/*.\[cS\]]] \
7070
"$op" ""
7171
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/unop/*.\[cS\]]] \

0 commit comments

Comments
 (0)