aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2023-10-19 00:58:36 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2023-10-19 01:06:34 +0000
commit6f85247eec616650608b48c4393f7b93006037d0 (patch)
tree692605c0f8c6220f72a71932da68360c5e4c32dd /include
parente734b3e980d8a30ea23b5640d871b59d33720ecf (diff)
downloadgdb-6f85247eec616650608b48c4393f7b93006037d0.zip
gdb-6f85247eec616650608b48c4393f7b93006037d0.tar.gz
gdb-6f85247eec616650608b48c4393f7b93006037d0.tar.bz2
RISC-V: Remove semicolons from DECLARE_INSN
This is for consistency and to prevent possible unnecessary errors due to this inconsistency. include/ChangeLog: * opcode/riscv-opc.h (DECLARE_INSN): Remove semicolons from the end of each entry.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/riscv-opc.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/include/opcode/riscv-opc.h b/include/opcode/riscv-opc.h
index 1f1aa1d..3754835 100644
--- a/include/opcode/riscv-opc.h
+++ b/include/opcode/riscv-opc.h
@@ -3350,26 +3350,26 @@ 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);
+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);
+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)
/* Zicond instructions. */
DECLARE_INSN(czero_eqz, MATCH_CZERO_EQZ, MASK_CZERO_EQZ)
DECLARE_INSN(czero_nez, MATCH_CZERO_NEZ, MASK_CZERO_NEZ)
/* Zihintntl hint instructions. */
-DECLARE_INSN(ntl_p1, MATCH_NTL_P1, MASK_NTL_P1);
-DECLARE_INSN(ntl_pall, MATCH_NTL_PALL, MASK_NTL_PALL);
-DECLARE_INSN(ntl_s1, MATCH_NTL_S1, MASK_NTL_S1);
-DECLARE_INSN(ntl_all, MATCH_NTL_ALL, MASK_NTL_ALL);
-DECLARE_INSN(c_ntl_p1, MATCH_C_NTL_P1, MASK_C_NTL_P1);
-DECLARE_INSN(c_ntl_pall, MATCH_C_NTL_PALL, MASK_C_NTL_PALL);
-DECLARE_INSN(c_ntl_s1, MATCH_C_NTL_S1, MASK_C_NTL_S1);
-DECLARE_INSN(c_ntl_all, MATCH_C_NTL_ALL, MASK_C_NTL_ALL);
+DECLARE_INSN(ntl_p1, MATCH_NTL_P1, MASK_NTL_P1)
+DECLARE_INSN(ntl_pall, MATCH_NTL_PALL, MASK_NTL_PALL)
+DECLARE_INSN(ntl_s1, MATCH_NTL_S1, MASK_NTL_S1)
+DECLARE_INSN(ntl_all, MATCH_NTL_ALL, MASK_NTL_ALL)
+DECLARE_INSN(c_ntl_p1, MATCH_C_NTL_P1, MASK_C_NTL_P1)
+DECLARE_INSN(c_ntl_pall, MATCH_C_NTL_PALL, MASK_C_NTL_PALL)
+DECLARE_INSN(c_ntl_s1, MATCH_C_NTL_S1, MASK_C_NTL_S1)
+DECLARE_INSN(c_ntl_all, MATCH_C_NTL_ALL, MASK_C_NTL_ALL)
/* Zawrs instructions. */
DECLARE_INSN(wrs_nto, MATCH_WRS_NTO, MASK_WRS_NTO)
DECLARE_INSN(wrs_sto, MATCH_WRS_STO, MASK_WRS_STO)