diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2015-12-01 10:23:06 +0000 |
---|---|---|
committer | Oliver Stannard <oliver.stannard@arm.com> | 2015-12-01 10:23:06 +0000 |
commit | 8addbf4350a78e767c28533130a56bc23dbd9465 (patch) | |
tree | f8b6a148ea3f5408e4b3bd3a64cd568d92facebd /llvm/lib/Target/ARM/ARMSubtarget.cpp | |
parent | a056935a2fe055c21da3483b13cfde73d02cde02 (diff) | |
download | llvm-8addbf4350a78e767c28533130a56bc23dbd9465.zip llvm-8addbf4350a78e767c28533130a56bc23dbd9465.tar.gz llvm-8addbf4350a78e767c28533130a56bc23dbd9465.tar.bz2 |
[ARM] Add subtarget features for ARMv8.2-A
This adds subtarget features for ARMv8.2-A, which builds on (and
requires the features from) ARMv8.1-A. Most assembler-visible features
of ARMv8.2-A are system instructions, and are all required parts of the
architecture, so just depend on the HasV8_2aOps subtarget feature.
There is also one large, optional feature, which adds 16-bit floating
point versions of all existing floating-point instructions (VFP and
SIMD), this is represented by the FeatureFullFP16 subtarget feature.
Differential Revision: http://reviews.llvm.org/D15036
llvm-svn: 254399
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.cpp b/llvm/lib/Target/ARM/ARMSubtarget.cpp index 9e3cd36..bb6ae28 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.cpp +++ b/llvm/lib/Target/ARM/ARMSubtarget.cpp @@ -112,6 +112,7 @@ void ARMSubtarget::initializeEnvironment() { HasV7Ops = false; HasV8Ops = false; HasV8_1aOps = false; + HasV8_2aOps = false; HasVFPv2 = false; HasVFPv3 = false; HasVFPv4 = false; @@ -130,6 +131,7 @@ void ARMSubtarget::initializeEnvironment() { NoMovt = false; SupportsTailCall = false; HasFP16 = false; + HasFullFP16 = false; HasD16 = false; HasHardwareDivide = false; HasHardwareDivideInARM = false; |