rvv_asm!("vsetvl x5, s3, t6","li {a}, 3","vle256.v v3, (a0)","1:","li {hi}, 4","vse64.v v3, (a0)", a =in(reg) a, hi = out(reg) hi, ); } } The current open-source RVV toolchain (llvm or gcc) is slow to advance. But no worries, with the above impleme...
E.g., add -march=rv64gcv as a compiler flag when using a version of GCC or LLVM which supports these extensions (such as GCC 14 or better). The command CXXFLAGS=-march=rv64gcv cmake -B build may suffice. Usage (Usage) We made a video to help you get started with the ...