This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
[BEQI/BNEI] map uimm=0
into -1 constant
#209
Labels
future idea
Something for a future version of the spec
-1
is popular return error code.It can also be used to check if arbitrary bitfield (>5 bits long) is or isn't all ones (after the
slli
+srai
orp.extract
ortio.sbfextracti
)V ext is already doing signed immediates from rs1 position, so there is rather medium/low value of sticking with exact Zicsr like
uimm
encoding.To apply it to HCA, only the lambda needs to be modified:
https://github.com/riscv/riscv-code-size-reduction/blob/main/benchmarks/HCA/hca#L200
The text was updated successfully, but these errors were encountered: