diff options
author | Matthew Wahab <matthew.wahab@arm.com> | 2016-06-07 09:56:42 +0100 |
---|---|---|
committer | Matthew Wahab <matthew.wahab@arm.com> | 2016-06-07 09:56:42 +0100 |
commit | 4d1464f294405a064d84e3d4f15c1ceff3639add (patch) | |
tree | f518e972a16d636ea236f7c3a78a85a995618c45 /opcodes | |
parent | e5f5f1fc4982db8f1d4859b91a4caf4caef2e127 (diff) | |
download | gdb-4d1464f294405a064d84e3d4f15c1ceff3639add.zip gdb-4d1464f294405a064d84e3d4f15c1ceff3639add.tar.gz gdb-4d1464f294405a064d84e3d4f15c1ceff3639add.tar.bz2 |
[ARM] Add command line option for RAS extension.
This patch adds the architecture extension "+ras" to enable RAS
support. It is enabled by default for -march=armv8.2-a and available but
disabled by default for armv8-a and armv8.1-a.
gas/
* config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
(arm_ext_ras): Renamed from arm_ext_v8_2.
(insns): Update for arm_ext_v8_2 renaming.
(arm_extensions): Add "ras".
* doc/c-arm.texi (ARM Options): Add an entry for "ras".
* testsuite/gas/arm/armv8-a+ras.d: New.
* testsuite/gas/arm/armv8_2-a.d: Add explicit command line
options.
include/
* opcode/arm.h (ARM_EXT2_RAS): New. Also align preceding
entries.
(ARM_AEXT_V8_2A): Add ARM_EXT2_RAS.
opcodes/
* arm-dis.c (arm_opcodes): Replace ARM_EXT_V8_2A with
ARM_EXT_RAS in relevant entries.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4ebd592..04757f6 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2016-06-07 Matthew Wahab <matthew.wahab@arm.com> + + * arm-dis.c (arm_opcodes): Replace ARM_EXT_V8_2A with + ARM_EXT_RAS in relevant entries. + 2016-06-03 Peter Bergner <bergner@vnet.ibm.com> PR binutils/20196 diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 6889815..40136e5 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -1727,7 +1727,7 @@ static const struct opcode32 arm_opcodes[] = "%22?sumlal%20's%c\t%12-15Ru, %16-19Ru, %0-3R, %8-11R"}, /* V8.2 RAS extension instructions. */ - {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_2A), + {ARM_FEATURE_CORE_HIGH (ARM_EXT2_RAS), 0xe320f010, 0xffffffff, "esb"}, /* V8 instructions. */ @@ -2696,7 +2696,7 @@ static const struct opcode32 thumb32_opcodes[] = 0xe840f0c0, 0xfff0f0ff, "ttat\t%8-11r, %16-19r"}, /* ARM V8.2 RAS extension instructions. */ - {ARM_FEATURE_CORE_HIGH (ARM_EXT2_V8_2A), + {ARM_FEATURE_CORE_HIGH (ARM_EXT2_RAS), 0xf3af8010, 0xffffffff, "esb"}, /* V8 instructions. */ |