public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] build-many-glibcs: Add a RISC-V config with most of the B extensions
@ 2023-09-06 15:06 Palmer Dabbelt
  2023-09-06 20:43 ` Florian Weimer
  0 siblings, 1 reply; 7+ messages in thread
From: Palmer Dabbelt @ 2023-09-06 15:06 UTC (permalink / raw)
  To: libc-alpha; +Cc: Palmer Dabbelt

We've had some B-related string optimizaitons show up over the past
year, but we don't have a configuration in build-many-glibcs that tests
them.  This adds Zba, Zbc, and Zbs -- it doesn't add Zbc, but IIUC
that's the common configuration.  To avoid blowing up the build count it
just adds rv64/lp64d.

Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
---
I haven't tested this at all, but figured I'd send it up for comments.
I'm not really sure what the bar should be for builds here, we kind of
just started with everything and then didn't add any more.
---
 scripts/build-many-glibcs.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 3082522140..bbc153831e 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -396,6 +396,11 @@ class Context(object):
                         variant='rv64imafdc-lp64d',
                         gcc_cfg=['--with-arch=rv64imafdc', '--with-abi=lp64d',
                                  '--disable-multilib'])
+        self.add_config(arch='riscv64',
+                        os_name='linux-gnu',
+                        variant='rv64imafdcb-lp64d',
+                        gcc_cfg=['--with-arch=rv64imafdc_zba_zbb_zbs', '--with-abi=lp64d',
+                                 '--disable-multilib'])
         self.add_config(arch='s390x',
                         os_name='linux-gnu',
                         glibcs=[{},
-- 
2.42.0


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

end of thread, other threads:[~2023-09-07 17:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 15:06 [PATCH] build-many-glibcs: Add a RISC-V config with most of the B extensions Palmer Dabbelt
2023-09-06 20:43 ` Florian Weimer
2023-09-07 15:24   ` Palmer Dabbelt
2023-09-07 15:50     ` Florian Weimer
2023-09-07 16:39       ` Palmer Dabbelt
2023-09-07 17:00         ` Evan Green
2023-09-07 17:05           ` 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).