summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-04-14 22:18:27 -0700
committerUlrich Drepper <drepper@redhat.com>2010-04-14 22:18:27 -0700
commitdf87f54923da6cb94e1a7d65c3f2349c95d49700 (patch)
tree573765974502591110e65647ef82feed4babcdbe
parent18a26b301b6ab0d68474fbfffb0d17adf69e8824 (diff)
downloadglibc-df87f54923da6cb94e1a7d65c3f2349c95d49700.tar.gz
glibc-df87f54923da6cb94e1a7d65c3f2349c95d49700.tar.xz
glibc-df87f54923da6cb94e1a7d65c3f2349c95d49700.zip
Check DATA_CACHE_SIZE_HALF
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/x86_64/multiarch/memcmp-sse4.S4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b23fd979d..a780308f20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/x86_64/multiarch/memcmp-sse4.S: Check
+	DATA_CACHE_SIZE_HALF instead of SHARED_CACHE_SIZE_HALF.
+
 2010-04-14  Andreas Schwab  <schwab@redhat.com>
 
 	* elf/dl-version.c (_dl_check_map_versions): Avoid index overflow
diff --git a/sysdeps/x86_64/multiarch/memcmp-sse4.S b/sysdeps/x86_64/multiarch/memcmp-sse4.S
index 25dba864f8..fc439bb013 100644
--- a/sysdeps/x86_64/multiarch/memcmp-sse4.S
+++ b/sysdeps/x86_64/multiarch/memcmp-sse4.S
@@ -34,7 +34,7 @@
 #define JMPTBL(I, B)	(I - B)
 
 #define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE)		\
-  lea     	TABLE(%rip), %r11;				\
+  lea		TABLE(%rip), %r11;				\
   movslq	(%r11, INDEX, SCALE), %rcx;			\
   add		%r11, %rcx;					\
   jmp		*%rcx;						\
@@ -624,7 +624,7 @@ L(less32bytesin256in2alinged):
 
 	ALIGN (4)
 L(512bytesormorein2aligned):
-#ifdef SHARED_CACHE_SIZE_HALF
+#ifdef DATA_CACHE_SIZE_HALF
 	mov	$DATA_CACHE_SIZE_HALF, %r8
 #else
 	mov	__x86_64_data_cache_size_half(%rip), %r8