Home
last modified time | relevance | path

Searched full:d2 (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/linux-6.12.1/arch/m68k/math-emu/
Dfp_util.S49 * something here. %d0 and %d1 is always usable, sometimes %d2 (or
237 move.w (FPD_RND,FPDATA),%d2
238 jne fp_e2e_roundother | %d2 == 0, round to nearest
257 subq.w #2,%d2
258 jcs 9b | %d2 < 2, round to zero
259 jhi 1f | %d2 > 2, round to +infinity
289 move.w -(%a0),%d2
290 sub.w %d1,%d2
293 add.w %d2,%d1
294 clr.w %d2
[all …]
Dfp_movem.S52 btst #11,%d2
54 bfextu %d2{#24,#8},%d0 | static register list
56 1: bfextu %d2{#25,#3},%d0 | dynamic register list
67 btst #12,%d2
72 2: btst #13,%d2
135 btst #12,%d2
139 1: btst #13,%d2
144 getuser.l (%a0)+,%d2,fp_err_ua1,%a0
145 lsr.l #8,%d2
146 lsr.l #7,%d2
[all …]
Dfp_decode.h51 * d2 - contains first two instruction words,
73 bfextu %d2{#8,#2},%d0
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
135 move.b %d2,%d0
141 bfextu %d2{#17,#3},%d0 | get the register nr
[all …]
Dfp_move.S84 move.l %d1,%d2
99 swap %d2
100 move.w %d2,%d0
103 move.w %d2,%d1
111 swap %d2
112 move.w %d2,%d0
115 move.l %d2,%d1
122 swap %d2
123 move.w %d2,%d1
130 swap %d2
[all …]
/linux-6.12.1/arch/m68k/lib/
Dudivsi3.S69 #define d2 REG (d2) macro
90 movel d2, sp@-
96 movel d0, d2
97 clrw d2
98 swap d2
99 divu d1, d2 /* high quotient in lower word */
100 movew d2, d0 /* save high quotient */
102 movew sp@(10), d2 /* get low dividend + high rest */
103 divu d1, d2 /* low quotient */
104 movew d2, d0
[all …]
Ddivsi3.S71 #define d2 REG (d2) macro
91 movel d2, sp@-
93 moveq IMM (1), d2 /* sign of result stored in d2 (=1 or =-1) */
98 negb d2 /* change sign because divisor <0 */
100 negl d2 /* change sign because divisor <0 */
106 negb d2
108 negl d2
116 tstb d2
120 L3: movel sp@+, d2
/linux-6.12.1/drivers/block/
Dswim_asm.S65 movew #seek_time, %d2
81 dbmi %d2, wait_addr_mark_byte
89 moveq #max_retry, %d2
92 dbmi %d2, amark0
97 moveq #max_retry, %d2
100 dbmi %d2, amark1
105 moveq #max_retry, %d2
108 dbmi %d2, amark2
113 moveq #max_retry, %d2
116 dbmi %d2, amark3
[all …]
/linux-6.12.1/drivers/net/wan/
Dwanxlfw.S319 movel #TX_BUFFERS - 2, %d2 // D2 = TX_BUFFERS - 1 counter
328 dbfw %d2, open_port_tx_loop
335 movel #RX_BUFFERS - 2, %d2 // D2 = RX_BUFFERS - 1 counter
340 dbfw %d2, open_port_rx_loop
452 movel %d1, %d2 // D1 = D2 = tx_out BD# = desc#
453 mulul #DESC_LENGTH, %d2 // D2 = TX desc offset
454 addl ch_status_addr(%d0), %d2
455 addl #STATUS_TX_DESCS, %d2 // D2 = TX desc address
456 cmpl #PACKET_FULL, (%d2) // desc status
460 movel 4(%d2), %a0 // PCI address
[all …]
/linux-6.12.1/arch/m68k/fpsp040/
Dround.S144 moveml %d2/%d3,-(%a7) |make some temp registers
149 movel #30,%d2 |of the sgl prec. limits
150 lsll %d2,%d3 |shift g-r bits to MSB of d3
151 movel LOCAL_HI(%a0),%d2 |get word 2 for s-bit test
152 andil #0x0000003f,%d2 |s bit is the or of all other
161 movel #30,%d2 |of the dbl prec. limits
162 lsll %d2,%d3 |shift g-r bits to the MSB of d3
163 movel LOCAL_LO(%a0),%d2 |get lower mantissa for s-bit test
164 andil #0x000001ff,%d2 |s bit is the or-ing of all
173 moveml (%a7)+,%d2/%d3 |restore scratch registers
[all …]
Dbinstr.S7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
26 | Copy the fraction in d2:d3 to d4:d5.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
29 | extracts and shifts. The three msbs from d2 will go into
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
36 | into d2:d3. D1 will contain the bcd digit formed.
51 | d2: upper 32-bits of fraction for mul by 8
81 | A2. Copy d2:d3 to d4:d5. Start loop.
84 movel %d2,%d4 |copy the fraction before muls
87 | A3. Multiply d2:d3 by 8; extract msbs into d1.
[all …]
Dsrem_mod.S110 moveml %d2-%d7,-(%a7) | ...save data registers
164 movel -4(%a0),%d2 | ...(D0,D1,D2) is |X|
172 movel %d2,%d1
173 clrl %d2
178 subl %d6,%d0 | ...(D0,D1,D2) is normalized
187 movel %d2,%d7 | ...a copy of D2
188 lsll %d6,%d2
192 orl %d7,%d1 | ...(D0,D1,D2) normalized
197 addil #0x00003FFE,%d0 | ...(D0,D1,D2) normalized
210 |..(Carry,D1,D2) is R
[all …]
Ddecbin.S11 | Saves and Modifies: D2-D5
121 moveml %d2-%d5,-(%a7)
135 | (*) d2: digit count
144 movel #EDIGITS,%d2 |# of nibbles (digits) in fraction part
157 dbf %d2,e_gd |if we have used all 3 digits, exit loop
181 | (*) d2: digit count
208 moveql #FNIBS,%d2 |reset number of digits per a0 ptr
215 | If all the digits (8) in that long word have been converted (d2=0),
217 | to initialize the digit offset, and set d2 to 7 for the digit count;
221 dbf %d2,md2b |check for last digit in this lw
[all …]
Dscale.S170 movel %d2,-(%a7) |free d2 for norm
172 movel FPTEMP_LO(%a6),%d2
177 roxrl #1,%d2 |mantissa to the right
198 movel %d2,FPTEMP_LO(%a6)
199 movel (%a7)+,%d2
301 moveml %d2/%d3,-(%a7)
303 movel FPTEMP_HI(%a6),%d2
306 tstl %d2 |test for normalized result
312 roxll #1,%d2
325 moveml %d2,FPTEMP_HI(%a6)
[all …]
/linux-6.12.1/arch/m68k/ifpsp060/src/
Ditest.S170 mov.l &0x99999999,%d2
177 mulu.l %d1,%d2:%d3
194 mov.l &0x99999999,%d2
201 mulu.l %d1,%d2:%d3
218 mov.l &0x66666666,%d2
224 mulu.l %d1,%d2:%d2
240 mov.l &0x00000000,%d2
247 mulu.l %d1,%d2:%d3
264 mov.l &0x00000000,%d2
271 mulu.l %d1,%d2:%d3
[all …]
Dilsp.S111 movm.l &0x3f00,-(%sp) # save d2-d7
126 movm.l &0x3f00,-(%sp) # save d2-d7
235 movm.l (%sp)+,&0x00fc # restore d2-d7
260 movm.l (%sp)+,&0x00fc # restore d2-d7
343 mov.l %d5, %d2 # dividend mslw
344 swap %d2
346 cmp.w %d2, %d3 # V1 = U1 ?
365 mov.l %d1, %d2
366 mulu.w %d7, %d2 # V2q
382 cmp.l %d2, %d4
[all …]
/linux-6.12.1/arch/s390/crypto/
Dchacha-s390.S453 #define D2 %v11 macro
509 VAF D2,K3,T2 # K[3]+2
511 VAF D4,D2,T2 # K[3]+4
512 VAF D5,D2,T3 # K[3]+5
522 VLR T2,D2
534 VX D2,D2,A2
540 VERLLF D2,D2,16
547 VAF C2,C2,D2
572 VX D2,D2,A2
578 VERLLF D2,D2,8
[all …]
/linux-6.12.1/include/asm-generic/
Dxor.h109 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_2() local
112 d2 = p1[2]; in xor_32regs_2()
120 d2 ^= p2[2]; in xor_32regs_2()
128 p1[2] = d2; in xor_32regs_2()
147 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_3() local
150 d2 = p1[2]; in xor_32regs_3()
158 d2 ^= p2[2]; in xor_32regs_3()
166 d2 ^= p3[2]; in xor_32regs_3()
174 p1[2] = d2; in xor_32regs_3()
195 register long d0, d1, d2, d3, d4, d5, d6, d7; in xor_32regs_4() local
[all …]
/linux-6.12.1/arch/mips/crypto/
Dpoly1305-mips.pl226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
375 daddu $d2,$h2,$padbit
381 daddu $d2,$tmp1
382 daddu $d2,$tmp0
399 dmultu ($rs1,$d2) # h2*5*r1
402 mflo ($tmp2,$rs1,$d2)
404 dmultu ($r0,$d2) # h2*r0
407 mflo ($tmp3,$r0,$d2)
735 my ($d0,$d1,$d2,$d3) =
800 lw $d2,8($inp)
[all …]
/linux-6.12.1/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl179 my ($d1,$d2,$d3, $r0,$r1,$s1)=("%r8","%r9","%rdi","%r11","%r12","%r13");
187 mov %rax,$d2
197 add %rax,$d2
207 add $h1,$d2
212 add $d2,$h1
419 my ($H0,$H1,$H2,$H3,$H4, $T0,$T1,$T2,$T3,$T4, $D0,$D1,$D2,$D3,$D4, $MASK) =
452 mov $r0,$d2
457 shr \$26,$d2
462 and $d2#d,%edx
470 shr \$26,$d2
[all …]
/linux-6.12.1/lib/842/
D842_decompress.c23 { D4, D2, I2, N0 },
24 { D4, I2, D2, N0 },
27 { D2, I2, D4, N0 },
28 { D2, I2, D2, I2 },
29 { D2, I2, I2, D2 },
30 { D2, I2, I2, I2 },
31 { D2, I2, I4, N0 },
32 { I2, D2, D4, N0 },
34 { I2, D2, I2, D2 },
35 { I2, D2, I2, I2 },
[all …]
/linux-6.12.1/arch/arm/crypto/
Dpoly1305-armv4.pl334 adds $h2,lr,r0 @ d2+=d1>>32
337 adds $h3,r2,r1 @ d3+=d2>>32
496 my ($D0,$D1,$D2,$D3,$D4, $H0,$H1,$H2,$H3,$H4) = map("q$_",(5..14));
550 @ d2 = h2*r0 + h1*r1 + h0*r2 + h4*5*r3 + h3*5*r4
556 vmull.u32 $D2,$R2,${R0}[1]
562 vmlal.u32 $D2,$R1,${R1}[1]
569 vmlal.u32 $D2,$R0,${R2}[1]
575 vmlal.u32 $D2,$R4,${S3}[1]
581 vmlal.u32 $D2,$R3,${S4}[1]
646 vadd.i64 $D2,$D2,$T1 @ h1 -> h2
[all …]
Dcurve25519-core.S31 vst1.8 {d2-d3}, [r6, : 128]!
173 vtrn.32 d2, d10
177 vst1.8 d2, [r2, : 64]
180 vmov.i64 d2, #0xff
183 vst1.8 {d2-d3}, [r2, : 128]!
193 vmov.i64 d2, #0xff
196 vst1.8 {d2-d3}, [r2, : 128]!
202 vld1.8 {d2-d3}, [r2, : 128]!
205 vst1.8 {d2-d3}, [r6, : 128]!
238 vld1.8 {d2}, [r5, : 64]
[all …]
/linux-6.12.1/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
125 lsr $d2,$h1,#32
131 mov w#$d2,w#$h1
137 lsr $d1,$d2,#12
138 adds $d0,$d0,$d2,lsl#52
141 lsr $d2,x16,#24
143 adc $d2,$d2,xzr
149 csel $h2,$h2,$d2,eq
171 umulh $d2,$h0,$r1
175 adc $d2,$d2,xzr
[all …]
/linux-6.12.1/arch/powerpc/kernel/vdso/
Dvgetrandom-chacha.S52 .macro quarterround4 a1 b1 c1 d1 a2 b2 c2 d2 a3 b3 c3 d3 a4 b4 c4 d4
58 xor \d2, \d2, \a2
62 rotlwi \d2, \d2, 16
66 add \c2, \c2, \d2
82 xor \d2, \d2, \a2
86 rotlwi \d2, \d2, 8
90 add \c2, \c2, \d2
103 #define QUARTERROUND4(a1,b1,c1,d1,a2,b2,c2,d2,a3,b3,c3,d3,a4,b4,c4,d4) \ argument
105 state##a2 state##b2 state##c2 state##d2 \
/linux-6.12.1/drivers/iio/adc/
Dtwl6030-gpadc.c566 * The difference(d1, d2) between ideal and measured codes stored in trim
570 * gain: k = 1 + ((d2 - d1) / (x2 - x1))
574 int channel, int d1, int d2) in twl6030_calibrate_channel() argument
589 k = 1000 + (((d2 - d1) * 1000) / (x2 - x1)); in twl6030_calibrate_channel()
599 dev_dbg(gpadc->dev, "GPADC d2 for Chn: %d = %d\n", channel, d2); in twl6030_calibrate_channel()
626 s8 d1, d2; in twl6030_calibration() local
647 d2 = trim_regs[1]; in twl6030_calibration()
655 d2 = trim_regs[5]; in twl6030_calibration()
659 d2 = trim_regs[13]; in twl6030_calibration()
663 d2 = trim_regs[7]; in twl6030_calibration()
[all …]

12345678910>>...20