Lines Matching +full:10 +full:base +full:- +full:t1

23  * dma-coherent systems.
37 #include <asm/asm-offsets.h>
49 * - src and dst don't overlap
50 * - src is readable
51 * - dst is writable
59 * - src is readable (no exceptions when reading src)
61 * - dst is writable (no exceptions when writing dst)
62 * __copy_user uses a non-standard calling convention; see
63 * include/asm-mips/uaccess.h
76 * 1- AT contain the address of the byte just past the end of the source
78 * 2- src_entry <= src < AT, and
79 * 3- (dst - src) == (dst_entry - src_entry),
140 * Only on the 64-bit kernel we can made use of 64-bit registers.
166 * As we are sharing code base with the mips32 tree (which use the o32 ABI
171 #undef t1
175 #define t1 $9 macro
176 #define t2 $10
250 #define REST(unit) (FIRST(unit)+NBYTES-1)
253 #define ADDRMASK (NBYTES-1)
297 and t1, dst, ADDRMASK
305 bnez t1, .Ldst_unaligned\@
309 or t0, t0, t1
313 * use delay slot for fall-through
319 and rem, len, (8*NBYTES-1) # rem = len % (8*NBYTES)
326 LOAD(t1, UNIT(1)(src), .Ll_exc_copy\@)
333 STORE(t1, UNIT(1)(dst), .Ls_exc_p7u\@)
335 LOAD(t1, UNIT(7)(src), .Ll_exc_copy\@)
338 STORE(t2, UNIT(-6)(dst), .Ls_exc_p6u\@)
339 STORE(t3, UNIT(-5)(dst), .Ls_exc_p5u\@)
340 STORE(t4, UNIT(-4)(dst), .Ls_exc_p4u\@)
341 STORE(t7, UNIT(-3)(dst), .Ls_exc_p3u\@)
342 STORE(t0, UNIT(-2)(dst), .Ls_exc_p2u\@)
343 STORE(t1, UNIT(-1)(dst), .Ls_exc_p1u\@)
356 and rem, len, (NBYTES-1) # rem = len % NBYTES
361 LOAD( t1, UNIT(1)(src), .Ll_exc_copy\@)
368 STORE(t1, UNIT(1)(dst), .Ls_exc_p3u\@)
397 * because can't assume read-access to dst. Instead, use
401 * wide-issue mips processors because the code has fewer branches and
402 * more instruction-level parallelism.
406 ADD t1, dst, len # t1 is just past last byte of dst
412 STREST(t0, -1(t1), .Ls_exc\@)
419 * t1 = dst & ADDRMASK; T1 > 0
429 SUB t2, t2, t1 # t2 = number of bytes copied
430 xor match, t0, t1
443 and rem, len, (4*NBYTES-1) # rem = len % 4*NBYTES
454 LDFIRST(t1, FIRST(1)(src), .Ll_exc_copy\@)
457 LDREST(t1, REST(1)(src), .Ll_exc_copy\@)
468 STORE(t1, UNIT(1)(dst), .Ls_exc_p3u\@)
479 and rem, len, NBYTES-1 # rem = len % NBYTES
515 LOADB(t0, NBYTES-2(src), .Ll_exc\@)
518 STOREB(t0, NBYTES-2(dst), .Ls_exc_p1\@)
559 LOADB(t1, 0(src), .Ll_exc\@)
561 sb t1, 0(dst) # can't fault -- we're copy_from_user
606 ADD t1, a1, a2
607 sltu t0, a1, t0 # dst + len <= src -> memcpy
608 sltu t1, a0, t1 # dst >= src + len -> memcpy
609 and t0, t1
625 lb t0, -1(a1)
627 sb t0, -1(a0)
670 /* Legacy Mode, user <-> user */
680 * virtual <-> physical translation when a virtual address is actually in user