Closed chiangkd closed 1 year ago
From spec, an instruction-address-misaligned exception is reported on the branch or jump instruction, implying rd would not be updated.
For simplicity, I keep do_jump function to handle branch instruction, and modify only op_jump_link function.
do_jump
op_jump_link
Reference: https://riscv.org/technical/specifications/ (section 2.2)
In addition, use plain text in git commit messages rather than markdown.
Thank @chiangkd for contributing!
From spec, an instruction-address-misaligned exception is reported on the branch or jump instruction, implying rd would not be updated.
For simplicity, I keep
do_jump
function to handle branch instruction, and modify onlyop_jump_link
function.Reference: https://riscv.org/technical/specifications/ (section 2.2)