diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2010-05-28 14:58:04 -0500 |
---|---|---|
committer | Ryan Arnold <ryanarn@etna.rchland.ibm.com> | 2010-05-28 14:58:04 -0500 |
commit | 165ab209dffe764f7aea8d6b732f84cf5c0bb02c (patch) | |
tree | 8a4a6afdd2b7170801fdcf7a5fdc30e4f5a10b5a | |
parent | 94b1da3a8dc2f7797a222dccee43a33efed2c858 (diff) | |
download | glibc-165ab209dffe764f7aea8d6b732f84cf5c0bb02c.tar glibc-165ab209dffe764f7aea8d6b732f84cf5c0bb02c.tar.gz glibc-165ab209dffe764f7aea8d6b732f84cf5c0bb02c.tar.bz2 glibc-165ab209dffe764f7aea8d6b732f84cf5c0bb02c.zip |
Exchange srdi for srwi in 32-bit memset.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc32/power7/memcpy.S | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -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. diff --git a/sysdeps/powerpc/powerpc32/power7/memcpy.S b/sysdeps/powerpc/powerpc32/power7/memcpy.S index e3dfd2ff92..f0c332f1ba 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 |