]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64] Fix ARMv8.1 and ARMv8.2 feature settings.
authorMatthew Wahab <matthew.wahab@arm.com>
Thu, 10 Dec 2015 13:58:21 +0000 (13:58 +0000)
committerMatthew Wahab <matthew.wahab@arm.com>
Mon, 14 Dec 2015 13:35:36 +0000 (13:35 +0000)
commit9fcdf5ec503b82b793cf8c5df486af7c6de1e722
tree351faee8e8a2be0449a7b3f76ca66dda3be2a909
parentd9154dc51838f5c8271929a5c8722b54c28822cc
[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  <matthew.wahab@arm.com>

* doc/c-aarch64.texi (AArch64 Extensions): Update entry for crc.

include/opcode
2015-12-10  Matthew Wahab  <matthew.wahab@arm.com>

* 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
gas/doc/c-aarch64.texi
include/opcode/ChangeLog
include/opcode/aarch64.h