[PATCH v5 1/1] riscv: Add RVV memset for both multiarch and non-multiarch builds
Peter Bergner
bergner@tenstorrent.com
Thu Dec 18 15:26:44 GMT 2025
On 12/17/25 7:46 PM, Jeff Law wrote:
> On 12/17/25 8:56 AM, Yao Zihong wrote:
>> As for the other mem*/str* RVV routines, we're actually not sure whether it's
>> appropriate to post those to the list at this stage, even just as RFCs for early
>> review, given the soft-freeze. We're not trying to push them toward trunk right now.
>> We've continued iterating on those implementations since Hau Hsu's original series,
>> with some optimizations and additional routines like memrchr/strrchr compared to the
>> last submission [1].
>
> I'd suggest posting the series, even if we don't consider them for
> inclusion now. We can go ahead with review work so that they're
> hopefully ready to integrate as soon as the trunk is open for
> development again.
I'm also fine with posting the patches now, even though we know they're
targeted at the next release.
That said, maybe as a first patch, we can try and add the support for
building multiarch but with __riscv_v being defined so we don't need
the ifunc resolver? That way, the previous memset patch and this
patch would be the full template for adding the rest of memcpy, etc.
functions?
I believe in the future, we going to see more distros building RVA23
as the base, so in those cases, the RVV ifunc isn't needed at all.
Peter
More information about the Libc-alpha
mailing list