From af117b3cf1877da805d081b93f606f3dd8153502 Mon Sep 17 00:00:00 2001 From: Matthew Wahab Date: Thu, 10 Dec 2015 13:58:21 +0000 Subject: [AArch64] Fix ARMv8.1 and ARMv8.2 feature settings. ARMv8.1 includes CRC as a required extension but this isn't reflected in the features enabled by -march=armv8.1-a. The FP16 feature modifier also clashes with AARCH64_FEATURE_V8_1 and the list of features for ARMv8.2 is missing ARMv8.1 features. This patch enables +crc for -march values of armv8.1-a and later. It also fixes the values for AARCH64_FEATURE_F16 and makes AARCH64_ARCH_V8_2 and superset of AARCH64_ARCH_V8_2. gas/ 2015-12-10 Matthew Wahab * doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc. include/opcode 2015-12-10 Matthew Wahab * aarch64.h (AARCH64_FEATURE_F16): Fix clash with AARCH64_FEATURE_V8_1. (AARCH64_ARCH_V8_1): Add AARCH64_FEATURE_CRC. (AARCH64_ARCH_V8_2): Add AARCH64_FEATURE_CRC and AARCH64_FEATURE_V8_1. Change-Id: I8af5369f6df2430b28f6cec92870d2a4d14a7431 --- gas/ChangeLog | 4 ++++ gas/doc/c-aarch64.texi | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 63014ee..153c693 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2015-12-10 Matthew Wahab + + * doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc. + 2015-12-10 Andrew Burgess * config/tc-arc.c (md_parse_option): Return 1 in order to accept diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 2717af2..363366a 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -128,7 +128,7 @@ automatically cause those extensions to be disabled. @multitable @columnfractions .12 .17 .17 .54 @headitem Extension @tab Minimum Architecture @tab Enabled by default @tab Description -@item @code{crc} @tab ARMv8-A @tab No +@item @code{crc} @tab ARMv8-A @tab ARMv8.1-A or later @tab Enable CRC instructions. @item @code{crypto} @tab ARMv8-A @tab No @tab Enable cryptographic extensions. This implies @code{fp} and @code{simd}. -- cgit v1.1