[RFC PATCH 1/5] riscv: libmvec: add RVV log and infrastructure

Florian Weimer fweimer@redhat.com
Mon Feb 9 09:17:21 GMT 2026


* Yao Zihong:

> From: Zihong Yao <zihong.plct@isrc.iscas.ac.cn>
>
> Add the initial RVV libmvec for RISC-V and wire it into the mathvec build
> and symbol exports.
>
> Provide the RVV variant list and importer glue plus a double-precision
> log implementation/data/skeleton.
>
> Move ptr_barrier to generic/math_private.h so it is shared by the new RVV code.
>
> The vector log implementation is derived from veclibm:
> https://github.com/rivosinc/veclibm

That's under the Apache License 2.0.  I'm not sure if we can accept such
code because the FSF position is that it's incompatible with the LGPL 2,
which we still use.

Are you in a position to assign copyright of this code to the FSF?

Thanks,
Florian



More information about the Libc-alpha mailing list