/linux/arch/m68k/math-emu/ |
H A D | fp_util.S | 15 * 3. The name of the author may not be used to endorse or promote 49 * something here. %d0 and %d1 is always usable, sometimes %d2 (or 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 70 2: clr.l %d0 94 | args: %d0 = source (32-bit long) 98 printf PCONV,"l2e: %p -> %p(",2,%d0,%a0 100 tst.l %d0 104 neg.l %d0 108 move.l %d0,(%a0)+ | set mantissa 125 | args: %d0 = source (single-precision fp value) [all …]
|
H A D | fp_decode.h | 15 * 3. The name of the author may not be used to endorse or promote 46 * d0 - will contain source operand for data direct mode, 73 bfextu %d2{#8,#2},%d0 74 jmp ([0f:w,%pc,%d0*4]) 85 bfextu %d2{#16,#3},%d0 86 jmp ([0f:w,%pc,%d0*4]) 99 bfextu %d2{#19,#3},%d0 104 bfextu %d2{#19,#3},%d0 109 bfextu %d2{#22,#3},%d0 115 bfextu %d2{#10,#3},%d0 [all …]
|
H A D | fp_movem.S | 15 * 3. The name of the author may not be used to endorse or promote 54 bfextu %d2{#24,#8},%d0 | static register list 56 1: bfextu %d2{#25,#3},%d0 | dynamic register list 58 2: move.l %d0,%d1 62 2: lsr.b #1,%d0 | register list and keep it in %d1 114 jmp ([0f:w,%pc,%d0*4]) 134 moveq #12,%d0 137 lea (-12,%a1,%d0*8),%a1 138 neg.l %d0 142 jra 3f [all …]
|
/linux/arch/m68k/kernel/ |
H A D | relocate_kernel.S | 22 jeq 3f 34 pmove %tc,%d0 /* Disable MMU */ 35 bclr #7,%d0 36 pmove %d0,%tc 40 3: 56 movel %a4,%d0 57 andl #0xff000000,%d0 58 orw #0xe020,%d0 /* Map 16 MiB, enable, cacheable */ 60 movec %d0,%itt0 61 movec %d0,%dtt0 [all …]
|
H A D | entry.S | 104 movel %d0,%sp | discard the leftover junk 107 | return pt_regs.d0 108 movel %sp@(PT_OFF_D0+4),%d0 113 GET_CURRENT(%d0) 121 GET_CURRENT(%d0) 152 GET_CURRENT(%d0) 168 moveq #__NR_sigreturn,%d0 172 movel #__NR_rt_sigreturn,%d0 184 addql #1,%d0 | optimization for cmpil #-1,%d0 186 movel %sp@(PT_OFF_ORIG_D0),%d0 [all …]
|
H A D | head.S | 51 * 3) Increase readability of the code 288 /* #define FONT_6x11 */ /* 3rd choice */ 304 CPUTYPE_0460 = 3 /* if either above are set, this is set */ 471 func_define console_plot_pixel,3 542 #define is_040_or_060(lab) btst &CPUTYPE_0460,%pc@(L(cputype)+3); jne lab 543 #define is_not_040_or_060(lab) btst &CPUTYPE_0460,%pc@(L(cputype)+3); jeq lab 544 #define is_040(lab) btst &CPUTYPE_040,%pc@(L(cputype)+3); jne lab 545 #define is_060(lab) btst &CPUTYPE_060,%pc@(L(cputype)+3); jne lab 546 #define is_not_060(lab) btst &CPUTYPE_060,%pc@(L(cputype)+3); jeq lab 547 #define is_020(lab) btst &CPUTYPE_020,%pc@(L(cputype)+3); jne lab [all …]
|
/linux/arch/m68k/fpsp040/ |
H A D | x_store.S | 41 movel CMDREG3B(%a6),%d0 42 bfextu %d0{#6:#3},%d0 |isolate dest. reg from cmdreg3b 45 moveb (%a1,%d0.w),%d0 |convert reg# to dynamic register mask 50 fmovemx (%a0),%d0 |move to correct register 56 cmpb #0x80,%d0 61 cmpb #0x40,%d0 66 cmpb #0x20,%d0 71 cmpb #0x10,%d0 79 bsrl g_opcls |returns opclass in d0 80 cmpib #3,%d0 [all …]
|
H A D | sto_res.S | 34 bfextu CMDREG1B(%a6){#13:#3},%d0 |extract cos destination 35 cmpib #3,%d0 |check for fp0/fp1 cases 39 subl %d0,%d1 |d1 = 7- (dest. reg. no.) 40 clrl %d0 41 bsetl %d1,%d0 |d0 is dynamic register mask 42 fmovemx (%a7)+,%d0 45 cmpib #0,%d0 47 cmpib #1,%d0 49 cmpib #2,%d0 67 bfextu CMDREG1B(%a6){#6:#3},%d0 |extract destination register [all …]
|
H A D | util.S | 106 movew CMDREG3B(%a6),%d0 |get the command word 107 andiw #0x00000060,%d0 |clear all bits except 6 and 5 108 cmpil #0x00000040,%d0 110 cmpil #0x00000060,%d0 112 movew CMDREG3B(%a6),%d0 |get the command word again 113 andil #0x7f,%d0 |clear all except operation 114 cmpil #0x33,%d0 116 cmpil #0x30,%d0 121 movew CMDREG1B(%a6),%d0 |get command word 122 andil #0x00000044,%d0 |clear all bits except 6 and 2 [all …]
|
H A D | bugfix.S | 180 moveb CU_SAVEPC(%a6),%d0 181 andib #0xFE,%d0 193 movew CMDREG1B(%a6),%d0 194 andiw #0xE000,%d0 |strip all but opclass 200 bfextu CMDREG1B(%a6){#3:#3},%d0 |get 1st src 201 bfextu CMDREG3B(%a6){#6:#3},%d1 |get 3rd dest 202 cmpb %d0,%d1 208 bfextu CMDREG1B(%a6){#6:#3},%d0 |get 1st dest 209 cmpb %d0,%d1 |cmp 1st dest with 3rd dest 214 bfextu CMDREG2B(%a6){#6:#3},%d1 |get 2nd dest [all …]
|
H A D | smovecr.S | 45 bfextu CMDREG1B(%a6){#9:#7},%d0 |get offset 50 tstb %d0 |if zero, offset is to pi 52 cmpib #0x0a,%d0 |check range $01 - $0a 54 cmpib #0x0e,%d0 |check range $0b - $0e 56 cmpib #0x2f,%d0 |check range $10 - $2f 58 cmpib #0x3f,%d0 |check range $30 - $3f 67 beqs PI_RP |if 3, rp mode 78 subil #0xb,%d0 |make offset in 0 - 4 range 82 beqs SM_RP |if 3, rp mode 85 cmpib #0x2,%d0 |check if result is inex [all …]
|
H A D | decbin.S | 93 .byte 2,3,2,3 94 .byte 2,3,3,2 95 .byte 3,2,2,3 126 | 3. Correct for exponent sign. 133 | (*) d0: temp digit storage 148 movel ETEMP_HI(%a6),4(%a0) |save words 2 and 3 154 bfextu %d4{%d3:#4},%d0 |get the digit and zero extend into d0 155 addl %d0,%d1 |d1 = d1 + d0 157 dbf %d2,e_gd |if we have used all 3 digits, exit loop 179 | (*) d0: temp digit storage [all …]
|
H A D | sgetem.S | 49 movew LOCAL_EX(%a0),%d0 |get the exponent 50 bclrl #15,%d0 |clear the sign bit 51 subw #0x3fff,%d0 |subtract off the bias 52 fmovew %d0,%fp0 |move the exp to fp0 59 movew LOCAL_EX(%a0),%d0 |load resulting exponent into d0 60 subw #0x3fff,%d0 |subtract off the bias 61 fmovew %d0,%fp0 |move the exp to fp0 74 | with an exponent of +/- $3fff. 78 movel USER_FPCR(%a6),%d0 79 andil #0xffffff00,%d0 |clear rounding precision and mode [all …]
|
H A D | get_op.S | 9 | determines the opclass (0, 2, or 3) and branches to the 17 | - For unnormalized numbers (opclass 0, 2, or 3) the 30 | - If there is a move out with a packed number (opclass 3) the 181 bfextu CMDREG1B(%a6){#3:#3},%d0 182 cmpb #3,%d0 195 bfextu CMDREG1B(%a6){#0:#6},%d0 |get opclass and src fields 196 cmpil #0x17,%d0 |if op class and size fields are $17, 210 moveb STAG(%a6),%d0 211 orb DTAG(%a6),%d0 |check if either of STAG/DTAG msb set 225 movew FPTEMP_EX(%a6),%d0 |get destination exponent [all …]
|
H A D | bindec.S | 2 | bindec.sa 3.4 1/3/91 12 | value in memory; d0 contains the k-factor sign-extended 112 | d0: scratch; LEN input to binstr 154 .byte 3,3,2,2 155 .byte 3,2,2,3 156 .byte 2,3,3,2 177 movel %d0,%d7 |move k-factor to d7 179 movew STAG(%a6),%d0 |get stag 180 andiw #0xe000,%d0 |isolate stag bits 186 movew (%a0),%d0 [all …]
|
H A D | x_operr.S | 67 moveml %d0-%d1/%a0-%a1,USER_DA(%a6) 72 | Check if this is an opclass 3 instruction. 82 movel CMDREG1B(%a6),%d0 83 bfextu %d0{#3:#3},%d0 |0=long, 4=word, 6=byte 84 cmpib #0,%d0 |determine size; check long 86 cmpib #4,%d0 |check word 88 cmpib #6,%d0 |check byte 101 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 110 moveb STAG(%a6),%d0 |test stag for nan 111 andib #0xe0,%d0 |clr all but tag [all …]
|
H A D | x_snan.S | 45 moveml %d0-%d1/%a0-%a1,USER_DA(%a6) 63 moveb FPCR_ENABLE(%a6),%d0 64 andb FPSR_EXCEPT(%a6),%d0 65 andib #0x3,%d0 72 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 92 moveql #13,%d0 |need to zero 14 lwords 95 moveql #11,%d0 |need to zero 12 lwords 100 dbra %d0,loop1 105 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 120 moveql #13,%d0 |need to zero 14 lwords [all …]
|
H A D | res_func.S | 94 | monadic instructions: fabs = $18 fneg = $1a ftst = $3a 99 movew CMDREG1B(%a6),%d0 |get command register 100 andil #0x7f,%d0 |strip to only command word 107 btstl #0,%d0 116 movew CMDREG1B(%a6),%d0 117 andib #0x3b,%d0 |isolate bits to select inst 118 tstb %d0 120 cmpib #0x18,%d0 122 cmpib #0x1a,%d0 129 movew LOCAL_EX(%a0),%d0 [all …]
|
H A D | stanh.S | 13 | Accuracy and Monotonicity: The returned result is within 3 ulps in 23 | 1. If |X| >= (5/2) log2 or |X| <= 2**(-40), go to 3. 30 | 3. (|X| <= 2**(-40) or |X| >= (5/2) log2). If |X| < 1, 87 movel (%a0),%d0 88 movew 4(%a0),%d0 89 movel %d0,X(%a6) 90 andl #0x7FFFFFFF,%d0 91 cmp2l BOUNDS1(%pc),%d0 | ...2**(-40) < |X| < (5/2)LOG2 ? 97 movel X(%a6),%d0 98 movel %d0,SGN(%a6) [all …]
|
H A D | x_unfl.S | 48 moveml %d0-%d1/%a0-%a1,USER_DA(%a6) 67 bfextu CMDREG3B(%a6){#6:#3},%d0 |get dest reg no 68 bclrb %d0,FPR_DIRTY_BITS(%a6) |clr dest dirty bit 73 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 86 moveb FPCR_ENABLE(%a6),%d0 87 andb FPSR_EXCEPT(%a6),%d0 88 andib #0x3,%d0 101 bfextu CMDREG3B(%a6){#6:#3},%d0 |get dest reg no 102 bclrb %d0,FPR_DIRTY_BITS(%a6) |clr dest dirty bit 108 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 [all …]
|
/linux/arch/s390/crypto/ |
H A D | chacha-s390.S | 23 .long 3,0,0,0 26 .long 0,1,2,3 102 VREPF XB3,K1,3 107 VREPF XD3,K3,3 113 VREPF XC3,K2,3 443 #define D0 %v3 macro 507 VLR D0,K3 508 VAF D1,K3,T1 # K[3]+1 509 VAF D2,K3,T2 # K[3]+2 510 VAF D3,K3,T3 # K[3]+3 [all …]
|
/linux/arch/m68k/68000/ |
H A D | entry.S | 45 addql #1,%d0 48 movel #-ENOSYS,%d0 55 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */ 71 movel %sp@(PT_OFF_ORIG_D0),%d0 78 cmpl #NR_syscalls,%d0 80 lsl #2,%d0 82 movel %a0@(%d0), %a0 84 movel %d0,%sp@(PT_OFF_D0) /* save the return value*/ 127 movew %sp@(PT_OFF_FORMATVEC), %d0 128 and #0x3ff, %d0 [all …]
|
/linux/drivers/net/wan/ |
H A D | wanxlfw.S | 17 0x3C0 - 0x410 TX#3 0x410 - 0x500 RX#3 25 E00 EBF 192 Bytes Dual-Port RAM Parameter RAM Page 3 31 PCI9060 DMA and PCI doorbells 3 125 addl #3, \len 135 addl #3, \len 151 beq 99f // only 0 - 3 bytes 197 movel OR1, %d0 198 andl #0xF00007FF, %d0 // mask AMxx bits 199 orl #0xFFFF800 & ~(MAX_RAM_SIZE - 1), %d0 // update RAM bank size 200 movel %d0, OR1 [all …]
|
/linux/arch/x86/lib/ |
H A D | string_32.c | 21 int d0, d1, d2; in strcpy() local 26 : "=&S" (d0), "=&D" (d1), "=&a" (d2) in strcpy() 36 int d0, d1, d2, d3; in strncpy() local 46 : "=&S" (d0), "=&D" (d1), "=&c" (d2), "=&a" (d3) in strncpy() 56 int d0, d1, d2, d3; in strcat() local 64 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strcat() 65 : "0" (src), "1" (dest), "2" (0), "3" (0xffffffffu) : "memory"); in strcat() 74 int d0, d1, d2, d3; in strncat() local 78 "movl %8,%3\n" in strncat() 79 "1:\tdecl %3\n\t" in strncat() [all …]
|
/linux/include/asm-generic/ |
H A D | xor.h | 20 p1[3] ^= p2[3]; in xor_8regs_2() 41 p1[3] ^= p2[3] ^ p3[3]; in xor_8regs_3() 64 p1[3] ^= p2[3] ^ p3[3] ^ p4[3]; in xor_8regs_4() 89 p1[3] ^= p2[3] ^ p3[3] ^ p4[3] ^ p5[3]; in xor_8regs_5() 109 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_2() local 110 d0 = p1[0]; /* Pull the stuff into registers */ in xor_32regs_2() 113 d3 = p1[3]; in xor_32regs_2() 118 d0 ^= p2[0]; in xor_32regs_2() 121 d3 ^= p2[3]; in xor_32regs_2() 126 p1[0] = d0; /* Store the result (in bursts) */ in xor_32regs_2() [all …]
|