public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] t-rtems: add rv32imf architecture to the RTEMS multilib for RISC-V
@ 2024-08-07 19:48 Kirspel, Kevin
  2024-08-17 20:39 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Kirspel, Kevin @ 2024-08-07 19:48 UTC (permalink / raw)
  To: gcc-patches


[-- Attachment #1.1: Type: text/plain, Size: 261 bytes --]

The attach patch is specific to the RTEMS RISC-V architecture multilib which is controlled by the t-rtems file in the gcc/config/riscv/ directory.  The patch file was created from the gcc-13.3.0 branch.  It was successfully tested within RTEMS Source Builder.

[-- Attachment #2: gcc-13.3.0-RTEMS-riscv-multilib.patch --]
[-- Type: application/octet-stream, Size: 1914 bytes --]

From e7b5d78cefb7d8f5c1a543d3c997c76c166b9d22 Mon Sep 17 00:00:00 2001
From: Kevin Kirspel <kevin-kirspel@idexx.com>
Date: Sat, 3 Aug 2024 17:24:23 -0400
Subject: [PATCH] riscv multilib rv32imf

---
 gcc/config/riscv/t-rtems | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/config/riscv/t-rtems b/gcc/config/riscv/t-rtems
index 19b120308..f596e764f 100644
--- a/gcc/config/riscv/t-rtems
+++ b/gcc/config/riscv/t-rtems
@@ -1,8 +1,8 @@
 MULTILIB_OPTIONS	=
 MULTILIB_DIRNAMES	=
 
-MULTILIB_OPTIONS	+= march=rv32i/march=rv32iac/march=rv32im/march=rv32ima/march=rv32imac/march=rv32imaf/march=rv32imafc/march=rv32imafd/march=rv32imafdc/march=rv64ima/march=rv64imac/march=rv64imafd/march=rv64imafdc
-MULTILIB_DIRNAMES	+= rv32i       rv32iac       rv32im       rv32ima       rv32imac       rv32imaf       rv32imafc       rv32imafd       rv32imafdc       rv64ima       rv64imac       rv64imafd       rv64imafdc
+MULTILIB_OPTIONS	+= march=rv32i/march=rv32iac/march=rv32im/march=rv32imf/march=rv32ima/march=rv32imac/march=rv32imaf/march=rv32imafc/march=rv32imafd/march=rv32imafdc/march=rv64ima/march=rv64imac/march=rv64imafd/march=rv64imafdc
+MULTILIB_DIRNAMES	+= rv32i       rv32iac       rv32im       rv32imf      rv32ima       rv32imac       rv32imaf       rv32imafc       rv32imafd       rv32imafdc       rv64ima       rv64imac       rv64imafd       rv64imafdc
 
 MULTILIB_OPTIONS	+= mabi=ilp32/mabi=ilp32f/mabi=ilp32d/mabi=lp64/mabi=lp64d
 MULTILIB_DIRNAMES	+= ilp32      ilp32f      ilp32d      lp64      lp64d
@@ -14,6 +14,7 @@ MULTILIB_REQUIRED	=
 MULTILIB_REQUIRED	+= march=rv32i/mabi=ilp32
 MULTILIB_REQUIRED	+= march=rv32iac/mabi=ilp32
 MULTILIB_REQUIRED	+= march=rv32im/mabi=ilp32
+MULTILIB_REQUIRED	+= march=rv32imf/mabi=ilp32f
 MULTILIB_REQUIRED	+= march=rv32ima/mabi=ilp32
 MULTILIB_REQUIRED	+= march=rv32imac/mabi=ilp32
 MULTILIB_REQUIRED	+= march=rv32imaf/mabi=ilp32f
-- 
2.34.1


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

* Re: [PATCH] t-rtems: add rv32imf architecture to the RTEMS multilib for RISC-V
  2024-08-07 19:48 [PATCH] t-rtems: add rv32imf architecture to the RTEMS multilib for RISC-V Kirspel, Kevin
@ 2024-08-17 20:39 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2024-08-17 20:39 UTC (permalink / raw)
  To: Kirspel, Kevin, gcc-patches



On 8/7/24 1:48 PM, Kirspel, Kevin wrote:
> The attach patch is specific to the RTEMS RISC-V architecture multilib 
> which is controlled by the t-rtems file in the gcc/config/riscv/ 
> directory.  The patch file was created from the gcc-13.3.0 branch.  It 
> was successfully tested within RTEMS Source Builder.
Thanks.  I haven't heard from Joel or Sebastian who often chime in on 
RTEMS stuff, given the patch looks quite sensible, I've pushed it to the 
trunk.

Thanks again!

Jeff

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

end of thread, other threads:[~2024-08-17 20:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-07 19:48 [PATCH] t-rtems: add rv32imf architecture to the RTEMS multilib for RISC-V Kirspel, Kevin
2024-08-17 20:39 ` Jeff Law

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