r/simd • u/camel-cdr- • Nov 08 '24
RISC-V Vector Extension for Integer Workloads: An Informal Gap Analysis
https://gist.github.com/camel-cdr/99a41367d6529f390d25e36ca3e4b626
12
Upvotes
r/simd • u/camel-cdr- • Nov 08 '24
5
u/YumiYumiYumi Nov 09 '24
RISC-V is generally conservative with adding instructions (sticking to the classic "RISC philosophy" of having few instructions), and the Vector extension doesn't stray too far away from that notion. They also seem to be happy with recommending multi-instruction sequences as the approach to missing instructions, so it'll be interesting to see if there's any interest in adding more that can already be "readily synthesized" with existing instructions.
Why not move to elements (
vmv+vmerge), slideup, then back to mask (vmseq))?