instead of materializing a constant 0xffffffff, do a NOT and then zero-extend the result. my qemu doesn't support the zext.w instruction, so we have to do two shifts instead. these can potentially be fused into a single instruction by the processor.
Description
some simple utilities written in risc-v assembly
Languages
Assembly
90.6%
Shell
8.3%
Makefile
1.1%