-
Notifications
You must be signed in to change notification settings - Fork 2
riscv_dis_use_xlen_on_addr_addiw
Tsukasa OI edited this page Aug 5, 2022
·
3 revisions
- Status: COMBINED
Combined with another fixes and superseded byriscv-dis-opts-batch-1- Merging this patch is still valid.
- Branch:
riscv-dis-use-xlen-on-addr-addiw - Tracking PR: #23 (view Pull Request and Diff)
- Mailing List:
- PATCH v1 (2022-07-13)
Because XLEN for the disassembler is independently computed in the riscv_disassemble_insn function and stored as a variable xlen, we don't need to use info->mach to check whether XLEN is larger than 32.
This patch uses xlen instead of info->mach.