This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 05/15] RISC-V: Generic <string.h> Routines
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Palmer Dabbelt <palmer at dabbelt dot com>
- Cc: <libc-alpha at sourceware dot org>, Andrew Waterman <andrew at sifive dot com>, Darius Rad <darius at bluespec dot com>, <dj at redhat dot com>
- Date: Mon, 1 Jan 2018 00:52:12 +0000
- Subject: Re: [PATCH v2 05/15] RISC-V: Generic <string.h> Routines
- Authentication-results: sourceware.org; auth=none
- References: <mhng-fcc68f89-fea8-473f-b36f-38c98f74c978@palmer-si-x1c4>
On Sat, 23 Dec 2017, Palmer Dabbelt wrote:
> > I would again suggest deferring adding such functions, especially the C
> > ones, and instead helping with updating / reviewing RTH's optimized
> > generic string functions posted a while back, and only adding
> > RISC-V-specific ones if there is some clear reason RISC-V needs something
> > non-generic for optimal performance.
>
> Yes, that makes sense -- I think I forgot last time because they hadn't gone
> in yet. We'll just use the generic ones for now, I'll add it to my TODO list
> to make sure they're generating good code for RISC-V.
To be clear, RTH's optimized functions aren't in glibc yet. So, if you
find they'd be better for RISC-V than the current generic functions, you
should join in the process of getting them in glibc - for 2.28 not 2.27
now, of course (but only if generic functions can't be made good for
RISC-V would RISC-V-specific ones be desirable).
--
Joseph S. Myers
joseph@codesourcery.com