riscv64 libc string function patch set -- how to proceed?

From: Robert Clausecker <fuz_at_freebsd.org>
Date: Wed, 06 Aug 2025 09:06:10 UTC
Greetings!

As part of last years GSoC, strajabot@ implemented [1] assembly
variants of some of the libc string functions.  As we do not have
support for RVV nor for fine-grained instruction set extension
detection, it was decided to just use the basic instruction set
with no extension.  So it's all SWAR techniques.

Back then we decided to do the same acceptance test I did for
the AArch64 functions and the amd64 functions: build all ports
with and without the patch set and see if anything changes.
I started to do so in late 2024, but my build box kept crashing.
Eventually I discovered that this crash was in fact a livelock
in the OpenSBI firmware that would also occur on emulator [2],
preventing any progress on the acceptance test.

These are the patches involved.  You can find them all in one
branch on strajabot@'s github [3]:

    D47275 D46230 D46139 D46023 D46047 D45730 D45693

They pass our test suite and seem fine.  We have tried to hook
them up to the glibc test suite, but that test suite is so
annoying to work with that it is not really feasible to do so.
It does not seem like the planned acceptance test can be
completed at all in face of PR 284743, and given the lack of
interest in getting this issue fixed, I don't see a possibility
of getting the acceptance test completed.

How shall we proceed with these patches?

Yours,
Robert Clausecker

[1]: https://wiki.freebsd.org/SummerOfCode2024Projects/PortAmd64SIMDLibcOptimizationsToRiscv64
[2]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284743
[3]: https://github.com/strajabot/freebsd-src/tree/exp-run

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments