mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
Add support for the VSX target attribute. No functional change
as we don't actually use it to emit any code yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75ee00021d
commit
985ce242a7
@ -87,6 +87,8 @@ def FeatureBookE : SubtargetFeature<"booke", "IsBookE", "true",
|
|||||||
"Enable Book E instructions">;
|
"Enable Book E instructions">;
|
||||||
def FeatureQPX : SubtargetFeature<"qpx","HasQPX", "true",
|
def FeatureQPX : SubtargetFeature<"qpx","HasQPX", "true",
|
||||||
"Enable QPX instructions">;
|
"Enable QPX instructions">;
|
||||||
|
def FeatureVSX : SubtargetFeature<"vsx","HasVSX", "true",
|
||||||
|
"Enable VSX instructions">;
|
||||||
|
|
||||||
def DeprecatedMFTB : SubtargetFeature<"", "DeprecatedMFTB", "true",
|
def DeprecatedMFTB : SubtargetFeature<"", "DeprecatedMFTB", "true",
|
||||||
"Treat mftb as deprecated">;
|
"Treat mftb as deprecated">;
|
||||||
|
@ -76,6 +76,7 @@ protected:
|
|||||||
bool IsPPC64;
|
bool IsPPC64;
|
||||||
bool HasAltivec;
|
bool HasAltivec;
|
||||||
bool HasQPX;
|
bool HasQPX;
|
||||||
|
bool HasVSX;
|
||||||
bool HasFCPSGN;
|
bool HasFCPSGN;
|
||||||
bool HasFSQRT;
|
bool HasFSQRT;
|
||||||
bool HasFRE, HasFRES, HasFRSQRTE, HasFRSQRTES;
|
bool HasFRE, HasFRES, HasFRSQRTE, HasFRSQRTES;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user