Add .rv32
on rv32_zbs and rv32_zbb instructions
#220
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
shamt[5]
must be 0 for RV32.slli.rv32
, etc., are defined forslli
,srli
, andsrai
to address this issue.bclri
,bexti
,binvi
,bseti
, androri
have same issue. This PR adds.rv32
for them.Similarly
zext.h
andrev8
have different encoding for RV32 and RV64. Only RV64 versions are emitted in output files. This PR also adds.rv32
for them to solve this.Note:
rev8
androri
are aliased inrv32_{zk,zkn,zks}
. But onlyrv32_zks
is shown in theextension
field ininstr_dict.yaml
. I think this is an issue ofparse.py
.