]> git.ipfire.org Git - thirdparty/gcc.git/commit
RISC-V: testsuite: Fix vmul test expectation and fix -ffast-math.
authorRobin Dapp <rdapp@ventanamicro.com>
Tue, 20 Jun 2023 07:12:41 +0000 (09:12 +0200)
committerRobin Dapp <rdapp@ventanamicro.com>
Tue, 20 Jun 2023 13:04:09 +0000 (15:04 +0200)
commit37c167e89b031df77fe3133baebf5bf362151b05
tree52c8544cb69e73af495b58388aaf17a789ee185d
parent99e3214f582b08b69b11b53eb3fc73b0919ef4f1
RISC-V: testsuite: Fix vmul test expectation and fix -ffast-math.

I forgot to check for vfmul in the multiplication tests as well as
some -ffast-math arguments.  Fix this.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/binop/vadd-run.c: Add
-ffast-math.
* gcc.target/riscv/rvv/autovec/binop/vadd-zvfh-run.c: Dito.
* gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c: Remove
-ffast-math
* gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c: Check for
vfmul.
* gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c: Dito.
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-run.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vadd-zvfh-run.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv32gcv.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vmul-rv64gcv.c
gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vrem-rv32gcv.c