mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-03 14:21:30 +00:00
Add LLVM support for PPC cryptography builtins
Review: http://reviews.llvm.org/D7955 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231285 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -112,6 +112,9 @@ def FeatureVSX : SubtargetFeature<"vsx","HasVSX", "true",
|
||||
def FeatureP8Altivec : SubtargetFeature<"power8-altivec", "HasP8Altivec", "true",
|
||||
"Enable POWER8 Altivec instructions",
|
||||
[FeatureAltivec]>;
|
||||
def FeatureP8Crypto : SubtargetFeature<"crypto", "HasP8Crypto", "true",
|
||||
"Enable POWER8 Crypto instructions",
|
||||
[FeatureP8Altivec]>;
|
||||
def FeatureP8Vector : SubtargetFeature<"power8-vector", "HasP8Vector", "true",
|
||||
"Enable POWER8 vector instructions",
|
||||
[FeatureVSX, FeatureP8Altivec]>;
|
||||
@@ -258,7 +261,7 @@ def ProcessorFeatures {
|
||||
FeatureFRE, FeatureFRES, FeatureFRSQRTE, FeatureFRSQRTES,
|
||||
FeatureRecipPrec, FeatureSTFIWX, FeatureLFIWAX,
|
||||
FeatureFPRND, FeatureFPCVT, FeatureISEL,
|
||||
FeaturePOPCNTD, FeatureCMPB, FeatureLDBRX,
|
||||
FeaturePOPCNTD, FeatureCMPB, FeatureLDBRX, FeatureP8Crypto,
|
||||
Feature64Bit /*, Feature64BitRegs */, FeatureICBT,
|
||||
DeprecatedMFTB, DeprecatedDST];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user