diff options
author | Coby Tayree <coby.tayree@intel.com> | 2017-11-26 09:36:41 +0000 |
---|---|---|
committer | Coby Tayree <coby.tayree@intel.com> | 2017-11-26 09:36:41 +0000 |
commit | a897faafb78649a4c5ad32911f2a7e7174f9cc93 (patch) | |
tree | c1de337a47a16f5eb7000b720d6aace47ad943fd /lib/Target/X86/X86.td | |
parent | 0d7d3a3c3255f9bafe37485d33262aa10ef8f29f (diff) |
[x86][icelake]GFNI
galois field arithmetic (GF(2^8)) insns:
gf2p8affineinvqb
gf2p8affineqb
gf2p8mulb
Differential Revision: https://reviews.llvm.org/D40373
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.td')
-rw-r--r-- | lib/Target/X86/X86.td | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 56a6d57c195..8c1136341de 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -169,6 +169,9 @@ def FeatureBITALG : SubtargetFeature<"avx512bitalg", "HasBITALG", "true", def FeaturePCLMUL : SubtargetFeature<"pclmul", "HasPCLMUL", "true", "Enable packed carry-less multiplication instructions", [FeatureSSE2]>; +def FeatureGFNI : SubtargetFeature<"gfni", "HasGFNI", "true", + "Enable Galois Field Arithmetic Instructions", + [FeatureSSE2]>; def FeatureVPCLMULQDQ : SubtargetFeature<"vpclmulqdq", "HasVPCLMULQDQ", "true", "Enable vpclmulqdq instructions", [FeatureAVX, FeaturePCLMUL]>; @@ -698,8 +701,8 @@ def ICLFeatures : ProcessorFeatures<CNLFeatures.Value, [ FeatureVBMI2, FeatureVNNI, FeatureVPCLMULQDQ, - FeatureVPOPCNTDQ - // TODO: Add GFNI when it is implemented. + FeatureVPOPCNTDQ, + FeatureGFNI ]>; class IcelakeProc<string Name> : ProcModel<Name, SkylakeServerModel, |