[AArch64][libopcode] Add support for PAN architecture extension
[deliverable/binutils-gdb.git] / include / opcode / aarch64.h
index 7130d2dd0c6e94b9f3e0714458db991503e139cf..8df82a1a44b0f37f0d68622a24edfd88ad6bcb55 100644 (file)
@@ -39,6 +39,7 @@ typedef uint32_t aarch64_insn;
 #define AARCH64_FEATURE_SIMD   0x00040000      /* SIMD instructions.  */
 #define AARCH64_FEATURE_CRC    0x00080000      /* CRC instructions.  */
 #define AARCH64_FEATURE_LSE    0x00100000      /* LSE instructions.  */
+#define AARCH64_FEATURE_PAN    0x00200000      /* PAN instructions.  */
 
 /* Architectures are the sum of the base and extensions.  */
 #define AARCH64_ARCH_V8                AARCH64_FEATURE (AARCH64_FEATURE_V8, \
@@ -629,6 +630,10 @@ typedef struct
 extern const aarch64_sys_reg aarch64_sys_regs [];
 extern const aarch64_sys_reg aarch64_pstatefields [];
 extern bfd_boolean aarch64_sys_reg_deprecated_p (const aarch64_sys_reg *);
+extern bfd_boolean aarch64_sys_reg_supported_p (const aarch64_feature_set,
+                                               const aarch64_sys_reg *);
+extern bfd_boolean aarch64_pstatefield_supported_p (const aarch64_feature_set,
+                                                   const aarch64_sys_reg *);
 
 typedef struct
 {
This page took 0.023569 seconds and 4 git commands to generate.