Home
last modified time | relevance | path

Searched full:d1 (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/linux/arch/m68k/fpsp040/
H A Dround.S24 | d1(high word) contains rounding precision:
28 | d1(low word) contains rounding mode:
55 swap %d1 |set up d1.w for round prec.
64 movel (%a1,%d1.w*4),%a1
67 | Jump table indexed by rounding mode in d1.w. All following assumes
81 swap %d1 |set up d1 for round prec.
86 movel (%a1,%d1.w*4),%a1
94 swap %d1 |set up d1 for round prec.
99 movel (%a1,%d1.w*4),%a1
106 swap %d1 |set up d1 for round prec.
[all …]
H A Dres_func.S207 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
232 andw #0x7fff,%d1
[all …]
H A Dgen_except.S76 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 Dsrem_mod.S158 movew SignY(%a6),%d1
159 eorl %d0,%d1
160 andil #0x00008000,%d1
161 movew %d1,SignQ(%a6) | ...sign(Q) obtained
163 movel -8(%a0),%d1
164 movel -4(%a0),%d2 | ...(D0,D1,D2) is |X|
168 tstl %d1
172 movel %d2,%d1
176 bfffo %d1{#0:#32},%d6
177 lsll %d6,%d1
[all …]
H A Dscale.S51 clrl %d1
52 movew FPTEMP(%a6),%d1 |get dest exponent
54 andil #0x7fff,%d1 |strip sign
98 tstw %d1 |check for denorm
100 addl %d0,%d1 |add src to dest exp
102 cmpil #0x7fff,%d1 |test for overflow
106 orw #0x8000,%d1
108 movew %d1,FPTEMP(%a6) |result in FPTEMP
115 orw #0x8000,%d1
125 orw #0x8000,%d1
[all …]
H A Ddo_func.S80 bfextu STAG(%a6){#0:#3},%d1
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
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
292 movel (%a1,%d1.w*4),%a1
302 moveb ETEMP(%a6),%d1 |get sign of src op
[all …]
H A Dx_snan.S45 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
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
191 bsetl #30,%d1
[all …]
H A Ddecbin.S125 | 2. Calculate absolute value of exponent in d1 by mul and add.
134 | (*) d1: accumulator for binary exponent
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
160 negl %d1 |negate before subtracting
162 subl #16,%d1 |sub to compensate for shift of mant
164 negl %d1 |now negative, make pos and set SE
168 movel %d1,L_SCR1(%a6) |save exp in memory
180 | (*) d1: lword counter
[all …]
/linux/drivers/net/wan/
H A Dwanxlfw.S301 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
311 movel %d1, SICR // update clock settings in SICR
317 movel first_buffer(%d0), %d1 // D1 = starting buffer address
326 movel %d1, (%a1)+ // buffer address
327 addl #BUFFER_LENGTH, %d1
332 movel %d1, (%a1)+ // buffer address
338 movel %d1, (%a1)+ // buffer address
[all …]
/linux/drivers/video/fbdev/core/
H A Dcfbcopyarea.c107 unsigned long d0, d1; in bitcpy() local
127 d1 = FB_READL(src + 1); in bitcpy()
128 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
129 d0 = d0 >> right | d1 << left; in bitcpy()
145 d1 = d0; in bitcpy()
150 d1 = FB_READL(src++); in bitcpy()
151 d1 = fb_rev_pixels_in_long(d1, bswapmask); in bitcpy()
153 d0 = d0 >> right | d1 << left; in bitcpy()
158 d0 = d1; in bitcpy()
165 d1 = FB_READL(src++); in bitcpy()
[all …]
H A Dsyscopyarea.c76 unsigned long d0, d1; in bitcpy() local
96 d1 = *src; in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
117 d1 = *src++; in bitcpy()
118 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
120 d0 = d1; in bitcpy()
129 d1 = *src++; in bitcpy()
130 *dst++ = d0 >> right | d1 << left; in bitcpy()
131 d0 = d1; in bitcpy()
132 d1 = *src++; in bitcpy()
[all …]
/linux/arch/m68k/math-emu/
H A Dfp_util.S49 * something here. %d0 and %d1 is always usable, sometimes %d2 (or
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
133 lsr.l #7,%d1
134 lsr.w #8,%d1
[all …]
H A Dfp_movem.S46 | %d1 contains the mask and count of the 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
157 3: lsl.b #1,%d1
176 4: lsl.b #1,%d1
207 move.l %d0,%d1
[all …]
H A Dfp_move.S48 move.w %d0,%d1 | store data size twice in %d1
49 swap %d1 | one can be trashed below
50 move.w %d0,%d1
54 move.b (%a0,%d1.w),%d0
75 move.w %d0,%d1
83 swap %d1
84 move.l %d1,%d2
86 jmp ([0f:w,%pc,%d1.w*4])
98 move.l %d0,%d1
102 move.b %d1,%d0
[all …]
H A Dfp_cond.S83 swap %d1 | test condition in %d1
84 tst.w %d1
86 move.l %d0,%d1
102 move.w %d0,%d1
103 swap %d1
116 move.w %d0,%d1 | save register nr
118 swap %d1
119 move.b %d1,%d0
120 swap %d1
165 swap %d1
[all …]
/linux/arch/m68k/ifpsp060/src/
H A Dfplsp.S565 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
579 mov.b %d0,%d1
586 tst.b %d1
591 cmpi.b %d1,&ZERO # is operand a ZERO?
596 cmpi.b %d1,&INF # is operand an INF?
601 cmpi.b %d1,&QNAN # is operand a QNAN?
612 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
622 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
636 mov.b %d0,%d1
643 mov.b %d1,STAG(%a6)
[all …]
H A Dpfpsp.S644 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
699 mov.b 1+EXC_CMDREG(%a6),%d1
700 andi.w &0x007f,%d1 # extract extension
711 mov.l (tbl_unsupp.l,%pc,%d1.w*4),%d1 # fetch routine addr
712 jsr (tbl_unsupp.l,%pc,%d1.l*1)
732 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
747 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
766 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
805 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
884 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
[all …]
H A Dfpsp.S645 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
700 mov.b 1+EXC_CMDREG(%a6),%d1
701 andi.w &0x007f,%d1 # extract extension
712 mov.l (tbl_unsupp.l,%pc,%d1.w*4),%d1 # fetch routine addr
713 jsr (tbl_unsupp.l,%pc,%d1.l*1)
733 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
748 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
767 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
806 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
885 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
[all …]
/linux/arch/m68k/ifpsp060/
H A Dos.S84 | d1 - 0 = success, !0 = failure
94 clr.l %d1 | return success
97 move.b (%a0)+,%d1 | copy 1 byte
99 movs.b %d1,(%a1)+
101 clr.l %d1 | return success
115 | d1 - 0 = success, !0 = failure
127 clr.l %d1 | return success
131 movs.b (%a0)+,%d1
132 move.b %d1,(%a1)+ | copy 1 byte
134 clr.l %d1 | return success
[all …]
/linux/lib/math/
H A Drational.c45 * n2/d2, n1/d1, and n0/d0 are our successively more accurate in rational_best_approximation()
51 unsigned long n, d, n0, d0, n1, d1, n2, d2; in rational_best_approximation() local
54 n0 = d1 = 0; in rational_best_approximation()
75 d2 = d0 + a * d1; in rational_best_approximation()
85 if (d1) in rational_best_approximation()
86 t = (max_denominator - d0) / d1; in rational_best_approximation()
91 * convergent. If d1 is zero there is no previous convergent as this in rational_best_approximation()
94 if (!d1 || 2u * t > a || (2u * t == a && d0 * dp > d1 * d)) { in rational_best_approximation()
96 d1 = d0 + t * d1; in rational_best_approximation()
102 d0 = d1; in rational_best_approximation()
[all …]
/linux/arch/m68k/coldfire/
H A Dentry.S107 movel %sp,%d1 /* get thread_info pointer */
108 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
109 movel %d1,%a0
110 movel %a0@(TINFO_FLAGS),%d1 /* get thread_info->flags */
111 andl #(1<<TIF_NEED_RESCHED),%d1
114 movel %a0@(TINFO_PREEMPT),%d1
115 cmpl #0,%d1
123 moveml %sp@,%d1-%d5/%a0-%a2
131 movel %sp,%d1 /* get thread_info pointer */
132 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
[all …]
/linux/arch/m68k/lib/
H A Dudivsi3.S68 #define d1 REG (d1) macro
91 movel sp@(12), d1 /* d1 = divisor */
94 cmpl IMM (0x10000), d1 /* divisor >= 2 ^ 16 ? */
99 divu d1, d2 /* high quotient in lower word */
103 divu d1, d2 /* low quotient */
107 L3: movel d1, d2 /* use d2 as divisor backup */
108 L4: lsrl IMM (1), d1 /* shift divisor */
110 cmpl IMM (0x10000), d1 /* still divisor >= 2 ^ 16 ? */
112 divu d1, d0 /* now we have 16 bit divisor */
118 movel d2, d1
[all …]
H A Dmodsi3.S70 #define d1 REG (d1) macro
91 movel sp@(8), d1 /* d1 = divisor */
93 movel d1, sp@-
97 movel sp@(8), d1 /* d1 = divisor */
99 movel d1, sp@-
104 mulsl d1,d0
106 movel sp@(4), d1 /* d1 = dividend */
107 subl d0, d1 /* d1 = a - (a/b)*b */
108 movel d1, d0
H A Dumodsi3.S68 #define d1 REG (d1) macro
89 movel sp@(8), d1 /* d1 = divisor */
91 movel d1, sp@-
95 movel sp@(8), d1 /* d1 = divisor */
97 movel d1, sp@-
102 mulsl d1,d0
104 movel sp@(4), d1 /* d1 = dividend */
105 subl d0, d1 /* d1 = a - (a/b)*b */
106 movel d1, d0
/linux/arch/s390/crypto/
H A Dchacha-s390.S448 #define D1 %v7 macro
508 VAF D1,K3,T1 # K[3]+1
521 VLR T1,D1
533 VX D1,D1,A1
539 VERLLF D1,D1,16
546 VAF C1,C1,D1
571 VX D1,D1,A1
577 VERLLF D1,D1,8
584 VAF C1,C1,D1
615 VSLDB D1,D1,D1,12
[all …]

12345678910>>...25