diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-01-30 21:17:42 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-01-30 21:17:42 +0000 |
commit | efb305e54c9290397b656ec978f526f7ba27b3a0 (patch) | |
tree | 966fc7bffadd4f430103f5da6148b355da120c1f /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | 0b85ba7d9e61a49425f3bea012ef8295d9d83e31 (diff) | |
download | bcm5719-llvm-efb305e54c9290397b656ec978f526f7ba27b3a0.tar.gz bcm5719-llvm-efb305e54c9290397b656ec978f526f7ba27b3a0.zip |
Add definitions for the PPC a2q core marked as having QPX available
This is the first commit of a large series which will add support for the
QPX vector instruction set to the PowerPC backend. This instruction set is
used on the IBM Blue Gene/Q supercomputers.
llvm-svn: 173973
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index 3ddae6371a1..28f85874293 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -70,6 +70,7 @@ protected: bool Use64BitRegs; bool IsPPC64; bool HasAltivec; + bool HasQPX; bool HasFSQRT; bool HasSTFIWX; bool HasISEL; @@ -150,6 +151,7 @@ public: bool hasFSQRT() const { return HasFSQRT; } bool hasSTFIWX() const { return HasSTFIWX; } bool hasAltivec() const { return HasAltivec; } + bool hasQPX() const { return HasQPX; } bool hasMFOCRF() const { return HasMFOCRF; } bool hasISEL() const { return HasISEL; } bool isBookE() const { return IsBookE; } |