You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RISC-V: Easy optimization on riscv_search_mapping_symbol
Before further optimization, we can optimize the function
riscv_search_mapping_symbol a bit for clarity.
opcodes/ChangeLog:
* riscv-dis.c (riscv_search_mapping_symbol): Make MAP_INSN default
considering major usecases. Remove setting found here as no one
uses the value after setting this. memaddr cannot be negative
so simplify and change comment.
Idea-by: Nelson Chu <[email protected]>
0 commit comments