From db168da2e0d7ea01d0a8ed4bdd0e035e47094fed Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Tue, 12 Sep 2023 11:23:52 +0100 Subject: aarch64: Add FEAT_ECBHB support This patch add support for FEAT_ECBHB "Exploitative control using branch history information" adding the "clrbhb" instruction. AFAIU the same alias was originally added as "clearbhb" before the architecture was finalized (Mandatory v8.9-a/v9.4-a; Optional v8.0-a+/v9.0-a+). --- opcodes/aarch64-tbl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'opcodes/aarch64-tbl.h') diff --git a/opcodes/aarch64-tbl.h b/opcodes/aarch64-tbl.h index 4ef28be..6734794 100644 --- a/opcodes/aarch64-tbl.h +++ b/opcodes/aarch64-tbl.h @@ -6113,6 +6113,10 @@ const struct aarch64_opcode aarch64_opcode_table[] = CSSC_INSN ("smin", 0x1ac06800, 0x7fe0fc00, OP3 (Rd, Rn, Rm), QL_I3SAMER, F_SF), CSSC_INSN ("umin", 0x1ac06c00, 0x7fe0fc00, OP3 (Rd, Rn, Rm), QL_I3SAMER, F_SF), + /* FEAT_CLRBHB part of the hint space and available without special + command-line flags. */ + CORE_INSN ("clrbhb", 0xd50322df, 0xffffffff, ic_system, 0, OP0 (), {}, F_ALIAS), + {0, 0, 0, 0, 0, 0, {}, {}, 0, 0, 0, NULL}, }; -- cgit v1.1