diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-08-07 12:18:21 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-08-07 12:18:21 +0000 |
commit | 39f095ae5adfbca11be43ff7a1ec29164808f5e0 (patch) | |
tree | 00b685d788f069cb1e6d71ce612501dee2ca11a3 /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | 7151ad776243f7d4f017cc2d45c69dfc20560320 (diff) | |
download | bcm5719-llvm-39f095ae5adfbca11be43ff7a1ec29164808f5e0.tar.gz bcm5719-llvm-39f095ae5adfbca11be43ff7a1ec29164808f5e0.zip |
Add first bunch of SPE instructions. As they overlap with Altivec, mark
them as parser-only until the disassembler is extended to handle
predicates properly.
llvm-svn: 215102
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 7b3bd446a69..374962de427 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -83,6 +83,7 @@ protected: bool UseCRBits; bool IsPPC64; bool HasAltivec; + bool HasSPE; bool HasQPX; bool HasVSX; bool HasFCPSGN; @@ -225,6 +226,7 @@ public: bool hasFPRND() const { return HasFPRND; } bool hasFPCVT() const { return HasFPCVT; } bool hasAltivec() const { return HasAltivec; } + bool hasSPE() const { return HasSPE; } bool hasQPX() const { return HasQPX; } bool hasVSX() const { return HasVSX; } bool hasMFOCRF() const { return HasMFOCRF; } |