RISC-V: Set the ABI for the RVV tests
authorPalmer Dabbelt <palmer@rivosinc.com>
Mon, 17 Apr 2023 18:20:43 +0000 (11:20 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 19 Apr 2023 02:40:12 +0000 (19:40 -0700)
commit787834ad4ab97c9b196cc2ab84fe897bb38618cb
treefafbcd735c3560a2df7d87de486fa4f407fff9df
parenta252c73b1f2b920d8a2ff2e8ca59989e06652fbb
RISC-V: Set the ABI for the RVV tests

The RVV test harness currently sets the ISA according to the target
tuple, but doesn't also set the ABI.  This just sets the ABI to match
the ISA, though we should really also be respecting the user's specific
ISA to test.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/rvv.exp (gcc_mabi): New variable.

(cherry picked from commit e6b050da8a4513ab37fd3699c7a963421fbe4d81)
gcc/testsuite/gcc.target/riscv/rvv/rvv.exp