RISC-V: Force ilp32d for the T-Head FMV test
Commit Message
These functions are NOPs on the soft-float ABIs. Since we're already
forcing the ISA, let's just force the ABI too.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/xtheadfmv-fmv.c: Force the ilp32d ABI.
---
This one is also in the testing queue. OK for trunk?
---
gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 4/11/23 14:10, Palmer Dabbelt wrote:
> These functions are NOPs on the soft-float ABIs. Since we're already
> forcing the ISA, let's just force the ABI too.
>
> gcc/testsuite/ChangeLog:
>
> * gcc.target/riscv/xtheadfmv-fmv.c: Force the ilp32d ABI.
> ---
> This one is also in the testing queue. OK for trunk?
OK
jeff
On Tue, 11 Apr 2023 14:01:35 PDT (-0700), gcc-patches@gcc.gnu.org wrote:
>
>
> On 4/11/23 14:10, Palmer Dabbelt wrote:
>> These functions are NOPs on the soft-float ABIs. Since we're already
>> forcing the ISA, let's just force the ABI too.
>>
>> gcc/testsuite/ChangeLog:
>>
>> * gcc.target/riscv/xtheadfmv-fmv.c: Force the ilp32d ABI.
>> ---
>> This one is also in the testing queue. OK for trunk?
> OK
Committed.
@@ -1,5 +1,5 @@
/* { dg-do compile { target { rv32 } } } */
-/* { dg-options "-march=rv32gc_xtheadfmv" } */
+/* { dg-options "-march=rv32gc_xtheadfmv -mabi=ilp32d" } */
/* { dg-skip-if "" { *-*-* } { "-O0" } } */
double