[AArch64] Support RAS extension for ARMv8 onwards.

Matthew Wahab matthew.wahab@foss.arm.com
Mon Apr 18 14:54:00 GMT 2016
Hello,

The RAS extension was introduced as part of the ARMv8.2 architecture
where it is a required feature. It is also available 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.

Tested for aarch64-none-linux-gnu with cross-compiled check-binutils
and check-gas. Checked the HTML documentation with Firefox.

Ok for trunk?
Matthew

gas/
2016-04-18  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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-AArch64-Support-RAS-extension-for-ARMv8-onwards.patch
Type: text/x-patch
Size: 13722 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20160418/2e781059/attachment.bin>


More information about the Binutils mailing list