[PATCH 2/2][ARM][gas] Add support for ARMv8.1 PAN extension.

Matthew Wahab matthew.wahab@arm.com
Thu May 21 09:11:00 GMT 2015


The ARMv8.1 architecture introduces the Aarch32 Privileged Access Never
extension. This adds a new instruction SETPAN, with ARM and Thumb encodings to
write to a new CPSR.PAN bit.

This patch adds support to GAS for the new instructions under a new ARM
extension "pan".

Tested for arm-none-linux-gnueabihf with check-binutils and check-gas.

Ok for trunk?
Matthew

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

	* config/tc-arm.c (arm_ext_pan): New.
	(do_setpan): New, encode an ARM SETPAN instruction.
	(do_t_setpan): New, encode a Thumb SETPAN instruction.
	(insns): Add "setpan".
	(arm_extensions): Add "pan".
	* doc/c-arm.texi (ARM Options): Add "pan" to list of -mcpu
	processor extensions.

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

	* gas/arm/armv8-a+pan.d: New.
	gas/arm/armv8-a+pan.s: New.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ARM-gas-Add-support-for-PAN-extension.patch
Type: text/x-patch
Size: 3668 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150521/6da5e0cf/attachment.bin>


More information about the Binutils mailing list