summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZSubtarget.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-21 08:58:08 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-21 08:58:08 +0000
commitd954716e7567282ff6f3d25b4f404bae006eed04 (patch)
tree4d276ce2b09ba0b6a7176c06fa91b841a291a031 /lib/Target/SystemZ/SystemZSubtarget.h
parent099e5328fcfae96b406782d636fe02a4ecad4552 (diff)
downloadllvm-d954716e7567282ff6f3d25b4f404bae006eed04.tar.gz
llvm-d954716e7567282ff6f3d25b4f404bae006eed04.tar.bz2
llvm-d954716e7567282ff6f3d25b4f404bae006eed04.tar.xz
[SystemZ] Add FI[EDX]BRA
These are extensions of the existing FI[EDX]BR instructions, but use a spare bit to suppress inexact conditions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188894 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r--lib/Target/SystemZ/SystemZSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZSubtarget.h b/lib/Target/SystemZ/SystemZSubtarget.h
index 4efb58d097..f321cb258a 100644
--- a/lib/Target/SystemZ/SystemZSubtarget.h
+++ b/lib/Target/SystemZ/SystemZSubtarget.h
@@ -30,6 +30,7 @@ protected:
bool HasDistinctOps;
bool HasLoadStoreOnCond;
bool HasHighWord;
+ bool HasFPExtension;
private:
Triple TargetTriple;
@@ -50,6 +51,9 @@ public:
// Return true if the target has the high-word facility.
bool hasHighWord() const { return HasHighWord; }
+ // Return true if the target has the floating-point extension facility.
+ bool hasFPExtension() const { return HasFPExtension; }
+
// Return true if GV can be accessed using LARL for reloc model RM
// and code model CM.
bool isPC32DBLSymbol(const GlobalValue *GV, Reloc::Model RM,