summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/init-arch.c
diff options
context:
space:
mode:
authorOndrej Bilka <neleai@seznam.cz>2013-03-11 15:39:08 +0100
committerOndrej Bilka <neleai@seznam.cz>2013-03-11 15:39:08 +0100
commit80f844c9d898f97e8c9cf7f2571fa1eca46acd46 (patch)
tree02322b2c85ac38832ab36b3e439002d13fb06355 /sysdeps/x86_64/multiarch/init-arch.c
parentfb6b0fcbf13acf4a4a9a91720303d88263f3e4f9 (diff)
downloadglibc-80f844c9d898f97e8c9cf7f2571fa1eca46acd46.tar.gz
glibc-80f844c9d898f97e8c9cf7f2571fa1eca46acd46.tar.xz
glibc-80f844c9d898f97e8c9cf7f2571fa1eca46acd46.zip
Remove Prefer_SSE_for_memop on x64
Diffstat (limited to 'sysdeps/x86_64/multiarch/init-arch.c')
-rw-r--r--sysdeps/x86_64/multiarch/init-arch.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sysdeps/x86_64/multiarch/init-arch.c b/sysdeps/x86_64/multiarch/init-arch.c
index 992cbfb754..7daaf46099 100644
--- a/sysdeps/x86_64/multiarch/init-arch.c
+++ b/sysdeps/x86_64/multiarch/init-arch.c
@@ -58,11 +58,6 @@ __init_cpu_features (void)
 
       get_common_indeces (&family, &model);
 
-      /* Intel processors prefer SSE instruction for memory/string
-	 routines if they are available.  */
-      __cpu_features.feature[index_Prefer_SSE_for_memop]
-	|= bit_Prefer_SSE_for_memop;
-
       unsigned int eax = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].eax;
       unsigned int extended_family = (eax >> 20) & 0xff;
       unsigned int extended_model = (eax >> 12) & 0xf0;
@@ -125,12 +120,6 @@ __init_cpu_features (void)
 
       ecx = __cpu_features.cpuid[COMMON_CPUID_INDEX_1].ecx;
 
-      /* AMD processors prefer SSE instructions for memory/string routines
-	 if they are available, otherwise they prefer integer instructions.  */
-      if ((ecx & 0x200))
-	__cpu_features.feature[index_Prefer_SSE_for_memop]
-	  |= bit_Prefer_SSE_for_memop;
-
       unsigned int eax;
       __cpuid (0x80000000, eax, ebx, ecx, edx);
       if (eax >= 0x80000001)