copyuser_power7.S (cf40a76e7d5874bb25f4404eecc58a2e033af885) copyuser_power7.S (15a3204d24a3c01b116fb7c0692b7c670cac631d)
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of

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

3071: lis r0,0x0E00 /* depth=7 */
308 sldi r7,r7,7
309 or r7,r7,r0
310 ori r10,r7,1 /* stream=1 */
311
312 lis r8,0x8000 /* GO=1 */
313 clrldi r8,r8,32
314
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of

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

3071: lis r0,0x0E00 /* depth=7 */
308 sldi r7,r7,7
309 or r7,r7,r0
310 ori r10,r7,1 /* stream=1 */
311
312 lis r8,0x8000 /* GO=1 */
313 clrldi r8,r8,32
314
315.machine push
316.machine "power4"
317 /* setup read stream 0 */
318 dcbt 0,r6,0b01000 /* addr from */
319 dcbt 0,r7,0b01010 /* length and depth from */
320 /* setup write stream 1 */
321 dcbtst 0,r9,0b01000 /* addr to */
322 dcbtst 0,r10,0b01010 /* length and depth to */
323 eieio
324 dcbt 0,r8,0b01010 /* all streams GO */
315 /* setup read stream 0 */
316 dcbt 0,r6,0b01000 /* addr from */
317 dcbt 0,r7,0b01010 /* length and depth from */
318 /* setup write stream 1 */
319 dcbtst 0,r9,0b01000 /* addr to */
320 dcbtst 0,r10,0b01010 /* length and depth to */
321 eieio
322 dcbt 0,r8,0b01010 /* all streams GO */
325.machine pop
326
327 beq cr1,.Lunwind_stack_nonvmx_copy
328
329 /*
330 * If source and destination are not relatively aligned we use a
331 * slower permute loop.
332 */
333 xor r6,r4,r3

--- 376 unchanged lines hidden ---
323
324 beq cr1,.Lunwind_stack_nonvmx_copy
325
326 /*
327 * If source and destination are not relatively aligned we use a
328 * slower permute loop.
329 */
330 xor r6,r4,r3

--- 376 unchanged lines hidden ---