aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-06-11 14:12:20 +0000
committerlloyd <[email protected]>2010-06-11 14:12:20 +0000
commit19961290dc47e9b12a6b6b42eb3512509b321978 (patch)
treef1899a1b622dc2ca6a9300ba3e68202566d39c31
parentcce4d165e5fbbd775da9704d18bb9ed094a8543f (diff)
Fix problem that prevented AES-NI code from getting loaded in at least
some cases. Add a westmere alias for "Core i5 CPU M 520", which is what uname (and thus, platform.processor()) returns on my laptop. Mostly for my benefit of course.
-rw-r--r--src/build-data/arch/amd64.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/build-data/arch/amd64.txt b/src/build-data/arch/amd64.txt
index b0cf546d7..6b721805e 100644
--- a/src/build-data/arch/amd64.txt
+++ b/src/build-data/arch/amd64.txt
@@ -29,10 +29,12 @@ opteron -> k8
amdopteron -> k8
athlon64 -> k8
barcelona -> k10
+
+corei5cpum520 -> westmere
</submodel_aliases>
<isa_extn>
sse2:all
ssse3:core2,nehalem,westmere
-aes_ni:westmere
+aes-ni:westmere
</isa_extn>