jalr
IDL and description is unclear and potentially invalid
#392
Labels
data error
An error in the database data
The ISA manual and Sail code specify that
jalr
clears the LSB of the calculated target address before jumping. The IDL code and description in this database do not specify this (not even in thejump
function, to my knowledge), potentially making these entries invalid.Current value and location
https://github.com/riscv-software-src/riscv-unified-db/blob/main/arch/inst/I/jalr.yaml#L30
Expected value
If I understand IDL correctly, it should be something vaguely like this:
The description should also be updated in my opinion to better clarify this behaviour.
The text was updated successfully, but these errors were encountered: