aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/arch
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-11-18 20:33:15 +0000
committerlloyd <[email protected]>2011-11-18 20:33:15 +0000
commit4ba7731b856442a7bb6e595c6dda2696abc0415d (patch)
tree7575279b189863501831bd9320d129574b9ef6c0 /src/build-data/arch
parentcd3e535b1327e2641932b96573c7b06ddf17774b (diff)
Add model name for Sandy Bridge. Use -march=corei7 with GCC and Clang
as they seem to understand it as of GCC 4.6 and Clang 2.9.
Diffstat (limited to 'src/build-data/arch')
-rw-r--r--src/build-data/arch/x86_64.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/build-data/arch/x86_64.txt b/src/build-data/arch/x86_64.txt
index 97b84fbde..922daa104 100644
--- a/src/build-data/arch/x86_64.txt
+++ b/src/build-data/arch/x86_64.txt
@@ -13,11 +13,12 @@ x64
<submodels>
k8
k10
+atom
nocona
core2
nehalem
westmere
-atom
+sandybridge
</submodels>
<submodel_aliases>
@@ -37,6 +38,6 @@ corei7cpu860 -> nehalem
<isa_extn>
sse2:all
-ssse3:core2,nehalem,westmere,atom
-aes-ni:westmere
+ssse3:core2,nehalem,westmere,atom,sandybridge
+aes-ni:westmere,sandybridge
</isa_extn>