[ARM] Correct ARMv8*-A optional extension definitions in TargetParser
authorRichard Barton <richard.barton@arm.com>
Thu, 18 Aug 2016 15:50:11 +0000 (15:50 +0000)
committerRichard Barton <richard.barton@arm.com>
Thu, 18 Aug 2016 15:50:11 +0000 (15:50 +0000)
commit5808bd656a1bdc2423f41884f0c226d8c98d81ff
tree5e2eb523ca25cb2431ea8ac23f7442009a5cbd9b
parent6347807f87c9f153b0bc48b653cb2078dc76a24f
[ARM] Correct ARMv8*-A optional extension definitions in TargetParser

The ARMv8*-A descriptions in the ARM and AArch64 TargetParsers are incorrect
architecturally and mismatched to the backend descriptions.

RAS is an optional extension to ARMv8-A and ARMv8.1-A and mandatory in
ARMv8.2-A. Correct the ARMTargetParser descriptions which had this as enabled
by default in the earlier versions.

The FP16 and SPE extensions are optional in ARMv8.2-A and the backend defaults
them as off. They are not available as extensions to earlier ARMv8-A versions.
Correct the AArch64TargetParser which had these as enabled by default in all
ARMv8-A definitions.

These macros are only used to define preprocessor macros. There are no macros
yet as ACLE has not caught up with ARMv8.2-A so not possible to add a test.

Differential Revision: https://reviews.llvm.org/D23500

llvm-svn: 279078
llvm/include/llvm/Support/AArch64TargetParser.def
llvm/include/llvm/Support/ARMTargetParser.def