diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2016-11-28 14:01:51 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2016-11-28 14:01:51 +0000 |
commit | 84404f30b311e7943ff4997a11fb0602207392fc (patch) | |
tree | 9db0ac9265ebefea23d0709e5ba0a5d48e7a4821 /llvm/lib/Target/SystemZ/SystemZSubtarget.h | |
parent | 2d9e3d9d3bb8a6414fc9469f9525084a5d4b3195 (diff) | |
download | bcm5719-llvm-84404f30b311e7943ff4997a11fb0602207392fc.tar.gz bcm5719-llvm-84404f30b311e7943ff4997a11fb0602207392fc.zip |
[SystemZ] Support execution hint instructions
This adds assembler support for the instructions provided by the
execution-hint facility (NIAI and BP(R)P). This required adding
support for the new relocation types for 12-bit and 24-bit PC-
relative offsets used by the BP(R)P instructions.
llvm-svn: 288031
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSubtarget.h b/llvm/lib/Target/SystemZ/SystemZSubtarget.h index 8475e2edaf2..cdb61327a16 100644 --- a/llvm/lib/Target/SystemZ/SystemZSubtarget.h +++ b/llvm/lib/Target/SystemZ/SystemZSubtarget.h @@ -42,6 +42,7 @@ protected: bool HasFastSerialization; bool HasInterlockedAccess1; bool HasMiscellaneousExtensions; + bool HasExecutionHint; bool HasLoadAndTrap; bool HasTransactionalExecution; bool HasProcessorAssist; @@ -114,6 +115,9 @@ public: return HasMiscellaneousExtensions; } + // Return true if the target has the execution-hint facility. + bool hasExecutionHint() const { return HasExecutionHint; } + // Return true if the target has the load-and-trap facility. bool hasLoadAndTrap() const { return HasLoadAndTrap; } |