From c58f84d899b58822c57a780161a173f32b4f6abf Mon Sep 17 00:00:00 2001 From: Srinath Parvathaneni Date: Thu, 2 Nov 2023 13:07:29 +0000 Subject: aarch64: Add support for GCSB DSYNC instruction. This patch adds support for Guarded control stack data synchronization instruction (GCSB DSYNC). This instruction is allocated to existing HINT space and uses the HINT number 19 and to match this an entry is added to the aarch64_hint_options array. --- include/opcode/aarch64.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 9d0b553..72d8ec2 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -517,6 +517,7 @@ enum aarch64_opnd AARCH64_OPND_PRFOP, /* Prefetch operation. */ AARCH64_OPND_RPRFMOP, /* Range prefetch operation. */ AARCH64_OPND_BARRIER_PSB, /* Barrier operand for PSB. */ + AARCH64_OPND_BARRIER_GCSB, /* Barrier operand for GCSB. */ AARCH64_OPND_BTI_TARGET, /* BTI {}. */ AARCH64_OPND_SVE_ADDR_RI_S4x16, /* SVE [, #*16]. */ AARCH64_OPND_SVE_ADDR_RI_S4x32, /* SVE [, #*32]. */ @@ -1477,6 +1478,7 @@ struct aarch64_inst /* Defining the HINT #imm values for the aarch64_hint_options. */ #define HINT_OPD_CSYNC 0x11 +#define HINT_OPD_DSYNC 0x13 #define HINT_OPD_C 0x22 #define HINT_OPD_J 0x24 #define HINT_OPD_JC 0x26 -- cgit v1.1