Lines Matching +full:2 +full:- +full:8
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/asm-compat.h>
9 #include <asm/feature-fixups.h>
13 /* For big-endian, 0 == most CPUs, 1 == POWER6, 2 == Cell */
23 std r3,-STACKFRAMESIZE+STK_REG(R31)(r1) /* save destination pointer for return value */
31 /* dumb little-endian memcpy that will get replaced at runtime */
32 addi r9,r3,-1
33 addi r4,r4,-1
43 neg r6,r3 # LS 3 bits = # bytes to 8-byte dest bdry
60 addi r3,r3,-16
68 addi r4,r4,-8
71 bf cr7*4+0,2f
72 addi r3,r3,8
73 addi r4,r4,8
76 1: ld r9,8(r4)
77 std r8,8(r3)
78 2: ldu r8,16(r4)
81 3: std r8,8(r3)
86 lwz r9,8(r4)
90 1: bf cr7*4+2,2f
91 lhz r9,8(r4)
92 addi r4,r4,2
94 addi r3,r3,2
95 2: bf cr7*4+3,3f
96 lbz r9,8(r4)
98 3: ld r3,-STACKFRAMESIZE+STK_REG(R31)(r1) /* return dest pointer */
103 addi r5,r5,-16
115 ld r9,0(r4) # 3+2n loads, 2+2n stores
116 ld r0,8(r4)
123 ld r0,8(r4)
125 b 2f
127 0: ld r0,0(r4) # 4+2n loads, 3+2n stores
128 ldu r9,8(r4)
130 addi r3,r3,-8
132 ld r0,8(r4)
144 ld r0,8(r4)
145 std r12,8(r3)
146 2: srd r12,r9,r11
155 3: std r12,8(r3)
162 cmpwi cr1,r5,8
166 ld r0,8(r4)
174 1: bf cr7*4+2,2f
177 addi r3,r3,2
178 2: bf cr7*4+3,3f
179 rotldi r9,r9,8
181 3: ld r3,-STACKFRAMESIZE+STK_REG(R31)(r1) /* return dest pointer */
185 PPC_MTOCRF(0x01,r6) # put #bytes to 8B bdry into cr7
193 1: bf cr7*4+2,2f
196 addi r7,r7,2
197 2: bf cr7*4+1,3f
209 addi r4,r4,8
212 addi r3,r3,8
213 1: bf cr7*4+1,2f
218 2: bf cr7*4+2,3f
220 addi r4,r4,2
222 addi r3,r3,2
226 4: ld r3,-STACKFRAMESIZE+STK_REG(R31)(r1) /* return dest pointer */