diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-10 19:35:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-10 19:35:07 +0000 |
commit | 717073c237884af9646d5bb2b893e4d8fe4f0d92 (patch) | |
tree | be6655db07397578f89663c2f916fd4d6d7ede0c /lib | |
parent | a7934dd8e4d61346f7a66736653c1e76750322ad (diff) |
X86: Add a subtarget definition for core-avx-i, which is GCC's name for ivy bridge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/X86/X86.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/X86/X86.td b/lib/Target/X86/X86.td index 4505dafcbf..85376066da 100644 --- a/lib/Target/X86/X86.td +++ b/lib/Target/X86/X86.td @@ -145,11 +145,16 @@ def : Proc<"nehalem", [FeatureSSE42, FeatureCMPXCHG16B, def : Proc<"westmere", [FeatureSSE42, FeatureCMPXCHG16B, FeatureSlowBTMem, FeatureFastUAMem, FeatureAES, FeatureCLMUL]>; +// Sandy Bridge // SSE is not listed here since llvm treats AVX as a reimplementation of SSE, // rather than a superset. // FIXME: Disabling AVX for now since it's not ready. def : Proc<"corei7-avx", [FeatureSSE42, FeatureCMPXCHG16B, FeatureAES, FeatureCLMUL]>; +// Ivy Bridge +def : Proc<"core-avx-i", [FeatureSSE42, FeatureCMPXCHG16B, + FeatureAES, FeatureCLMUL, + FeatureRDRAND, FeatureF16C]>; def : Proc<"k6", [FeatureMMX]>; def : Proc<"k6-2", [Feature3DNow]>; |