• Home
  • Raw
  • Download

Lines Matching +full:sub +full:- +full:systems

21  * Prefetching may be fatal on some systems if we're prefetching beyond the
22 * end of memory on some systems. It's also a seriously bad idea on non
23 * dma-coherent systems.
36 #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.
156 #define SUB dsubu macro
193 #define SUB subu macro
246 #define REST(unit) (FIRST(unit)+NBYTES-1)
249 #define ADDRMASK (NBYTES-1)
309 * use delay slot for fall-through
315 and rem, len, (8*NBYTES-1) # rem = len % (8*NBYTES)
325 SUB len, len, 8*NBYTES
334 STORE(t2, UNIT(-6)(dst), .Ls_exc_p6u\@)
335 STORE(t3, UNIT(-5)(dst), .Ls_exc_p5u\@)
336 STORE(t4, UNIT(-4)(dst), .Ls_exc_p4u\@)
337 STORE(t7, UNIT(-3)(dst), .Ls_exc_p3u\@)
338 STORE(t0, UNIT(-2)(dst), .Ls_exc_p2u\@)
339 STORE(t1, UNIT(-1)(dst), .Ls_exc_p1u\@)
352 and rem, len, (NBYTES-1) # rem = len % NBYTES
360 SUB len, len, 4*NBYTES
381 SUB len, len, NBYTES
393 * because can't assume read-access to dst. Instead, use
397 * wide-issue mips processors because the code has fewer branches and
398 * more instruction-level parallelism.
406 SUB bits, bits, rem # bits = number of bits to discard
408 STREST(t0, -1(t1), .Ls_exc\@)
425 SUB t2, t2, t1 # t2 = number of bytes copied
430 SUB len, len, t2
439 and rem, len, (4*NBYTES-1) # rem = len % 4*NBYTES
451 SUB len, len, 4*NBYTES
475 and rem, len, NBYTES-1 # rem = len % NBYTES
483 SUB len, len, NBYTES
499 SUB len, len, 1; \
511 LOADB(t0, NBYTES-2(src), .Ll_exc\@)
512 SUB len, len, 1
514 STOREB(t0, NBYTES-2(dst), .Ls_exc_p1\@)
557 sb t1, 0(dst) # can't fault -- we're copy_from_user
567 SUB len, AT, t0 # len number of uncopied bytes
602 sltu t0, a1, t0 # dst + len <= src -> memcpy
603 sltu t1, a0, t1 # dst >= src + len -> memcpy
620 lb t0, -1(a1)
621 SUB a2, a2, 0x1
622 sb t0, -1(a0)
623 SUB a1, a1, 0x1
625 SUB a0, a0, 0x1
636 SUB a2, a2, 0x1
661 /* Legacy Mode, user <-> user */
669 * virtual <-> physical translation when a virtual address is actually in user