/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) 99 clr.l %d1 | sign defaults to zero 103 moveq #1,%d1 105 1: swap %d1 106 move.w #0x3fff+31,%d1 107 move.l %d1,(%a0)+ | set sign / exp 130 move.l %d0,%d1 132 lsr.l #8,%d1 | exponent / sign [all …]
|
H A D | fp_movem.S | 15 * 3. The name of the author may not be used to endorse or promote 46 | %d1 contains the mask and count of the register list 56 1: bfextu %d2{#25,#3},%d0 | dynamic register list 58 2: move.l %d0,%d1 59 swap %d1 61 1: addq.w #1,%d1 | count the # of registers in 62 2: lsr.b #1,%d0 | register list and keep it in %d1 65 printf PDECODE,"#%08x",1,%d1 132 swap %d1 | get fpu register list 142 jra 3f [all …]
|
H A D | fp_decode.h | 15 * 3. The name of the author may not be used to endorse or promote 48 * d1 - upper 16bit are reserved for caller 85 bfextu %d2{#16,#3},%d0 99 bfextu %d2{#19,#3},%d0 104 bfextu %d2{#19,#3},%d0 109 bfextu %d2{#22,#3},%d0 115 bfextu %d2{#10,#3},%d0 130 bfextu %d2{#13,#3},%d0 141 bfextu %d2{#17,#3},%d0 | get the register nr 153 jne 3\@f [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 301 movel SICR, %d1 // D1 = clock settings in SICR 302 andl clocking_mask(%d0), %d1 305 orl clocking_txfromrx(%d0), %d1 309 orl clocking_ext(%d0), %d1 [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 111 d1 = p1[1]; /* ... in bursts, if possible. */ in xor_32regs_2() 113 d3 = p1[3]; in xor_32regs_2() 119 d1 ^= p2[1]; in xor_32regs_2() 121 d3 ^= p2[3]; in xor_32regs_2() 127 p1[1] = d1; in xor_32regs_2() [all …]
|
/linux/arch/m68k/fpsp040/ |
H A D | decbin.S | 93 .byte 2,3,2,3 94 .byte 2,3,3,2 95 .byte 3,2,2,3 125 | 2. Calculate absolute value of exponent in d1 by mul and add. 126 | 3. Correct for exponent sign. 134 | (*) d1: accumulator for binary exponent 148 movel ETEMP_HI(%a6),4(%a0) |save words 2 and 3 151 clrl %d1 |zero d1 for accumulator 153 mulul #TEN,%d1 |mul partial product by one digit place 155 addl %d0,%d1 |d1 = d1 + d0 [all …]
|
H A D | do_func.S | 80 bfextu STAG(%a6){#0:#3},%d1 81 lsll #3,%d0 |make room for STAG 82 addl %d1,%d0 |combine for final index into table 86 movel USER_FPCR(%a6),%d1 87 andl #0xFF,%d1 | discard all but rounding mode/prec 275 bfextu STAG(%a6){#0:#3},%d0 |stag = d0 276 bfextu DTAG(%a6){#0:#3},%d1 |dtag = d1 282 bclrl #2,%d1 284 lslb #2,%d1 285 orb %d0,%d1 |d1{3:2} = dtag, d1{1:0} = stag [all …]
|
H A D | smovecr.S | 46 bfextu USER_FPCR(%a6){#26:#2},%d1 |get rmode 58 cmpib #0x3f,%d0 |check range $30 - $3f 64 tstb %d1 |offset is zero, check for rmode 66 cmpib #0x3,%d1 |check for rp 67 beqs PI_RP |if 3, rp mode 79 tstb %d1 |check for rmode 81 cmpib #0x3,%d1 |check for rp 82 beqs SM_RP |if 3, rp mode 87 bra no_finx |if 3, it is exact 92 bra no_finx |if 3, it is exact [all …]
|
H A D | gen_except.S | 76 bfextu CMDREG1B(%a6){#13:#1},%d1 |extract bit 2 77 lsll #5,%d1 78 swap %d1 79 orl %d1,%d0 |put it in the right place 80 bfextu CMDREG1B(%a6){#10:#3},%d1 |extract bit 3,4,5 81 lsll #2,%d1 82 swap %d1 83 orl %d1,%d0 |put them in the right place 155 bfffo %d0{#24:#8},%d1 |test for first set bit 157 subib #24,%d1 |normalize bit offset to 0-8 [all …]
|
H A D | binstr.S | 30 | d1. 36 | into d2:d3. D1 will contain the bcd digit formed. 50 | d1: temp used to form the digit 87 | A3. Multiply d2:d3 by 8; extract msbs into d1. 89 bfextu %d2{#0:#3},%d1 |copy 3 msbs of d2 into d1 90 asll #3,%d2 |shift d2 left by 3 places 91 bfextu %d3{#0:#3},%d6 |copy 3 msbs of d3 into d6 92 asll #3,%d3 |shift d3 left by 3 places 95 | A4. Multiply d4:d5 by 2; add carry out to d1. 100 addxw %d6,%d1 |add in extend from mul by 2 [all …]
|
H A D | x_snan.S | 45 moveml %d0-%d1/%a0-%a1,USER_DA(%a6) 72 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 105 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 133 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 146 bfextu CMDREG1B(%a6){#3:#3},%d0 |move rx field to d0{2:0} 164 movel ETEMP_HI(%a6),%d1 169 bsetl #30,%d1 176 movel %d1,-(%a7) |move the snan onto the stack 180 movel (%a7)+,%d1 |clear off stack 186 movel ETEMP_HI(%a6),%d1 [all …]
|
H A D | res_func.S | 94 | monadic instructions: fabs = $18 fneg = $1a ftst = $3a 207 movew LOCAL_EX(%a0),%d1 |compare exponent to double threshold 208 andw #0x7fff,%d1 209 cmpw #0x3c01,%d1 211 bfextu FPCR_MODE(%a6){#2:#2},%d1 |get rmode 212 orl #0x00020000,%d1 |or in rprec (double) 221 movew LOCAL_EX(%a0),%d1 |check for overflow 222 andw #0x7fff,%d1 223 cmpw #0x43ff,%d1 231 movew LOCAL_EX(%a0),%d1 [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 38 moveql #7,%d1 39 subl %d0,%d1 |d1 = 7- (dest. reg. no.) 41 bsetl %d1,%d0 |d0 is dynamic register mask 67 bfextu CMDREG1B(%a6){#6:#3},%d0 |extract destination register 68 cmpib #3,%d0 |check for fp0/fp1 cases 71 moveql #7,%d1 72 subl %d0,%d1 |d1 = 7- (dest. reg. no.) 74 bsetl %d1,%d0 |d0 is dynamic register mask
|
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 236 | ; 0 = exp > $3fff 237 | ; 1 = exp <= $3fff 264 | ; 0 = exp > $3fff 265 | ; 1 = exp <= $3fff 281 movew #0x3f81,%d1 |write bias for sgl denorm [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 73 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 101 bfextu CMDREG3B(%a6){#6:#3},%d0 |get dest reg no 108 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 122 bfextu CMDREG3B(%a6){#6:#3},%d0 |get dest reg no 127 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 134 moveml USER_DA(%a6),%d0-%d1/%a0-%a1 163 movew CMDREG3B(%a6),%d1 |check for fsgldiv or fsglmul 164 andiw #0x7f,%d1 [all …]
|
H A D | bugfix.S | 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 215 cmpb %d0,%d1 |cmp 1st dest with 2nd dest 217 bfextu CMDREG1B(%a6){#3:#3},%d0 |get 1st src 218 cmpb %d0,%d1 |cmp 1st src with 2nd dest 225 bfextu CMDREG1B(%a6){#3:#3},%d0 |get source register no [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 448 #define D1 %v7 macro 508 VAF D1,K3,T1 # K[3]+1 509 VAF D2,K3,T2 # K[3]+2 510 VAF D3,K3,T3 # K[3]+3 511 VAF D4,D2,T2 # K[3]+4 [all …]
|
/linux/arch/x86/crypto/ |
H A D | poly1305-x86_64-cryptogams.pl | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 101 if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|.*based on LLVM) ([3-9]\.[0-9]+)/) { 148 .long 2,2,2,3,2,0,2,1 150 .long 0,0,0,1, 0,2,0,3, 0,4,0,5, 0,6,0,7 153 .long 0,1,1,2,2,3,7,7 179 my ($d1,$d2,$d3, $r0,$r1,$s1)=("%r8","%r9","%rdi","%r11","%r12","%r13"); 194 mov %rdx,$d1 204 adc %rdx,$d1 208 mov $d1,$h1 219 and \$3,$h2 [all …]
|
/linux/arch/m68k/68000/ |
H A D | entry.S | 47 movel %sp@(PT_OFF_ORIG_D0),%d1 49 cmpl #NR_syscalls,%d1 51 lsl #2,%d1 53 jbsr %a0@(%d1) 73 movel %sp,%d1 /* get thread_info pointer */ 74 andl #-THREAD_SIZE,%d1 75 movel %d1,%a2 99 movel %sp,%d1 /* get thread_info pointer */ 100 andl #-THREAD_SIZE,%d1 101 movel %d1,%a2 [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/arch/m68k/kernel/ |
H A D | relocate_kernel.S | 16 movel %sp@(12),%d1 /* d1 = cpu_mmu_flags */ 21 btst #MMU_BASE + MMUB_68851,%d1 22 jeq 3f 40 3: 41 btst #MMU_BASE + MMUB_68030,%d1 44 btst #MMU_BASE + MMUB_68040,%d1 77 btst #MMU_BASE + MMUB_68060,%d1 101 btst #3,%d0 /* entry & IND_SOURCE? */ 107 3: 116 dbf %d0, 3b [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/mips/crypto/ |
H A D | poly1305-mips.pl | 2 # SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause 43 ($gp,$tp,$sp,$fp,$ra)=map("\$$_",(3,28..31)); 56 # ($zero,$at,$v0,$v1)=map("\$$_",(0..3)); 133 sll $tmp0,$tmp0,3 # byte to bit offset 209 daddiu $tmp0,-3 # 0x0ffffffc0ffffffc 226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) = 273 sll $shr,$shr,3 # byte to bit offset 361 andi $h2,$h2,3 369 daddu $d1,$h1,$in1 371 sltu $tmp1,$d1,$h1 [all …]
|
/linux/arch/m68k/ifpsp060/src/ |
H A D | fpsp.S | 314 set EXC_A3, EXC_AREGS+(3*4) 322 set EXC_D3, EXC_DREGS+(3*4) 361 set FPSR_AEXCEPT, USER_FPSR+3 # FPSR accrued exception byte 365 set FPCR_MODE, USER_FPCR+3 # FPCR rounding mode control 367 set L_SCR3, LV+28 # integer scratch 3 448 set unfl_bit, 3 # underflow 457 set ainex_bit, 3 # accrued inexact bit 592 # fout() - emulate an opclass 3 instruction # 622 # the default result (only if the instruction is opclass 3). For # 645 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1 [all …]
|
/linux/arch/arm64/crypto/ |
H A D | poly1305-armv8.pl | 2 # SPDX-License-Identifier: GPL-1.0+ OR BSD-3-Clause 44 my ($ctx,$inp,$len,$padbit) = map("x$_",(0..3)); 47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14)); 96 adr $d1,.Lpoly1305_emit 101 stp w#$d0,w#$d1,[$len] 103 stp $d0,$d1,[$len] 124 mov w#$d1,w#$h0 130 lsr $d1,$h0,#32 136 add $d0,$d0,$d1,lsl#26 // base 2^26 -> base 2^64 137 lsr $d1,$d2,#12 [all …]
|