diff options
author | Christoph Muellner <cmuellner@gcc.gnu.org> | 2022-04-22 00:31:27 +0200 |
---|---|---|
committer | Nelson Chu <nelson.chu@sifive.com> | 2022-04-22 09:31:02 +0800 |
commit | 77e99ad92f1a5855a2a3c1a8b9f484b6beb5bdd3 (patch) | |
tree | 1df1aa02d11f1750e892bbfb0147acfe593c5b36 /include | |
parent | 61eabc63f95ac51a0dce51746130c67b903ca3ab (diff) | |
download | binutils-77e99ad92f1a5855a2a3c1a8b9f484b6beb5bdd3.zip binutils-77e99ad92f1a5855a2a3c1a8b9f484b6beb5bdd3.tar.gz binutils-77e99ad92f1a5855a2a3c1a8b9f484b6beb5bdd3.tar.bz2 |
RISC-V: Add missing DECLARE_INSNs for Zicbo{m,p,z}
The recently added support for the Zicbo{m,p,z} extensions did not
include DECLARE_INSN() declarations for the instructions.
These declarations are needed by GDB's instruction detection code.
This patch adds them.
Signed-off-by: Christoph Muellner <cmuellner@gcc.gnu.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/riscv-opc.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h index 3eea33a..15e405b 100644 --- a/include/opcode/riscv-opc.h +++ b/include/opcode/riscv-opc.h @@ -2720,6 +2720,15 @@ DECLARE_INSN(hsv_b, MATCH_HSV_B, MASK_HSV_B) DECLARE_INSN(hsv_h, MATCH_HSV_H, MASK_HSV_H) DECLARE_INSN(hsv_w, MATCH_HSV_W, MASK_HSV_W) DECLARE_INSN(hsv_d, MATCH_HSV_D, MASK_HSV_D) +/* Zicbop instructions. */ +DECLARE_INSN(prefetch_r, MATCH_PREFETCH_R, MASK_PREFETCH_R); +DECLARE_INSN(prefetch_w, MATCH_PREFETCH_W, MASK_PREFETCH_W); +DECLARE_INSN(prefetch_i, MATCH_PREFETCH_I, MASK_PREFETCH_I); +/* Zicbom/Zicboz instructions. */ +DECLARE_INSN(cbo_clean, MATCH_CBO_CLEAN, MASK_CBO_CLEAN); +DECLARE_INSN(cbo_flush, MATCH_CBO_FLUSH, MASK_CBO_FLUSH); +DECLARE_INSN(cbo_inval, MATCH_CBO_INVAL, MASK_CBO_INVAL); +DECLARE_INSN(cbo_zero, MATCH_CBO_ZERO, MASK_CBO_ZERO); #endif /* DECLARE_INSN */ #ifdef DECLARE_CSR /* Unprivileged Counter/Timers CSRs. */ |