Declare CLMUL as a subtarget feature
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 23 Jul 2010 01:22:45 +0000 (01:22 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 23 Jul 2010 01:22:45 +0000 (01:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109207 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86.td

index ba41078c788aa214809192d7bc518614b5540303..fcb4e362694391ddea9a8b3023f3b999ebce0463 100644 (file)
@@ -67,6 +67,8 @@ def FeatureSSE4A   : SubtargetFeature<"sse4a", "HasSSE4A", "true",
 
 def FeatureAVX     : SubtargetFeature<"avx", "HasAVX", "true",
                                       "Enable AVX instructions">;
+def FeatureCLMUL   : SubtargetFeature<"clmul", "HasCLMUL", "true",
+                               "Enable carry-less multiplication instructions">;
 def FeatureFMA3    : SubtargetFeature<"fma3", "HasFMA3", "true",
                                      "Enable three-operand fused multiple-add">;
 def FeatureFMA4    : SubtargetFeature<"fma4", "HasFMA4", "true",