]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: Fix incorrect optimization options passing to convert and unop
authorPan Li <pan2.li@intel.com>
Wed, 4 Dec 2024 02:08:11 +0000 (10:08 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 6 Dec 2024 00:42:23 +0000 (08:42 +0800)
commitb7baa22e47421d0a81202a333f43d88b5bbb39f5
tree0e577ab08b6f78fa41d36c227b15e8ce46ad350e
parent76b462f2b6c490b106fdc9ecd9f484b2f1f562b4
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.li@intel.com>
gcc/testsuite/gcc.target/riscv/rvv/rvv.exp