RISC-V: Clarify the naming rules of vendor operands.
authorNelson Chu <nelson@rivosinc.com>
Thu, 7 Sep 2023 02:52:25 +0000 (10:52 +0800)
committerNelson Chu <nelson@rivosinc.com>
Thu, 7 Sep 2023 03:45:01 +0000 (11:45 +0800)
commit6de11ff67a925a496319d25dee0bea58427aacf6
treef3b8e8134fde110c2ab5ae00898706c53bab7c05
parent5e9091dab8858b25210a91d22fbbbfdee9c969ad
RISC-V: Clarify the naming rules of vendor operands.

The vendor operands should be named starting with `X', and preferably the
second letter (or multiple following letters) is enough to differentiate
them from other vendors.

Therefore, added letter `t' after `X' for t-head operands, to differentiate
from future different vendor's operands.

bfd/
* elfxx-riscv.c (riscv_supported_vendor_x_ext): Removed the vendor
document link since it should already be recorded in the
gas/doc/c-riscv.texi.
gas/
* config/tc-riscv.c (validate_riscv_insn): Added `t' after `X' for
t-head operands.  Minor updates for indents and comments.
(riscv_ip): Likewise.
* doc/c-riscv.texi: Minor updates.
opcodes/
* riscv-dis.c (print_insn_args): Added `t' after `X' for t-head
operands.  Minor updates for indents and comments.
* riscv-opc.c (riscv_opcode): Likewise.
bfd/elfxx-riscv.c
gas/config/tc-riscv.c
gas/doc/c-riscv.texi
opcodes/riscv-dis.c
opcodes/riscv-opc.c