copyuser_64.S (5a2dd72abdae75ea2960145e0549635ce4e0be96) copyuser_64.S (f72b728bf100f276628e378e1fe6c6acd5d09401)
1/*
2 * Copyright (C) 2002 Paul Mackerras, IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 48 unchanged lines hidden (view full) ---

5721: ld r9,8(r4)
5870: std r8,8(r3)
5922: ldu r8,16(r4)
6071: stdu r9,16(r3)
61 bdnz 21b
6272: std r8,8(r3)
63 beq+ 3f
64 addi r3,r3,16
1/*
2 * Copyright (C) 2002 Paul Mackerras, IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 48 unchanged lines hidden (view full) ---

5721: ld r9,8(r4)
5870: std r8,8(r3)
5922: ldu r8,16(r4)
6071: stdu r9,16(r3)
61 bdnz 21b
6272: std r8,8(r3)
63 beq+ 3f
64 addi r3,r3,16
6523: ld r9,8(r4)
66.Ldo_tail:
67 bf cr7*4+1,1f
65.Ldo_tail:
66 bf cr7*4+1,1f
68 rotldi r9,r9,32
6723: lwz r9,8(r4)
68 addi r4,r4,4
6973: stw r9,0(r3)
70 addi r3,r3,4
711: bf cr7*4+2,2f
6973: stw r9,0(r3)
70 addi r3,r3,4
711: bf cr7*4+2,2f
72 rotldi r9,r9,16
7244: lhz r9,8(r4)
73 addi r4,r4,2
7374: sth r9,0(r3)
74 addi r3,r3,2
752: bf cr7*4+3,3f
7474: sth r9,0(r3)
75 addi r3,r3,2
762: bf cr7*4+3,3f
76 rotldi r9,r9,8
7745: lbz r9,8(r4)
7775: stb r9,0(r3)
783: li r3,0
79 blr
80
81.Lsrc_unaligned:
82 srdi r6,r5,3
83 addi r5,r5,-16
84 subf r4,r0,r4

--- 51 unchanged lines hidden (view full) ---

136 or r12,r8,r12
13780: std r12,24(r3)
138 bne 6f
139 li r3,0
140 blr
1416: cmpwi cr1,r5,8
142 addi r3,r3,32
143 sld r9,r9,r10
7875: stb r9,0(r3)
793: li r3,0
80 blr
81
82.Lsrc_unaligned:
83 srdi r6,r5,3
84 addi r5,r5,-16
85 subf r4,r0,r4

--- 51 unchanged lines hidden (view full) ---

137 or r12,r8,r12
13880: std r12,24(r3)
139 bne 6f
140 li r3,0
141 blr
1426: cmpwi cr1,r5,8
143 addi r3,r3,32
144 sld r9,r9,r10
144 ble cr1,.Ldo_tail
145 ble cr1,7f
14534: ld r0,8(r4)
146 srd r7,r0,r11
147 or r9,r7,r9
14634: ld r0,8(r4)
147 srd r7,r0,r11
148 or r9,r7,r9
148 b .Ldo_tail
1497:
150 bf cr7*4+1,1f
151 rotldi r9,r9,32
15294: stw r9,0(r3)
153 addi r3,r3,4
1541: bf cr7*4+2,2f
155 rotldi r9,r9,16
15695: sth r9,0(r3)
157 addi r3,r3,2
1582: bf cr7*4+3,3f
159 rotldi r9,r9,8
16096: stb r9,0(r3)
1613: li r3,0
162 blr
149
150.Ldst_unaligned:
151 PPC_MTOCRF 0x01,r6 /* put #bytes to 8B bdry into cr7 */
152 subf r5,r6,r5
153 li r7,0
154 cmpldi cr1,r5,16
155 bf cr7*4+3,1f
15635: lbz r0,0(r4)

--- 56 unchanged lines hidden (view full) ---

213127:
214128:
215129:
216133:
217 addi r3,r3,8
218121:
219132:
220 addi r3,r3,8
163
164.Ldst_unaligned:
165 PPC_MTOCRF 0x01,r6 /* put #bytes to 8B bdry into cr7 */
166 subf r5,r6,r5
167 li r7,0
168 cmpldi cr1,r5,16
169 bf cr7*4+3,1f
17035: lbz r0,0(r4)

