[PATCH] riscv: Use page-bounded loads in RVV strlen
daichengrong
daichengrong@iscas.ac.cn
Fri Nov 27 07:35:32 GMT 2026
> 2026年11月24日 00:20,Peter Bergner <bergner@oss.tenstorrent.com> 写道:
>
> On 11/23/26 2:41 AM, Chengrong Dai wrote:
>> Replace fault-only-first vector loads with ordinary byte loads bounded
>
> s/ordinary/ordinary vector/.
Fixed in v2.
> Andreas showed an improved way to compute page_mask.
Addressed in v2 by deriving the alignment mask from fullvl.
> That should allow us to hoist the vsetvli
> outside the main loop body too, correct?
>
Yes. V2 aligns the source to the fixed vector load size, removing
vsetvli and page-boundary bookkeeping from the main loop.
More information about the Libc-alpha
mailing list