aboutsummaryrefslogtreecommitdiff
path: root/opcodes/aarch64-tbl.h
diff options
context:
space:
mode:
authorAndrea Corallo <andrea.corallo@arm.com>2023-09-12 11:23:52 +0100
committerAndrea Corallo <andrea.corallo@arm.com>2023-12-19 15:35:49 +0100
commitdb168da2e0d7ea01d0a8ed4bdd0e035e47094fed (patch)
tree3eee402784b784b8f65d91a16c0ea9640cf47d47 /opcodes/aarch64-tbl.h
parent88b5a8ae138f3ace20f63635dbaea437fb17ae78 (diff)
downloadfsf-binutils-gdb-db168da2e0d7ea01d0a8ed4bdd0e035e47094fed.zip
fsf-binutils-gdb-db168da2e0d7ea01d0a8ed4bdd0e035e47094fed.tar.gz
fsf-binutils-gdb-db168da2e0d7ea01d0a8ed4bdd0e035e47094fed.tar.bz2
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+).
Diffstat (limited to 'opcodes/aarch64-tbl.h')
-rw-r--r--opcodes/aarch64-tbl.h4
1 files changed, 4 insertions, 0 deletions
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},
};