diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-07-09 05:32:22 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2008-07-09 05:32:22 +0000 |
| commit | bcc2139ba60e2368a8d2f52e8dcba15b0533afa4 (patch) | |
| tree | d0ca417d4df22ee51e16ad046783ed253b94fab0 /llvm/lib/Target/Mips/MipsSubtarget.h | |
| parent | 364661c43e6b6dbe6ca2f01b2aaa031139e02153 (diff) | |
| download | bcm5719-llvm-bcc2139ba60e2368a8d2f52e8dcba15b0533afa4.tar.gz bcm5719-llvm-bcc2139ba60e2368a8d2f52e8dcba15b0533afa4.zip | |
Fixed features usage.
llvm-svn: 53277
Diffstat (limited to 'llvm/lib/Target/Mips/MipsSubtarget.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsSubtarget.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.h b/llvm/lib/Target/Mips/MipsSubtarget.h index 2d5f2824e90..281f3bb1675 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.h +++ b/llvm/lib/Target/Mips/MipsSubtarget.h @@ -27,7 +27,7 @@ class MipsSubtarget : public TargetSubtarget { protected: enum MipsArchEnum { - Mips1, Mips2, Mips3, Mips4, Mips32, Mips32r2 + Mips1, Mips2, Mips3, Mips4, Mips32, Mips32r2, Mips64, Mips64r2 }; enum MipsABIEnum { @@ -54,11 +54,11 @@ protected: // IsFP64bit - General-purpose registers are 64 bits wide bool IsGP64bit; - // HasAllegrexVFPU - Allegrex processor has a vector floating point unit. - bool HasAllegrexVFPU; + // HasVFPU - Processor has a vector floating point unit. + bool HasVFPU; - // IsAllegrex - The target processor is a Allegrex core. - bool IsAllegrex; + // HasSEInReg - Target has SEB and SEH (signext in register) instructions. + bool HasSEInReg; InstrItineraryData InstrItins; @@ -85,8 +85,8 @@ public: bool isGP32bit() const { return !IsGP64bit; }; bool isSingleFloat() const { return IsSingleFloat; }; bool isNotSingleFloat() const { return !IsSingleFloat; }; - bool hasAllegrexVFPU() const { return HasAllegrexVFPU; }; - bool isAllegrex() const { return IsAllegrex; }; + bool hasVFPU() const { return HasVFPU; }; + bool hasSEInReg() const { return HasSEInReg; }; }; } // End llvm namespace |

