[PATCH 2/2][Aarch64][gas] Add support for PAN architecture extension.

Matthew Wahab matthew.wahab@arm.com
Wed May 20 12:18:00 GMT 2015


The ARMv8.1 architecture introduced the Privileged Access Never extension. This
adds a processor state field PSTATE.PAN which can be accessed using the MRS/MSR
instructions.

This patch adds support and tests for the PAN architecture feature and processor
state field to GAS under a new aarch64 extension "pan".

Tested for aarch64-none-linux-gnu with check-binutils and check-gas with no
failures. Tested html documentation in browser.

Ok for trunk?
Matthew

gas/
2015-05-20  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-aarch64.c (parse_sys_reg): New parameter.  Check
	target support.  Fix whitespace.
	(parse_operands): Update for parse_sys_reg changes.
	(aarch64_features): Add "pan".
	* doc/c-aarch64.texi (Aarch64 Extensions): Add "pan".

gas/testsuite
2015-05-20  Matthew Wahab  <matthew.wahab@arm.com>

	* pan-directive.d: New.
	* pan.d: New.
	* pan.s: New
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-gas-support-for-PAN-extension.patch
Type: text/x-patch
Size: 6053 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150520/47969bfe/attachment.bin>


More information about the Binutils mailing list