]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Exchange srdi for srwi in 32-bit memset.
authorLuis Machado <luisgpm@br.ibm.com>
Fri, 28 May 2010 19:58:04 +0000 (14:58 -0500)
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>
Fri, 28 May 2010 19:58:04 +0000 (14:58 -0500)
ChangeLog
sysdeps/powerpc/powerpc32/power7/memcpy.S

index 9bde712fa13aa7e28c72ad153c52106199e90373..01b1ef63996cd8a0bf094342c9c717d46c54830c 100644 (file)
--- 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-24  Luis Machado  <luisgpm@br.ibm.com>
 
        * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
index e3dfd2ff92b9f09ae960cb54200483321cbac7fe..f0c332f1ba9609a8ac2fe0d4db08f64a62dc04cb 100644 (file)
@@ -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