https://gcc.gnu.org/g:b7baa22e47421d0a81202a333f43d88b5bbb39f5

commit r15-5953-gb7baa22e47421d0a81202a333f43d88b5bbb39f5
Author: Pan Li <pan2...@intel.com>
Date:   Wed Dec 4 10:08:11 2024 +0800

    RISC-V: Fix incorrect optimization options passing to convert and unop
    
    Like the strided load/store, the testcases of vector convert and unop
    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...@intel.com>

Diff:
---
 gcc/testsuite/gcc.target/riscv/rvv/rvv.exp | 4 ++--
 1 file 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 65a57aa79138..aee297752f67 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
+++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
@@ -67,9 +67,9 @@ foreach op $AUTOVEC_TEST_OPTS {
   dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/cmp/*.\[cS\]]] \
     "" "$op"
   dg-runtest [lsort [glob -nocomplain 
$srcdir/$subdir/autovec/conversions/*.\[cS\]]] \
-    "" "$op"
+    "$op" ""
   dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/unop/*.\[cS\]]] \
-    "" "$op"
+    "$op" ""
   dg-runtest [lsort [glob -nocomplain 
$srcdir/$subdir/autovec/ternop/*.\[cS\]]] \
     "$op" ""
   dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/reduc/*.\[cS\]]] 
\

Reply via email to