RISC-V: Force ilp32d for the T-Head FMV test
authorPalmer Dabbelt <palmer@rivosinc.com>
Mon, 17 Apr 2023 18:20:44 +0000 (11:20 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 19 Apr 2023 02:40:13 +0000 (19:40 -0700)
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.

(cherry picked from commit c16848ed8f30be952ac0167fd464ae794fa5ac67)

gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c

index 10d035e..1036044 100644 (file)
@@ -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