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.
40 rlwinm r0,r5,32-2,2,31
62 rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */
65 beq 2f /* if less than 8 bytes to do */
66 andi. r0,r6,3 /* get dest word aligned */
97 rlwinm. r7,r5,32-3,3,31
102 .globl backwards_memcpy
104 rlwinm. r7,r5,32-3,3,31 /* r0 = r5 >> 3 */
134 rlwinm. r7,r5,32-3,3,31