[PATCH v5 04/18] riscv: Add RVV memcmpeq for multiarch and non-multiarch
Peter Bergner
bergner@tenstorrent.com
Tue Jun 9 18:59:25 GMT 2026
Thanks for fixing the __memcmpeq build issue and thanks to Adhemerval
for reviewing and pushing the fix! I'm not sure why I didn't see that
failure when doing my memcmp testing.
That said, I know you're going to post a v6 of the memcmpeq patch,
but do look out for unneeded '_'s. I believe all of the symbols
below would be just fine with only two '_'s, rather then four.
On 2/3/26 9:05 AM, Yao Zihong wrote:
> diff --git a/sysdeps/riscv/multiarch/memcmpeq-generic.c b/sysdeps/riscv/multiarch/memcmpeq-generic.c
[snip]
> +# define MEMCMP ____memcmpeq_generic
> diff --git a/sysdeps/riscv/multiarch/memcmpeq-vector.S b/sysdeps/riscv/multiarch/memcmpeq-vector.S
[snip]
> +# define MEMCMPEQ ____memcmpeq_vector
> diff --git a/sysdeps/riscv/rvv/memcmpeq.S b/sysdeps/riscv/rvv/memcmpeq.S
[snip]
> +# define MEMCMPEQ ____memcmpeq
Peter
More information about the Libc-alpha
mailing list