]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Force ilp32d for the T-Head FMV test
authorPalmer Dabbelt <palmer@rivosinc.com>
Tue, 11 Apr 2023 19:59:48 +0000 (12:59 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Mon, 17 Apr 2023 18:13:43 +0000 (11:13 -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.

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

index 10d035e9e1d07efbec375cf36c168a4bee631d33..1036044291e7ddd2e6cb25ba93eda451d76943d6 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