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 | 31d2f08f8893f38d2d7293195f3707edfefbeeb6 (patch) | |
tree | 40d6c4859d1d70ac391421b5f235fc4f7138f45a /lib/Target/ARM/ARMSubtarget.h | |
parent | 88d93a7cc4546439c82490db20c71b4b702dcc7a (diff) | |
download | llvm-31d2f08f8893f38d2d7293195f3707edfefbeeb6.tar.gz llvm-31d2f08f8893f38d2d7293195f3707edfefbeeb6.tar.bz2 llvm-31d2f08f8893f38d2d7293195f3707edfefbeeb6.tar.xz |
Add a Subtarget feature 'v8fp' to the ARM backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMSubtarget.h')
-rw-r--r-- | lib/Target/ARM/ARMSubtarget.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMSubtarget.h b/lib/Target/ARM/ARMSubtarget.h index ad9c0d042e..def6fbb1ca 100644 --- a/lib/Target/ARM/ARMSubtarget.h +++ b/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; } |