[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r21061 - in /fsf/trunk/libc: ChangeLog sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S



Author: eglibc
Date: Mon Oct  8 00:01:55 2012
New Revision: 21061

Log:
Import glibc-mainline for 2012-10-08

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Mon Oct  8 00:01:55 2012
@@ -1,3 +1,9 @@
+2012-10-06  David S. Miller  <davem@xxxxxxxxxxxxx>
+
+	* sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
+	upper 32-bits of the length value in %o2 since we use branch-on-register
+	tests which consider the entire 64-bit register.
+
 2012-10-06  H.J. Lu  <hongjiu.lu@xxxxxxxxx>
 
 	* string/test-strstr.c (check2): Add a test for page boundary.

Modified: fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S
==============================================================================
--- fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S (original)
+++ fsf/trunk/libc/sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S Mon Oct  8 00:01:55 2012
@@ -64,6 +64,9 @@
 100:	/* %o0=dst, %o1=src, %o2=len */
 	mov		%o0, %o3
 101:
+#ifndef __arch64__
+	srl		%o2, 0, %o2
+#endif
 	brz,pn		%o2, .Lexit
 	 cmp		%o2, 3
 	ble,pn		%icc, .Ltiny

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits