[Aarch64] Add support for ARMv8.1 command line options.

Matthew Wahab matthew.wahab@arm.com
Thu Jun 4 09:19:00 GMT 2015


ARMv8.1 is a set of optional architectural extensions to ARMv8. Support, added
by other patches, is enabled in binutils for ARMv8.1 and for the individual
extensions by using architechure name "armv8.1-a" or by adding the extension
name to "armv8-a".

This patch adds support to gcc for using "armv8.1-a" as an architecture name and
for using "armv8-a" with one or more of the ARMv8.1 extension names "lse",
"pan", "rdma" or "lor" . The new options are passed through to the toolchain and
don't affect code generation in gcc.

Tested aarch64-none-linux-gnu with check-gcc.

Ok for trunk?
Matthew

gcc/
2015-06-4  Matthew Wahab  <matthew.wahab@arm.com>

	* config/aarch64/aarch64-arches.def: Add "armv8.1-a".
	* config/aarch64/aarch64-options-extensions.def: Update "fP",
	"simd" and "crypto".  Add "lse", "pan", "lor" and "rdma".
	* gcc/config/aarch64/aarch64.h (AARCH64_FL_LSE): New.
	(AARCH64_FL_PAN): New.
	(AARCH64_FL_LOR): New.
	(AARCH64_FL_RDMA): New.
	(AARCH64_FL_FOR_ARCH8_1): New.
	* doc/invoke.texi (AArch64 Options): Add "armv8.1-a" to
	-march. Add "lse", "pan", "lor", "rdma" to feature modifiers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc_armv8.1-a.patch
Type: text/x-patch
Size: 4502 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150604/98e5b095/attachment.bin>


More information about the Gcc-patches mailing list