Skip to content

riscv_opcode_fix_vmsge_vx

Tsukasa OI edited this page Aug 11, 2023 · 2 revisions

Fix: Opcode entries of vmsge{,u}.vx

Issue Solved

Their check_func should be match_never, not match_opcode.

The reasons this error did not cause any disassembler errors are:

  1. The problem will not reproduce if no-aliases is specified (because macro instructions are handled as aliases).
  2. If not, all affected compressed instructions or their aliases precede before vmsge{,u}.vx macro instructions.

However, it'll easily break if we reorder opcode entries.

This commit fixes this issue before the accident occurs.

Clone this wiki locally