diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-06-27 11:49:26 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-06-27 11:49:26 +0000 |
commit | b1b0dd875801ab9302c8652b4cc82aa3ccbff578 (patch) | |
tree | 1b57cc4025f86103becda7d5ea2e80f8a1baae60 /llvm/lib/Target/ARM/ARMSubtarget.h | |
parent | 8da6468a34f4e8caf7c92f1a486a226b8762a16d (diff) | |
download | bcm5719-llvm-b1b0dd875801ab9302c8652b4cc82aa3ccbff578.tar.gz bcm5719-llvm-b1b0dd875801ab9302c8652b4cc82aa3ccbff578.zip |
Add a Subtarget feature 'v8fp' to the ARM backend.
llvm-svn: 185073
Diffstat (limited to 'llvm/lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | llvm/lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMSubtarget.h b/llvm/lib/Target/ARM/ARMSubtarget.h index ad9c0d042e0..def6fbb1ca6 100644 --- a/llvm/lib/Target/ARM/ARMSubtarget.h +++ b/llvm/lib/Target/ARM/ARMSubtarget.h @@ -48,11 +48,12 @@ protected: bool HasV7Ops; bool HasV8Ops; - /// HasVFPv2, HasVFPv3, HasVFPv4, HasNEON - Specify what + /// HasVFPv2, HasVFPv3, HasVFPv4, HasV8FP, HasNEON - Specify what /// floating point ISAs are supported. bool HasVFPv2; bool HasVFPv3; bool HasVFPv4; + bool HasV8FP; bool HasNEON; /// UseNEONForSinglePrecisionFP - if the NEONFP attribute has been @@ -249,6 +250,7 @@ public: bool hasVFP2() const { return HasVFPv2; } bool hasVFP3() const { return HasVFPv3; } bool hasVFP4() const { return HasVFPv4; } + bool hasV8FP() const { return HasV8FP; } bool hasNEON() const { return HasNEON; } bool useNEONForSinglePrecisionFP() const { return hasNEON() && UseNEONForSinglePrecisionFP; } |