]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
RISC-V: Clarify the imply rule of c
authorNelson Chu <nelson@rivosinc.com>
Wed, 9 Jul 2025 04:53:40 +0000 (12:53 +0800)
committerNelson Chu <nelson@rivosinc.com>
Thu, 10 Jul 2025 11:32:07 +0000 (19:32 +0800)
commit34fcc16e79b402e820f75ff376f0c8c5a185878f
tree72ced1909612a9381f7a499d0cb5aba0f47463ec
parentbb13e094aa780e2e0c6afed29b497e58a9e7c5a8
RISC-V: Clarify the imply rule of c

This also fix the imply result for .option rvc.

Imply zcf when c and f and rv32
Imply zcd when c and d
Imply zca when c

Changed INSN_CLASS_C to INSN_CLASS_ZCA
Changed INSN_CLASS_F_AND_C to INSN_CLASS_ZCF
Changed INSN_CLASS_D_AND_C to INSN_CLASS_ZCD
Changed INSN_CLASS_ZIHINTNTL_AND_C to INSN_CLASS_ZIHINTNTL_AND_ZCA
17 files changed:
bfd/elfxx-riscv.c
gas/doc/c-riscv.texi
gas/testsuite/gas/riscv/attribute-10.d
gas/testsuite/gas/riscv/attribute-17.d
gas/testsuite/gas/riscv/attribute-19.d
gas/testsuite/gas/riscv/attribute-20.d
gas/testsuite/gas/riscv/attribute-rva23s.d
gas/testsuite/gas/riscv/attribute-rvb23s.d
gas/testsuite/gas/riscv/imply.d
gas/testsuite/gas/riscv/imply.s
gas/testsuite/gas/riscv/mapping-symbols.d
gas/testsuite/gas/riscv/march-ok-reorder.d
gas/testsuite/gas/riscv/option-arch-attr.d
gas/testsuite/gas/riscv/option-arch-dis.d
gas/testsuite/gas/riscv/option-norvc.d
include/opcode/riscv.h
opcodes/riscv-opc.c