diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-08-07 14:57:00 +0900 |
---|---|---|
committer | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-09-22 06:28:19 +0000 |
commit | c1ecdee7e09681096229c177bb5fba8a538ce446 (patch) | |
tree | ce0f993e68b5bde0c2c36146331d0e791bc5ab5c /opcodes/riscv-dis.c | |
parent | 90eca7111355e4c6683c1ab10fd07107ea10f6d1 (diff) | |
download | binutils-gdb-c1ecdee7e09681096229c177bb5fba8a538ce446.tar.gz |
RISC-V: Add macro-only operands to validate_riscv_insn
Although they are not (and should not be) reachable, following macro-only
operands are parsed in the `validate_riscv_insn' function and ignored.
That function also notes that they are macro-only.
- "A"
- "B"
- "I"
Following this convention, this commit adds three remaining macro-only
operands to this function. By doing this, we could instead choose to reject
those operands from appearing in regular instructions later.
- "c" (used by call, tail and jump macros)
- "VM" (used by vmsge.vx and vmsgeu.vx macros)
- "VT" (likewise)
gas/ChangeLog:
* config/tc-riscv.c (validate_riscv_insn): Add "c", "VM" and "VT"
macro-only operand types.
Diffstat (limited to 'opcodes/riscv-dis.c')
0 files changed, 0 insertions, 0 deletions