mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -52,10 +52,6 @@ def FeatureSEInReg : SubtargetFeature<"seinreg", "HasSEInReg", "true",
|
|||||||
"Enable 'signext in register' instructions.">;
|
"Enable 'signext in register' instructions.">;
|
||||||
def FeatureCondMov : SubtargetFeature<"condmov", "HasCondMov", "true",
|
def FeatureCondMov : SubtargetFeature<"condmov", "HasCondMov", "true",
|
||||||
"Enable 'conditional move' instructions.">;
|
"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",
|
def FeatureSwap : SubtargetFeature<"swap", "HasSwap", "true",
|
||||||
"Enable 'byte/half swap' instructions.">;
|
"Enable 'byte/half swap' instructions.">;
|
||||||
def FeatureBitCount : SubtargetFeature<"bitcount", "HasBitCount", "true",
|
def FeatureBitCount : SubtargetFeature<"bitcount", "HasBitCount", "true",
|
||||||
|
@@ -30,8 +30,8 @@ MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &CPU,
|
|||||||
MipsGenSubtargetInfo(TT, CPU, FS),
|
MipsGenSubtargetInfo(TT, CPU, FS),
|
||||||
MipsArchVersion(Mips32), MipsABI(UnknownABI), IsLittle(little),
|
MipsArchVersion(Mips32), MipsABI(UnknownABI), IsLittle(little),
|
||||||
IsSingleFloat(false), IsFP64bit(false), IsGP64bit(false), HasVFPU(false),
|
IsSingleFloat(false), IsFP64bit(false), IsGP64bit(false), HasVFPU(false),
|
||||||
IsLinux(true), HasSEInReg(false), HasCondMov(false), HasMulDivAdd(false),
|
IsLinux(true), HasSEInReg(false), HasCondMov(false), HasSwap(false),
|
||||||
HasMinMax(false), HasSwap(false), HasBitCount(false), HasFPIdx(false),
|
HasBitCount(false), HasFPIdx(false),
|
||||||
InMips16Mode(false), HasDSP(false), HasDSPR2(false), IsAndroid(false)
|
InMips16Mode(false), HasDSP(false), HasDSPR2(false), IsAndroid(false)
|
||||||
{
|
{
|
||||||
std::string CPUName = CPU;
|
std::string CPUName = CPU;
|
||||||
|
@@ -76,13 +76,6 @@ protected:
|
|||||||
// HasCondMov - Conditional mov (MOVZ, MOVN) instructions.
|
// HasCondMov - Conditional mov (MOVZ, MOVN) instructions.
|
||||||
bool HasCondMov;
|
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.
|
// HasSwap - Byte and half swap instructions.
|
||||||
bool HasSwap;
|
bool HasSwap;
|
||||||
|
|
||||||
@@ -149,8 +142,6 @@ public:
|
|||||||
/// Features related to the presence of specific instructions.
|
/// Features related to the presence of specific instructions.
|
||||||
bool hasSEInReg() const { return HasSEInReg; }
|
bool hasSEInReg() const { return HasSEInReg; }
|
||||||
bool hasCondMov() const { return HasCondMov; }
|
bool hasCondMov() const { return HasCondMov; }
|
||||||
bool hasMulDivAdd() const { return HasMulDivAdd; }
|
|
||||||
bool hasMinMax() const { return HasMinMax; }
|
|
||||||
bool hasSwap() const { return HasSwap; }
|
bool hasSwap() const { return HasSwap; }
|
||||||
bool hasBitCount() const { return HasBitCount; }
|
bool hasBitCount() const { return HasBitCount; }
|
||||||
bool hasFPIdx() const { return HasFPIdx; }
|
bool hasFPIdx() const { return HasFPIdx; }
|
||||||
|
Reference in New Issue
Block a user