GNU C Library master sources branch, ibm/2.12/master, updated. glibc-2.12.1-12-g4b2ab09

luisgpm@sourceware.org luisgpm@sourceware.org
Sat Oct 30 13:36:00 GMT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, ibm/2.12/master has been updated
       via  4b2ab09c599174dbfc13154080783b1cc9cbdefd (commit)
       via  35521fabd4e1319bc0bded96e0acd613ba2645b8 (commit)
      from  37b7beb6d687cfcc395c2d4f8e112042589b9b63 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4b2ab09c599174dbfc13154080783b1cc9cbdefd

commit 4b2ab09c599174dbfc13154080783b1cc9cbdefd
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Mon May 24 17:56:44 2010 -0700

    Small fix to POWER7 32-bit memset
    (cherry picked from commit ebd2e13d672d32bdc07e2ddadca68829840dd29c)

diff --git a/ChangeLog b/ChangeLog
index 5c02c19..3f909ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
+
+	* sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
+
 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
 
 	* sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
diff --git a/sysdeps/powerpc/powerpc32/power7/memset.S b/sysdeps/powerpc/powerpc32/power7/memset.S
index 99d07ec..8aabb49 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)
 

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=35521fabd4e1319bc0bded96e0acd613ba2645b8

commit 35521fabd4e1319bc0bded96e0acd613ba2645b8
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Fri May 28 14:19:21 2010 -0700

    Small fix to POWER7 32-bit memcpy
    (cherry picked from commit eb5ad2eb0d06326846ed37addebe187a0f67c7c7)

diff --git a/ChangeLog b/ChangeLog
index 58727fa..5c02c19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
+
+	* sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
+
 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
 
 	POWER7 optimizations.
diff --git a/sysdeps/powerpc/powerpc32/power7/memcpy.S b/sysdeps/powerpc/powerpc32/power7/memcpy.S
index e3dfd2f..f0c332f 100644
--- a/sysdeps/powerpc/powerpc32/power7/memcpy.S
+++ b/sysdeps/powerpc/powerpc32/power7/memcpy.S
@@ -365,7 +365,7 @@ L(copy_GE_32_unaligned):
 	addi    3,3,8
 0:
 	clrlwi  10,12,28      /* Check alignment of SRC.  */
-	srdi    9,31,4	      /* Number of full quadwords remaining.  */
+	srwi    9,31,4	      /* Number of full quadwords remaining.  */
 
 	/* The proper alignment is present, it is OK to copy the bytes now.  */
 L(copy_GE_32_unaligned_cont):
@@ -375,7 +375,7 @@ L(copy_GE_32_unaligned_cont):
 	li      6,16	      /* Index for 16-bytes offsets.  */
 	li	7,32	      /* Index for 32-bytes offsets.  */
 	cmplwi  cr1,11,0
-	srdi    8,31,5	      /* Setup the loop counter.  */
+	srwi    8,31,5	      /* Setup the loop counter.  */
 	mr      10,3
 	mr      11,12
 	mtcrf   0x01,9

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                 |    8 ++++++++
 sysdeps/powerpc/powerpc32/power7/memcpy.S |    4 ++--
 sysdeps/powerpc/powerpc32/power7/memset.S |    5 ++---
 3 files changed, 12 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources



More information about the Glibc-cvs mailing list