summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsSubtarget.h
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2008-07-09 05:32:22 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2008-07-09 05:32:22 +0000
commit7728f7e890fd326af6948c52092fc9ea4f38c986 (patch)
tree81e5bcd86dd1ec3197496149894cbe309e5193d8 /lib/Target/Mips/MipsSubtarget.h
parentd1f77bf9312e93c62e651a8cdc2cbee68a21f1c1 (diff)
downloadllvm-7728f7e890fd326af6948c52092fc9ea4f38c986.tar.gz
llvm-7728f7e890fd326af6948c52092fc9ea4f38c986.tar.bz2
llvm-7728f7e890fd326af6948c52092fc9ea4f38c986.tar.xz
Fixed features usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.h')
-rw-r--r--lib/Target/Mips/MipsSubtarget.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h
index 2d5f2824e9..281f3bb167 100644
--- a/lib/Target/Mips/MipsSubtarget.h
+++ b/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