diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-08-28 14:54:46 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-08-28 14:54:46 -0700 |
commit | 5a4eb7282e7fc42d6bd283c18d59edcdc57cf81e (patch) | |
tree | bc94b1b81fb16986cb5cbe8b19f7f0bc8d49b45b /sysdeps/x86_64/multiarch/init-arch.c | |
parent | d444ac573c53238c627eec7bd02e0b9c31459e99 (diff) | |
download | glibc-5a4eb7282e7fc42d6bd283c18d59edcdc57cf81e.tar.gz glibc-5a4eb7282e7fc42d6bd283c18d59edcdc57cf81e.tar.xz glibc-5a4eb7282e7fc42d6bd283c18d59edcdc57cf81e.zip |
Remove ENABLE_SSSE3_ON_ATOM.
It turns that SSSE3 isn't slow on Atom. The problem is bsf. This patch removes ENABLE_SSSE3_ON_ATOM.
Diffstat (limited to 'sysdeps/x86_64/multiarch/init-arch.c')
-rw-r--r-- | sysdeps/x86_64/multiarch/init-arch.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c index c152ab29eb..9a1e776c9a 100644 --- a/sysdeps/x86_64/multiarch/init-arch.c +++ b/sysdeps/x86_64/multiarch/init-arch.c @@ -64,15 +64,7 @@ __init_cpu_features (void) __cpu_features.model += extended_model; } else if (__cpu_features.family == 0x06) - { - __cpu_features.model += extended_model; - -#ifndef ENABLE_SSSE3_ON_ATOM - if (__cpu_features.model == 0x1c) - /* Avoid SSSE3 on Atom since it is slow. */ - __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx &= ~(1 << 9); -#endif - } + __cpu_features.model += extended_model; } /* This spells out "AuthenticAMD". */ else if (ebx == 0x68747541 && ecx == 0x444d4163 && edx == 0x69746e65) |