mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +00:00
[mips] Delete unused sub-target features.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab9705f8fa
commit
64ed8e97f7
@ -52,10 +52,6 @@ def FeatureSEInReg : SubtargetFeature<"seinreg", "HasSEInReg", "true",
|
||||
"Enable 'signext in register' instructions.">;
|
||||
def FeatureCondMov : SubtargetFeature<"condmov", "HasCondMov", "true",
|
||||
"Enable 'conditional move' instructions.">;
|
||||
def FeatureMulDivAdd : SubtargetFeature<"muldivadd", "HasMulDivAdd", "true",
|
||||
"Enable 'multiply add/sub' instructions.">;
|
||||
def FeatureMinMax : SubtargetFeature<"minmax", "HasMinMax", "true",
|
||||
"Enable 'min/max' instructions.">;
|
||||
def FeatureSwap : SubtargetFeature<"swap", "HasSwap", "true",
|
||||
"Enable 'byte/half swap' instructions.">;
|
||||
def FeatureBitCount : SubtargetFeature<"bitcount", "HasBitCount", "true",
|
||||
|
@ -30,8 +30,8 @@ MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &CPU,
|
||||
MipsGenSubtargetInfo(TT, CPU, FS),
|
||||
MipsArchVersion(Mips32), MipsABI(UnknownABI), IsLittle(little),
|
||||
IsSingleFloat(false), IsFP64bit(false), IsGP64bit(false), HasVFPU(false),
|
||||
IsLinux(true), HasSEInReg(false), HasCondMov(false), HasMulDivAdd(false),
|
||||
HasMinMax(false), HasSwap(false), HasBitCount(false), HasFPIdx(false),
|
||||
IsLinux(true), HasSEInReg(false), HasCondMov(false), HasSwap(false),
|
||||
HasBitCount(false), HasFPIdx(false),
|
||||
InMips16Mode(false), HasDSP(false), HasDSPR2(false), IsAndroid(false)
|
||||
{
|
||||
std::string CPUName = CPU;
|
||||
|
@ -76,13 +76,6 @@ protected:
|
||||
// HasCondMov - Conditional mov (MOVZ, MOVN) instructions.
|
||||
bool HasCondMov;
|
||||
|
||||
// HasMulDivAdd - Multiply add and sub (MADD, MADDu, MSUB, MSUBu)
|
||||
// instructions.
|
||||
bool HasMulDivAdd;
|
||||
|
||||
// HasMinMax - MIN and MAX instructions.
|
||||
bool HasMinMax;
|
||||
|
||||
// HasSwap - Byte and half swap instructions.
|
||||
bool HasSwap;
|
||||
|
||||
@ -149,8 +142,6 @@ public:
|
||||
/// Features related to the presence of specific instructions.
|
||||
bool hasSEInReg() const { return HasSEInReg; }
|
||||
bool hasCondMov() const { return HasCondMov; }
|
||||
bool hasMulDivAdd() const { return HasMulDivAdd; }
|
||||
bool hasMinMax() const { return HasMinMax; }
|
||||
bool hasSwap() const { return HasSwap; }
|
||||
bool hasBitCount() const { return HasBitCount; }
|
||||
bool hasFPIdx() const { return HasFPIdx; }
|
||||
|
Loading…
Reference in New Issue
Block a user