mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-10 09:35:24 +08:00
RISC-V: Zicbo{m,p,z} adjustments to riscv_multi_subset_supports_ext()
The lack thereof did caused gas to issue "internal: unreachable INSN_CLASS_*" errors when trying to assemble respective insns without the feature(s) enabled via e.g. ".option arch, ...". Of course a proper hint towards the missing extension then wasn't given either.
This commit is contained in:
@ -2445,6 +2445,12 @@ riscv_multi_subset_supports_ext (riscv_parse_subset_t *rps,
|
|||||||
{
|
{
|
||||||
case INSN_CLASS_I:
|
case INSN_CLASS_I:
|
||||||
return "i";
|
return "i";
|
||||||
|
case INSN_CLASS_ZICBOM:
|
||||||
|
return "zicbom";
|
||||||
|
case INSN_CLASS_ZICBOP:
|
||||||
|
return "zicbop";
|
||||||
|
case INSN_CLASS_ZICBOZ:
|
||||||
|
return "zicboz";
|
||||||
case INSN_CLASS_ZICSR:
|
case INSN_CLASS_ZICSR:
|
||||||
return "zicsr";
|
return "zicsr";
|
||||||
case INSN_CLASS_ZIFENCEI:
|
case INSN_CLASS_ZIFENCEI:
|
||||||
|
Reference in New Issue
Block a user