mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
[PowerPC] Reduce names from Power8Vector to P8Vector
Per Hal Finkel's review, improving typability of some variable names. llvm-svn: 219514
This commit is contained in:
parent
8eb3f6d6a0
commit
87ba7a67bb
@ -104,10 +104,9 @@ def FeatureQPX : SubtargetFeature<"qpx","HasQPX", "true",
|
||||
def FeatureVSX : SubtargetFeature<"vsx","HasVSX", "true",
|
||||
"Enable VSX instructions",
|
||||
[FeatureAltivec]>;
|
||||
def FeaturePower8Vector : SubtargetFeature<"power8-vector", "HasPower8Vector",
|
||||
"true",
|
||||
"Enable Power8 vector instructions",
|
||||
[FeatureVSX, FeatureAltivec]>;
|
||||
def FeatureP8Vector : SubtargetFeature<"power8-vector", "HasP8Vector", "true",
|
||||
"Enable POWER8 vector instructions",
|
||||
[FeatureVSX, FeatureAltivec]>;
|
||||
|
||||
def DeprecatedMFTB : SubtargetFeature<"", "DeprecatedMFTB", "true",
|
||||
"Treat mftb as deprecated">;
|
||||
|
@ -94,7 +94,7 @@ void PPCSubtarget::initializeEnvironment() {
|
||||
HasSPE = false;
|
||||
HasQPX = false;
|
||||
HasVSX = false;
|
||||
HasPower8Vector = false;
|
||||
HasP8Vector = false;
|
||||
HasFCPSGN = false;
|
||||
HasFSQRT = false;
|
||||
HasFRE = false;
|
||||
@ -158,7 +158,7 @@ void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
|
||||
// issues in those instructions can be addressed.
|
||||
if (IsLittleEndian) {
|
||||
HasVSX = false;
|
||||
HasPower8Vector = false;
|
||||
HasP8Vector = false;
|
||||
}
|
||||
|
||||
// Determine default ABI.
|
||||
|
@ -91,7 +91,7 @@ protected:
|
||||
bool HasSPE;
|
||||
bool HasQPX;
|
||||
bool HasVSX;
|
||||
bool HasPower8Vector;
|
||||
bool HasP8Vector;
|
||||
bool HasFCPSGN;
|
||||
bool HasFSQRT;
|
||||
bool HasFRE, HasFRES, HasFRSQRTE, HasFRSQRTES;
|
||||
@ -216,7 +216,7 @@ public:
|
||||
bool hasSPE() const { return HasSPE; }
|
||||
bool hasQPX() const { return HasQPX; }
|
||||
bool hasVSX() const { return HasVSX; }
|
||||
bool hasPower8Vector() const { return HasPower8Vector; }
|
||||
bool hasP8Vector() const { return HasP8Vector; }
|
||||
bool hasMFOCRF() const { return HasMFOCRF; }
|
||||
bool hasISEL() const { return HasISEL; }
|
||||
bool hasPOPCNTD() const { return HasPOPCNTD; }
|
||||
|
Loading…
Reference in New Issue
Block a user