2 * String handling functions for PowerPC.
4 * Copyright (C) 1996 Paul Mackerras.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
39 bdnzf 2,1b /* dec ctr, branch if ctr != 0 && !cr0.eq */
89 rlwinm r0,r5,32-2,2,31
118 rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */
121 beq 2f /* if less than 8 bytes to do */
122 andi. r0,r6,3 /* get dest word aligned */
153 rlwinm. r7,r5,32-3,3,31
158 .globl backwards_memcpy
160 rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */
190 rlwinm. r7,r5,32-3,3,31