--- 56 unchanged lines hidden (view full) ---

227127:
228128:
229129:
230133:
231 addi r3,r3,8
232121:
233132:
234 addi r3,r3,8
221123:
222134:
223135:
224138:
225139:
226140:
227141:
228142:
235134:
236135:
237138:
238139:
239140:
240141:
241142:
242123:
243144:
244145:
229
230/*
231 * here we have had a fault on a load and r3 points to the first
232 * unmodified byte of the destination
233 */
2341: ld r6,-24(r1)
235 ld r4,-16(r1)
236 ld r5,-8(r1)

--- 67 unchanged lines hidden (view full) ---

304175:
305179:
306181:
307184:
308186:
309187:
310188:
311189:
245
246/*
247 * here we have had a fault on a load and r3 points to the first
248 * unmodified byte of the destination
249 */
2501: ld r6,-24(r1)
251 ld r4,-16(r1)
252 ld r5,-8(r1)

--- 67 unchanged lines hidden (view full) ---

320175:
321179:
322181:
323184:
324186:
325187:
326188:
327189:
328194:
329195:
330196:
3121:
313 ld r6,-24(r1)
314 ld r5,-8(r1)
315 add r6,r6,r5
316 subf r3,r3,r6 /* #bytes not copied */
317190:
318191:
319192:

--- 4 unchanged lines hidden (view full) ---

324 .llong 20b,120b
325 .llong 21b,121b
326 .llong 70b,170b
327 .llong 22b,122b
328 .llong 71b,171b
329 .llong 72b,172b
330 .llong 23b,123b
331 .llong 73b,173b
3311:
332 ld r6,-24(r1)
333 ld r5,-8(r1)
334 add r6,r6,r5
335 subf r3,r3,r6 /* #bytes not copied */
336190:
337191:
338192:

--- 4 unchanged lines hidden (view full) ---

343 .llong 20b,120b
344 .llong 21b,121b
345 .llong 70b,170b
346 .llong 22b,122b
347 .llong 71b,171b
348 .llong 72b,172b
349 .llong 23b,123b
350 .llong 73b,173b
351 .llong 44b,144b
332 .llong 74b,174b
352 .llong 74b,174b
353 .llong 45b,145b
333 .llong 75b,175b
334 .llong 24b,124b
335 .llong 25b,125b
336 .llong 26b,126b
337 .llong 27b,127b
338 .llong 28b,128b
339 .llong 29b,129b
340 .llong 30b,130b
341 .llong 31b,131b
342 .llong 32b,132b
343 .llong 76b,176b
344 .llong 33b,133b
345 .llong 77b,177b
346 .llong 78b,178b
347 .llong 79b,179b
348 .llong 80b,180b
349 .llong 34b,134b
354 .llong 75b,175b
355 .llong 24b,124b
356 .llong 25b,125b
357 .llong 26b,126b
358 .llong 27b,127b
359 .llong 28b,128b
360 .llong 29b,129b
361 .llong 30b,130b
362 .llong 31b,131b
363 .llong 32b,132b
364 .llong 76b,176b
365 .llong 33b,133b
366 .llong 77b,177b
367 .llong 78b,178b
368 .llong 79b,179b
369 .llong 80b,180b
370 .llong 34b,134b
371 .llong 94b,194b
372 .llong 95b,195b
373 .llong 96b,196b
350 .llong 35b,135b
351 .llong 81b,181b
352 .llong 36b,136b
353 .llong 82b,182b
354 .llong 37b,137b
355 .llong 83b,183b
356 .llong 38b,138b
357 .llong 39b,139b

--- 230 unchanged lines hidden ---
374 .llong 35b,135b
375 .llong 81b,181b
376 .llong 36b,136b
377 .llong 82b,182b
378 .llong 37b,137b
379 .llong 83b,183b
380 .llong 38b,138b
381 .llong 39b,139b

--- 230 unchanged lines hidden ---