aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-06-04 11:14:07 +0100
committerJiong Wang <jiong.wang@arm.com>2015-06-04 11:14:07 +0100
commit88f0ea342dc6eb3d93a29895febdebe3e425a048 (patch)
tree9a5b4a7df20206520b19ffe2e2281b623d3448f3 /include
parentb968d18a6d3df13b92c98e813f3d2fb3bbd3d4ee (diff)
downloadgdb-88f0ea342dc6eb3d93a29895febdebe3e425a048.zip
gdb-88f0ea342dc6eb3d93a29895febdebe3e425a048.tar.gz
gdb-88f0ea342dc6eb3d93a29895febdebe3e425a048.tar.bz2
[AArch64] Add support for ARMv8.1 command line option
Diffstat (limited to 'include')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/aarch64.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 8a57fac..0caabd5 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2015-06-04 Matthew Wahab <matthew.wahab@arm.com>
+
+ * aarch64.h (AARCH64_V8_1): New.
+
2015-06-03 Matthew Wahab <matthew.wahab@arm.com>
* arm.h (FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_1): New.
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index c47f9dd..dcf0fef 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -47,6 +47,15 @@ typedef uint32_t aarch64_insn;
#define AARCH64_ARCH_V8 AARCH64_FEATURE (AARCH64_FEATURE_V8, \
AARCH64_FEATURE_FP \
| AARCH64_FEATURE_SIMD)
+#define AARCH64_ARCH_V8_1 AARCH64_FEATURE (AARCH64_FEATURE_V8, \
+ AARCH64_FEATURE_FP \
+ | AARCH64_FEATURE_SIMD \
+ | AARCH64_FEATURE_LSE \
+ | AARCH64_FEATURE_PAN \
+ | AARCH64_FEATURE_LOR \
+ | AARCH64_FEATURE_RDMA)
+
+
#define AARCH64_ARCH_NONE AARCH64_FEATURE (0, 0)
#define AARCH64_ANY AARCH64_FEATURE (-1, 0) /* Any basic core. */