4 ms·
RISC-V has SIMD extension as well. Even when there is no SIMD, prefetching or instruction selection/scheduling will have a big impact on the performance, so it
by pca006132 2y ago
RISC-V has SIMD extension as well. Even when there is no SIMD, prefetching or instruction selection/scheduling will have a big impact on the performance, so it is unlikely one can easily write a few lines of assembly and get to a similar level of performance.
- Narishma 2y agoI don't think RISC-V's SIMD extension is very popular. At least I can't think of any available core implementing it. The vector extension is much more common.
- Findecanor 2y agoThe "P" (Packed SIMD) extension is still under development. It uses GPRs and is intended for smaller cores for which V would be too heavyweight. The proposal originates with Andes, and one of their own ISAs. They have several RISC-V cores with an early draft of it.
- fanf2 2y agoThere seem to be a few Raspberry Pi style boards available with it. Bruce Hoult wrote about his RISC-V SIMD tolower() at https://lobste.rs/s/bfgsh6/tolower_with_avx_512#c_8wmpce https://lobste.rs/s/bfgsh6/tolower_with_avx_512#c_8wmpce
- Narishma 2y agoThat's the vector extension (V) rather than packed SIMD (P).