aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorMatthew Wahab <matthew.wahab@arm.com>2015-11-19 09:24:14 +0000
committerMatthew Wahab <matthew.wahab@arm.com>2015-11-19 09:24:14 +0000
commit56a1b672f4b97b10b093f02540dff1c855a69855 (patch)
treeb68e6a272a0d955c6ca1900aac530c04b56dd8db /include/opcode
parentacb787b032ea5a84e8a5e94de0b0bf97523f8b47 (diff)
downloadgdb-56a1b672f4b97b10b093f02540dff1c855a69855.zip
gdb-56a1b672f4b97b10b093f02540dff1c855a69855.tar.gz
gdb-56a1b672f4b97b10b093f02540dff1c855a69855.tar.bz2
[ARM] Add ARMv8.2 architecture feature and command line option.
ARMv8.2 is an architectural extension of ARMv8. This patch adds an architecture feature macro for ARMv8.2 to the binutils ARM target with GAS command line option -march=armv8.2-a. gas/ 2015-11-19 Matthew Wahab <matthew.wahab@arm.com> * config/tc-arm.c (arm_archs): Add "armv8.2-a". * doc/c-arm.texi (-march): Add "armv8.2-a". include/opcode/ 2015-11-19 Matthew Wahab <matthew.wahab@arm.com> * arm.h (ARM_EXT2_V8_2A): New. (ARM_ARCH_V8_2A): New. Change-Id: I9e0f50e3c6cea24e6b87b8b862fd4e1cdcc1052e
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog5
-rw-r--r--include/opcode/arm.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index a4d4673..16feca1 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,5 +1,10 @@
2015-11-19 Matthew Wahab <matthew.wahab@arm.com>
+ * arm.h (ARM_EXT2_V8_2A): New.
+ (ARM_ARCH_V8_2A): New.
+
+2015-11-19 Matthew Wahab <matthew.wahab@arm.com>
+
* aarch64.h (AARCH64_FEATURE_V8_2): New.
(AARCH64_ARCH_V8_2): New.
diff --git a/include/opcode/arm.h b/include/opcode/arm.h
index 41f0564..5e7d683 100644
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -58,6 +58,7 @@
#define ARM_EXT_VIRT 0x80000000 /* Virtualization extensions. */
#define ARM_EXT2_PAN 0x00000001 /* PAN extension. */
+#define ARM_EXT2_V8_2A 0x00000002 /* ARM V8.2A. */
/* Co-processor space extensions. */
#define ARM_CEXT_XSCALE 0x00000001 /* Allow MIA etc. */
@@ -251,6 +252,8 @@
#define ARM_ARCH_V7EM ARM_FEATURE_CORE_LOW (ARM_AEXT_V7EM)
#define ARM_ARCH_V8A ARM_FEATURE_CORE_LOW (ARM_AEXT_V8A)
#define ARM_ARCH_V8_1A ARM_FEATURE_CORE (ARM_AEXT_V8A, ARM_EXT2_PAN)
+#define ARM_ARCH_V8_2A ARM_FEATURE_CORE (ARM_AEXT_V8A, \
+ ARM_EXT2_PAN | ARM_EXT2_V8_2A)
/* Some useful combinations: */
#define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0)