[AArch64] Support RAS extension for ARMv8 onwards.
authorMatthew Wahab <matthew.wahab@arm.com>
Wed, 20 Apr 2016 08:31:49 +0000 (09:31 +0100)
committerMatthew Wahab <matthew.wahab@arm.com>
Wed, 20 Apr 2016 08:31:49 +0000 (09:31 +0100)
commit50cc854c48e79d9b8a2c55c117918d6a719bea38
tree79f5f25f2936ba4594c08a7475bede0e0b2cf19a
parent87d455c042d2236b2afb1d6e13f337df36256bb0
[AArch64] Support RAS extension for ARMv8 onwards.

The RAS extension was introduced as part of the ARMv8.2 architecture
where it is a required feature. It is also available as an optional
feature for ARMv8 and ARMv8.1. In binutils, the RAS extension is
currently enabled by default for -march=armv8.2-a but is not available
for -march=armv8 or -march=armv8.1-a.

This patch adds the feature extension '+ras' to enable the RAS extension
for ARMv8 and ARMv8.1, it is disabled by default.

gas/
2016-04-20  Matthew Wahab  <matthew.wahab@arm.com>

* config/tc-aarch64.c (aarch64_features): Add "ras".
* doc/c-aarch64.texi (AArch64 Extensions): Add "ras".
* testsuite/gas/aarch64/armv8-ras-1.d: New.
* testsuite/gas/aarch64/armv8-ras-1.s: New.
* testsuite/gas/aarch64/illegal-ras-1.d: New.
* testsuite/gas/aarch64/illegal-ras-1.s: New.

Change-Id: I824fb9bc8cf846bcc03aa17a726efb1350d78b9d
gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi
gas/testsuite/gas/aarch64/armv8-ras-1.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/armv8-ras-1.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-ras-1.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-ras-1.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-ras-1.s [new file with mode: 0644]