mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Add support for the VSX target attribute. No functional change
as we don't actually use it to emit any code yet. llvm-svn: 192837
This commit is contained in:
parent
4774eee88b
commit
25d167bd58
@ -87,6 +87,8 @@ def FeatureBookE : SubtargetFeature<"booke", "IsBookE", "true",
|
||||
"Enable Book E instructions">;
|
||||
def FeatureQPX : SubtargetFeature<"qpx","HasQPX", "true",
|
||||
"Enable QPX instructions">;
|
||||
def FeatureVSX : SubtargetFeature<"vsx","HasVSX", "true",
|
||||
"Enable VSX instructions">;
|
||||
|
||||
def DeprecatedMFTB : SubtargetFeature<"", "DeprecatedMFTB", "true",
|
||||
"Treat mftb as deprecated">;
|
||||
|
@ -76,6 +76,7 @@ protected:
|
||||
bool IsPPC64;
|
||||
bool HasAltivec;
|
||||
bool HasQPX;
|
||||
bool HasVSX;
|
||||
bool HasFCPSGN;
|
||||
bool HasFSQRT;
|
||||
bool HasFRE, HasFRES, HasFRSQRTE, HasFRSQRTES;
|
||||
|
Loading…
Reference in New Issue
Block a user