summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>2015-04-09 23:54:37 +0000
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>2015-04-09 23:54:37 +0000
commitc09047916a139ebc07f789bae4c213753906e341 (patch)
treed73938ee7c21f3c8a9a174213da254f90d4c2fba /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent696c88753fe7db17f98b4fd6495bd71702675648 (diff)
downloadbcm5719-llvm-c09047916a139ebc07f789bae4c213753906e341.tar.gz
bcm5719-llvm-c09047916a139ebc07f789bae4c213753906e341.zip
Add LLVM support for remaining integer divide and permute instructions from ISA 2.06
This is the patch corresponding to review: http://reviews.llvm.org/D8406 It adds some missing instructions from ISA 2.06 to the PPC back end. llvm-svn: 234546
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index b4c1bb1dcce..6941be6cf97 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h
@@ -101,6 +101,8 @@ protected:
bool HasFPCVT;
bool HasISEL;
bool HasPOPCNTD;
+ bool HasBPERMD;
+ bool HasExtDiv;
bool HasCMPB;
bool HasLDBRX;
bool IsBookE;
@@ -225,6 +227,8 @@ public:
bool hasMFOCRF() const { return HasMFOCRF; }
bool hasISEL() const { return HasISEL; }
bool hasPOPCNTD() const { return HasPOPCNTD; }
+ bool hasBPERMD() const { return HasBPERMD; }
+ bool hasExtDiv() const { return HasExtDiv; }
bool hasCMPB() const { return HasCMPB; }
bool hasLDBRX() const { return HasLDBRX; }
bool isBookE() const { return IsBookE; }
OpenPOWER on IntegriCloud