RISC-V: Fix opcode entries of "vmsge{,u}.vx"
authorTsukasa OI <research_trasio@irq.a4lg.com>
Sun, 6 Aug 2023 01:37:05 +0000 (01:37 +0000)
committerTsukasa OI <research_trasio@irq.a4lg.com>
Fri, 11 Aug 2023 03:55:55 +0000 (03:55 +0000)
commit934ee74bc0d04b866968f3aba0dc16fe7bccb1d9
tree7f83d1c12143382a1246c94adb2df310abbb0a5b
parent5b576ed1434dfe9d80b7f0a4490c9faca94c0ed0
RISC-V: Fix opcode entries of "vmsge{,u}.vx"

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.

opcodes/ChangeLog:

* riscv-opc.c (riscv_opcodes): Make sure that we never match to
vmsge{,u}.vx instructions unless specified in the assembler.
opcodes/riscv-opc.c