summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2010-05-24 17:56:44 -0700
committerUlrich Drepper <drepper@redhat.com>2010-05-24 17:56:44 -0700
commitebd2e13d672d32bdc07e2ddadca68829840dd29c (patch)
treea380b1adaec52fdb15ef6e01b62bd52dd071396f /sysdeps/powerpc
parentb32b8b451b398ebae33d4cf8039c03f4d615c0c3 (diff)
downloadglibc-ebd2e13d672d32bdc07e2ddadca68829840dd29c.tar.gz
glibc-ebd2e13d672d32bdc07e2ddadca68829840dd29c.tar.xz
glibc-ebd2e13d672d32bdc07e2ddadca68829840dd29c.zip
Small fix to POWER7 32-bit memset
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc32/power7/memset.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/powerpc/powerpc32/power7/memset.S b/sysdeps/powerpc/powerpc32/power7/memset.S
index 99d07ec895..8aabb49327 100644
--- a/sysdeps/powerpc/powerpc32/power7/memset.S
+++ b/sysdeps/powerpc/powerpc32/power7/memset.S
@@ -155,7 +155,6 @@ L(big_loop):
 	/* Now that we're probably past the LHS window, use the VSX to
 	   speed up the loop.  */
 L(big_loop_fast_setup):
-	li	0,0
 	li	11,24
 	li	6,16
 	lxvdsx	4,1,11
@@ -163,12 +162,12 @@ L(big_loop_fast_setup):
 	.align	4
 L(big_loop_fast):
 	addi	12,10,32
-	stxvd2x	4,10,0
+	stxvd2x	4,0,10
 	stxvd2x	4,10,6
 	bdz	L(tail_bytes)
 
 	addi	10,10,64
-	stxvd2x	4,12,0
+	stxvd2x	4,0,12
 	stxvd2x	4,12,6
 	bdnz	L(big_loop_fast)