Luke Lau
lukel97.bsky.social
Luke Lau
@lukel97.bsky.social
LLVM at Igalia
@camel-cdr.bsky.social rvv-bench is used here!
April 18, 2025 at 10:33 AM
256 loads, since it’s an LMUL 8 load with VLEN=256! I’m not sure how it compares to the scalar equivalent, but my guess is that the vlse8.v is loading one element at a time under the hood
December 11, 2024 at 11:17 AM
The maximum possible vl is 2^16 I think, so that would fit in XLEN=32?
December 6, 2024 at 4:28 PM
With that said I forgot how confusing the V extension hierarchy can be. After thinking about about EEW=64 on XLEN=32 I think I need to go lie down a bit 😵‍💫
December 6, 2024 at 4:21 PM
Otherwise EEW=64 is supported as usual, since there’s also this bit at the bottom:

> The V extension requires the scalar processor implements the F and D extensions
December 6, 2024 at 4:18 PM
Is it this bit here?

> The V extension supports all vector load and store instructions (Section Vector Loads and Stores), except the V extension
does not support EEW=64 for index values when XLEN=32.

I’m interpreting that as index values I.e only indices passed to vluxei64.v and friends
December 6, 2024 at 4:16 PM
Are you talking about zve32x? That doesn’t include any fp support, but zve32f should mandate f and zve64f should mandate d I think
December 6, 2024 at 4:48 AM
Even better is being able to measure the numbers yourself without the need for vendor tables. RISC-V support for llvm-exegesis is landing soon IIUC, with RVV not too far behind either.
December 3, 2024 at 3:03 AM
The RVV Agner Fog is camel-cdr.github.io/rvv-bench-re..., it’s an incredibly useful resource. We use it all the time for LLVM!
RVV benchmark
camel-cdr.github.io
December 3, 2024 at 12:52 AM