This patch uses RISC-V vector instructions and zicbop prefetching to
optimize memory copies for 129~1600 byte ranges.

Signed-off-by: Qiguo Chen <[email protected]>
---
Is there any possibility of build environment being newer than
the run time? The Intel builds already have to deal with that problem.

Yes, it's best to use hwprobe for runtime detection, but the hwprobe detection for the zicbop extension hasn't been merged into the kernel yet. I'd like to refer to how other projects handle RISC-V integration; disabling it by default at compile time should also be acceptable.

Reply via email to