public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] RISC-V: Force ilp32d for the T-Head FMV test
@ 2023-04-11 20:10 Palmer Dabbelt
  2023-04-11 21:01 ` Jeff Law
  0 siblings, 1 reply; 3+ messages in thread
From: Palmer Dabbelt @ 2023-04-11 20:10 UTC (permalink / raw)
  To: gcc-patches; +Cc: Palmer Dabbelt

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(-)

diff --git a/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c b/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c
index 10d035e9e1d..1036044291e 100644
--- a/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c
+++ b/gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c
@@ -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
-- 
2.39.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] RISC-V: Force ilp32d for the T-Head FMV test
  2023-04-11 20:10 [PATCH] RISC-V: Force ilp32d for the T-Head FMV test Palmer Dabbelt
@ 2023-04-11 21:01 ` Jeff Law
  2023-04-17 19:19   ` Palmer Dabbelt
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Law @ 2023-04-11 21:01 UTC (permalink / raw)
  To: Palmer Dabbelt, gcc-patches



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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] RISC-V: Force ilp32d for the T-Head FMV test
  2023-04-11 21:01 ` Jeff Law
@ 2023-04-17 19:19   ` Palmer Dabbelt
  0 siblings, 0 replies; 3+ messages in thread
From: Palmer Dabbelt @ 2023-04-17 19:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: gcc-patches

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-17 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-11 20:10 [PATCH] RISC-V: Force ilp32d for the T-Head FMV test Palmer Dabbelt
2023-04-11 21:01 ` Jeff Law
2023-04-17 19:19   ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).