/linux-2.6.39/arch/mips/kernel/ |
D | r4k_fpu.S | 22 .macro EX insn, reg, src macro 40 EX sdc1 $f1, SC_FPREGS+8(a0) 41 EX sdc1 $f3, SC_FPREGS+24(a0) 42 EX sdc1 $f5, SC_FPREGS+40(a0) 43 EX sdc1 $f7, SC_FPREGS+56(a0) 44 EX sdc1 $f9, SC_FPREGS+72(a0) 45 EX sdc1 $f11, SC_FPREGS+88(a0) 46 EX sdc1 $f13, SC_FPREGS+104(a0) 47 EX sdc1 $f15, SC_FPREGS+120(a0) 48 EX sdc1 $f17, SC_FPREGS+136(a0) [all …]
|
D | r2300_fpu.S | 21 #define EX(a,b) \ macro 33 EX(swc1 $f0,(SC_FPREGS+0)(a0)) 34 EX(swc1 $f1,(SC_FPREGS+8)(a0)) 35 EX(swc1 $f2,(SC_FPREGS+16)(a0)) 36 EX(swc1 $f3,(SC_FPREGS+24)(a0)) 37 EX(swc1 $f4,(SC_FPREGS+32)(a0)) 38 EX(swc1 $f5,(SC_FPREGS+40)(a0)) 39 EX(swc1 $f6,(SC_FPREGS+48)(a0)) 40 EX(swc1 $f7,(SC_FPREGS+56)(a0)) 41 EX(swc1 $f8,(SC_FPREGS+64)(a0)) [all …]
|
/linux-2.6.39/arch/sh/lib/ |
D | copy_page.S | 73 #define EX(...) \ macro 104 EX( mov.b @r5+,r1 ) 107 EX( mov.b r1,@r4 ) 183 EX( mov.l @r5+,r1 ) 185 EX( mov.l r1,@r4 ) 190 EX( mov.l @r5+,r0 ) 191 EX( mov.l @r5+,r1 ) 192 EX( mov.l @r5+,r2 ) 193 EX( mov.l @r5+,r7 ) 194 EX( mov.l @r5+,r8 ) [all …]
|
D | memcpy-sh4.S | 29 add #-1,r5 ! 79 EX 33 add #-4,r5 ! 50 EX 35 add #7,r2 ! 79 EX 43 shll16 r3 ! 103 EX 46 shll8 r3 ! 102 EX ! Oxxx 48 shlr8 r6 ! 106 EX ! xNML 51 or r6,r3 ! 82 EX ! ONML 60 shlr16 r3 ! 107 EX 62 shlr8 r3 ! 106 EX ! xxxO 65 shll8 r6 ! 102 EX ! LMNx [all …]
|
/linux-2.6.39/arch/tile/lib/ |
D | memcpy_32.S | 45 #define EX \ macro 125 EX: { lw r3, r1; addi r1, r1, 4; slti_u r8, r2, 16 } label 126 EX: { lw r4, r1; addi r1, r1, 4 } label 127 EX: { sw r0, r3; addi r0, r0, 4; addi r2, r2, -4 } label 128 EX: { sw r0, r4; addi r0, r0, 4; addi r2, r2, -4 } label 134 EX: { lw r3, r1; addi r1, r1, 4 } label 135 EX: { sw r0, r3; addi r0, r0, 4; addi r2, r2, -4 } label 153 EX: { lw r3, r1; addi r1, r1, 4 } label 155 EX: { sw r0, r3; addi r0, r0, 4; addi r2, r2, -4 } label 167 EX: { lw r5, r3; addi r3, r3, 64; movei r4, 1 } label [all …]
|
/linux-2.6.39/arch/xtensa/lib/ |
D | usercopy.S | 68 #define EX(insn,reg1,reg2,offset,handler) \ macro 105 EX(l8ui, a6, a3, 0, l_fixup) 107 EX(s8i, a6, a5, 0, s_fixup) 115 EX(l8ui, a6, a3, 0, l_fixup) 116 EX(l8ui, a7, a3, 1, l_fixup) 118 EX(s8i, a6, a5, 0, s_fixup) 119 EX(s8i, a7, a5, 1, s_fixup) 138 EX(l8ui, a6, a3, 0, l_fixup) 140 EX(s8i, a6, a5, 0, s_fixup) 164 EX(l32i, a6, a3, 0, l_fixup) [all …]
|
D | memset.S | 33 #define EX(insn,reg1,reg2,offset,handler) \ macro 76 EX(s32i, a3, a5, 0, memset_fixup) 77 EX(s32i, a3, a5, 4, memset_fixup) 78 EX(s32i, a3, a5, 8, memset_fixup) 79 EX(s32i, a3, a5, 12, memset_fixup) 87 EX(s32i, a3, a5, 0, memset_fixup) 88 EX(s32i, a3, a5, 4, memset_fixup) 93 EX(s32i, a3, a5, 0, memset_fixup) 98 EX(s16i, a3, a5, 0, memset_fixup) 103 EX(s8i, a3, a5, 0, memset_fixup) [all …]
|
D | strncpy_user.S | 19 #define EX(insn,reg1,reg2,offset,handler) \ macro 78 EX(l8ui, a9, a3, 0, fixup_l) # get byte 0 80 EX(s8i, a9, a11, 0, fixup_s) # store byte 0 88 EX(l8ui, a9, a3, 0, fixup_l) # get byte 0 90 EX(s8i, a9, a11, 0, fixup_s) # store byte 0 95 EX(l8ui, a9, a3, 1, fixup_l) # get byte 0 97 EX(s8i, a9, a11, 0, fixup_s) # store byte 0 120 EX(l32i, a9, a3, 0, fixup_l) # get word from src 125 EX(s32i, a9, a11, 0, fixup_s) # store word to dst 135 EX(l16ui, a9, a3, 0, fixup_l) [all …]
|
D | strnlen_user.S | 18 #define EX(insn,reg1,reg2,offset,handler) \ macro 80 EX(l32i, a9, a4, 4, lenfixup) # get next word of string 91 EX(l32i, a9, a4, 4, lenfixup) # load 4 bytes for remaining checks 128 EX(l8ui, a9, a4, 4, lenfixup) # get byte 0 135 EX(l32i, a9, a4, 0, lenfixup) # get word with first two bytes of string
|
/linux-2.6.39/arch/mips/lib/ |
D | memset.S | 22 #define EX(insn,reg,addr,handler) \ macro 29 EX(LONG_S, \val, (\offset + 0 * LONGSIZE)(\dst), \fixup) 30 EX(LONG_S, \val, (\offset + 1 * LONGSIZE)(\dst), \fixup) 31 EX(LONG_S, \val, (\offset + 2 * LONGSIZE)(\dst), \fixup) 32 EX(LONG_S, \val, (\offset + 3 * LONGSIZE)(\dst), \fixup) 33 EX(LONG_S, \val, (\offset + 4 * LONGSIZE)(\dst), \fixup) 34 EX(LONG_S, \val, (\offset + 5 * LONGSIZE)(\dst), \fixup) 35 EX(LONG_S, \val, (\offset + 6 * LONGSIZE)(\dst), \fixup) 36 EX(LONG_S, \val, (\offset + 7 * LONGSIZE)(\dst), \fixup) 38 EX(LONG_S, \val, (\offset + 8 * LONGSIZE)(\dst), \fixup) [all …]
|
D | strlen_user.S | 13 #define EX(insn,reg,addr,handler) \ macro 31 1: EX(lb, t0, (v0), .Lfault)
|
D | strnlen_user.S | 13 #define EX(insn,reg,addr,handler) \ macro 37 EX(lb, t0, (v0), .Lfault)
|
D | strncpy_user.S | 13 #define EX(insn,reg,addr,handler) \ macro 39 1: EX(lbu, t0, (v1), .Lfault)
|
/linux-2.6.39/arch/alpha/lib/ |
D | clear_user.S | 29 #define EX(x,y...) \ macro 49 0: EX( stq_u $31, 0($6) ) # e0 : zero one word 59 2: EX( stq_u $31, 0($6) ) # e0 : zero four words 61 EX( stq_u $31, 8($6) ) # e0 : 63 EX( stq_u $31, 16($6) ) # e0 : 65 EX( stq_u $31, 24($6) ) # e0 : 75 1: EX( ldq_u $5, 0($6) ) # e0 : 79 EX( stq_u $5, 0($6) ) # e0 : 90 EX( ldq_u $5, 0($6) ) # e0 : load dst word to mask back in 95 EX( stq_u $5, -8($6) ) # e0 : [all …]
|
D | ev6-clear_user.S | 47 #define EX(x,y...) \ macro 79 EX( ldq_u $5, 0($6) ) # .. .. .. L : load dst word to mask back in 84 EX( stq_u $5, -8($6) ) # .. .. .. L : 116 EX( stq_u $31, 0($6) ) # .. .. .. L 153 EX( stq_u $31, 0($6) ) # .. L .. .. 157 EX( stq_u $31, 8($6) ) # L : 158 EX( stq_u $31, 16($6) ) # L : 162 EX( stq_u $31, 24($6) ) # L : 163 EX( stq_u $31, 32($6) ) # L : 168 EX( stq_u $31, 40($6) ) # L : [all …]
|
D | ev67-strlen_user.S | 30 #define EX(x,y...) \ macro 60 EX( ldq_u t0, 0(a0) ) # L : load first quadword (a0 may be misaligned) 80 EX( ldq t0, 8(v0) ) # L :
|
D | strlen_user.S | 19 #define EX(x,y...) \ macro 47 EX( ldq_u t0, 0(a0) ) # load first quadword (a0 may be misaligned) 63 EX( ldq t0, 8(v0) )
|
/linux-2.6.39/arch/ia64/lib/ |
D | memcpy_mck.S | 19 #define EK(y...) EX(y) 154 EX(.ex_handler, (p16) ld8 r34=[src0],16) 156 EX(.ex_handler, (p17) st8 [dst0]=r33,16) 159 EX(.ex_handler, (p16) ld8 r32=[src0],16) 161 EX(.ex_handler, (p16) st8 [dst0]=r34,16) 167 EX(.ex_handler, (p6) ld8 t1=[src0]) 170 EX(.ex_hndlr_s, (p7) ld8 t2=[src1],8) 174 EX(.ex_hndlr_s, (p8) ld8 t3=[src1]) 175 EX(.ex_handler, (p6) st8 [dst0]=t1) // store byte 1 177 EX(.ex_hndlr_d, (p7) st8 [dst1]=t2,8) // store byte 2 [all …]
|
D | copy_user.S | 113 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1) 114 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 195 EX(.failure_in_pipe2,(p16) ld1 val1[0]=[src1],1) 196 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 239 EX(.failure_out,(EPI) st8 [dst1]=tmp,8); \ 241 EX(3f,(p16) ld8 val1[1]=[src1],8); \ 306 EX(.failure_in_pipe1,(p16) ld1 val1[0]=[src1],1) 307 EX(.failure_out,(EPI) st1 [dst1]=val1[PIPE_DEPTH-1],1) 332 EX(.failure_in1,(p6) ld1 val1[0]=[src1],1) // 1-byte aligned 336 EX(.failure_in1,(p7) ld2 val1[1]=[src1],2) // 2-byte aligned [all …]
|
D | clear_user.S | 80 EX( .Lexit1, st1 [buf]=r0,1 ) 104 EX( .Lexit3, (p6) st1 [buf]=r0,1 ) // 1-byte aligned 108 EX( .Lexit3, (p6) st2 [buf]=r0,2 ) // 2-byte aligned 112 EX( .Lexit3, (p6) st4 [buf]=r0,4 ) // 4-byte aligned 116 EX( .Lexit3, (p6) st8 [buf]=r0,8 ) // 8-byte aligned 147 2: EX(.Lexit3, st8 [buf]=r0,16 ) 167 EX( .Lexit2, (p6) st8 [buf]=r0,8 ) // at least 8 bytes 171 EX( .Lexit2, (p7) st4 [buf]=r0,4 ) // at least 4 bytes 175 EX( .Lexit2, (p6) st2 [buf]=r0,2 ) // at least 2 bytes 179 EX( .Lexit2, (p7) st1 [buf]=r0 ) // only 1 byte left
|
D | strncpy_from_user.S | 32 EX(.Lexit, ld1 r8=[in1],1) 34 EX(.Lexit, st1 [in0]=r8,1)
|
/linux-2.6.39/arch/sparc/lib/ |
D | copy_in_user.S | 11 #define EX(x,y) \ macro 47 EX(ldxa [%o1] %asi, %o5) 48 EX(stxa %o5, [%o0] %asi) 56 EX(lduwa [%o1] %asi, %o5) 57 EX(stwa %o5, [%o0] %asi) 73 EX(lduwa [%o1] %asi, %g1) 74 EX(stwa %g1, [%o0] %asi) 85 EX(lduba [%o1] %asi, %g1) 86 EX(stba %g1, [%o0] %asi)
|
D | memset.S | 15 #define EX(x,y,a,b) \ macro 78 EX(stb %g3, [%o0], sub %o1, 0) 82 EX(stb %g3, [%o0 + 0x01], sub %o1, 1) 84 EX(stb %g3, [%o0 + 0x02], sub %o1, 2) 105 EX(st %g3, [%o0], sub %o1, 0) 142 EX(st %g3, [%o0], and %o1, 7) 148 EX(sth %g3, [%o0], and %o1, 3) 152 EX(stb %g3, [%o0], and %o1, 1) 165 EX(stb %g3, [%o0 - 1], add %o1, 1)
|
D | copy_user.S | 22 #define EX(x,y,a,b) \ macro 214 EX(ldd [%o1], %g2, and %g1, 0xf) 217 EX(st %g2, [%o0 - 0x08], and %g1, 0xf) 223 EX(ld [%o1], %g2, and %g1, 7) 225 EX(st %g2, [%o0], and %g1, 7) 231 EX(lduh [%o1], %g2, and %g1, 3) 233 EX(sth %g2, [%o0], and %g1, 3) 239 EX(ldub [%o1], %g2, add %g0, 1) 240 EX(stb %g2, [%o0], add %g0, 1) 337 EX(ldub [%o1], %g2, add %g0, 1) [all …]
|
/linux-2.6.39/arch/ia64/kernel/ |
D | fsys.S | 309 EX(.fail_efault, probe.w.fault r31, 3) 342 EX(.fail_efault, probe.w.fault r23, 3) // This also costs 5 cycles 350 EX(.fail_efault, st8 [r31] = r9) 351 EX(.fail_efault, st8 [r23] = r21) 417 EX(.fail_efault, probe.r.fault r33, 3) // verify user has read-access to *set 418 EX(.fail_efault, ld8 r14=[r33]) // r14 <- *set 513 EX(.fail_efault, (p15) probe.w.fault r34, 3) // verify user has write-access to *oset 514 EX(.fail_efault, (p15) st8 [r34]=r3) 566 EX(.fail_efault, probe.w.fault r32, 3) // M This takes 5 cycles 567 EX(.fail_efault, probe.w.fault r33, 3) // M This takes 5 cycles [all …]
|