diff options
author | Anton Blanchard <anton@samba.org> | 2013-01-07 11:20:53 -0600 |
---|---|---|
committer | Ryan S. Arnold <rsa@linux.vnet.ibm.com> | 2013-01-07 11:20:53 -0600 |
commit | 2ccdea26f290f6990606f4a43de5272afa1a784d (patch) | |
tree | 4b31e4613c48117cafa62f6404a1f207bb123832 /sysdeps/powerpc/powerpc32/power6/memcpy.S | |
parent | 375607b9cc9ddf46a379bab6bf2998c54099d6b5 (diff) | |
download | glibc-2ccdea26f290f6990606f4a43de5272afa1a784d.tar.gz glibc-2ccdea26f290f6990606f4a43de5272afa1a784d.tar.xz glibc-2ccdea26f290f6990606f4a43de5272afa1a784d.zip |
Fix spelling errors in sysdeps/powerpc files.
Diffstat (limited to 'sysdeps/powerpc/powerpc32/power6/memcpy.S')
-rw-r--r-- | sysdeps/powerpc/powerpc32/power6/memcpy.S | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/powerpc/powerpc32/power6/memcpy.S b/sysdeps/powerpc/powerpc32/power6/memcpy.S index c1dd74df0b..203c979d1b 100644 --- a/sysdeps/powerpc/powerpc32/power6/memcpy.S +++ b/sysdeps/powerpc/powerpc32/power6/memcpy.S @@ -411,31 +411,31 @@ L(wdu): not. For power4, power5 and power6 machines there is penalty for unaligned loads (src) that cross 32-byte, cacheline, or page boundaries. So we want to use simple (unaligned) loads where - posible but avoid them where we know the load would span a 32-byte + possible but avoid them where we know the load would span a 32-byte boundary. At this point we know we have at least 29 (32-3) bytes to copy the src is unaligned. and we may cross at least one 32-byte - boundary. Also we have the following regester values: + boundary. Also we have the following register values: r3 == adjusted dst, word aligned r4 == unadjusted src r5 == unadjusted len r9 == adjusted Word length r10 == src alignment (1-3) - r12 == adjuested src, not aligned + r12 == adjusted src, not aligned r31 == adjusted len - First we need to copy word upto but not crossing the next 32-byte + First we need to copy word up to but not crossing the next 32-byte boundary. Then perform aligned loads just before and just after - the boundary and use shifts and or to gernerate the next aligned + the boundary and use shifts and or to generate the next aligned word for dst. If more then 32 bytes remain we copy (unaligned src) the next 7 words and repeat the loop until less then 32-bytes - remaim. + remain. Then if more then 4 bytes remain we again use aligned loads, shifts and or to generate the next dst word. We then process the remaining words using unaligned loads as needed. Finally we check - if there more then 0 bytes (1-3) bytes remainting and use + if there more then 0 bytes (1-3) bytes remaining and use halfword and or byte load/stores to complete the copy. */ mr 4,12 /* restore unaligned adjusted src ptr */ @@ -512,7 +512,7 @@ L(wdu_h32_4): addi 3,3,4 .align 4 L(wdu_h32_0): -/* set up for 32-byte boundry crossing word move and possibly 32-byte +/* set up for 32-byte boundary crossing word move and possibly 32-byte move loop. */ clrrwi 12,4,2 cmplwi cr5,31,32 |