Home
last modified time | relevance | path

Searched refs:d0 (Results 1 – 25 of 222) sorted by relevance

123456789

/Linux-v5.15/arch/m68k/coldfire/
Dhead.S31 movel #CONFIG_RAMSIZE,%d0 /* hard coded memory size */
45 movel MCFSIM_DMR0,%d0 /* get mask for 1st bank */
46 btst #0,%d0 /* check if region enabled */
48 andl #0xfffc0000,%d0
50 addl #0x00040000,%d0 /* convert mask to size */
58 addl %d1,%d0 /* total mem size in d0 */
64 movel MCFSIM_CSOR7,%d0 /* get SDRAM address mask */
65 andil #0xfffff000,%d0 /* mask out chip select options */
66 negl %d0 /* negate bits */
71 clrl %d0
[all …]
/Linux-v5.15/drivers/video/fbdev/core/
Dcfbcopyarea.c107 unsigned long d0, d1; in bitcpy() local
117 d0 = FB_READL(src); in bitcpy()
118 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
121 d0 <<= left; in bitcpy()
124 d0 >>= right; in bitcpy()
129 d0 = d0 >> right | d1 << left; in bitcpy()
131 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
132 FB_WRITEL(comp(d0, FB_READL(dst), first), dst); in bitcpy()
140 d0 = FB_READL(src++); in bitcpy()
141 d0 = fb_rev_pixels_in_long(d0, bswapmask); in bitcpy()
[all …]
Dsyscopyarea.c76 unsigned long d0, d1; in bitcpy() local
95 d0 = *src++; in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
108 d0 = *src++; in bitcpy()
112 *dst = comp(d0 << left, *dst, first); in bitcpy()
118 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
120 d0 = d1; in bitcpy()
130 *dst++ = d0 >> right | d1 << left; in bitcpy()
131 d0 = d1; in bitcpy()
133 *dst++ = d0 >> right | d1 << left; in bitcpy()
[all …]
/Linux-v5.15/arch/m68k/math-emu/
Dfp_cond.S62 move.l %d2,%d0
63 swap %d0
64 fp_get_instr_word %d0,fp_err_ua1
65 lea (-2,%a0,%d0.l),%a0
67 move.l %d2,%d0
68 swap %d0
70 tst.l %d0
79 fp_get_instr_word %d0,fp_err_ua1
80 add.w %d0,%a1
82 printf PDECODE,"d%d,%x\n",2,%d0,%a1
[all …]
Dfp_entry.S50 GET_CURRENT(%d0)
73 tst.l %d0
115 jmp ([0f:w,%pc,%d0.w*4])
125 move.l (PT_OFF_D0+8,%sp),%d0
126 printf PREGISTER,"{d0->%08x}",1,%d0
130 move.l (PT_OFF_D1+8,%sp),%d0
131 printf PREGISTER,"{d1->%08x}",1,%d0
135 move.l (PT_OFF_D2+8,%sp),%d0
136 printf PREGISTER,"{d2->%08x}",1,%d0
140 move.l %d3,%d0
[all …]
Dfp_util.S70 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)
129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0
130 move.l %d0,%d1
131 lsl.l #8,%d0 | shift mantissa
[all …]
Dfp_scan.S67 getuser.b (%a0),%d0,fp_err_ua1,%a0
69 cmp.b #0xf2,%d0 | cpid = 1
71 cmp.b #0xfc,%d0 | cpid = 6
95 printf PDECODE,"f<op>.x fp%d",1,%d0
108 cmp.w #7,%d0
110 move.w %d0,%d1 | store data size twice in %d1
112 move.w %d0,%d1
115 clr.l %d0
116 move.b (%a0,%d1.w),%d0
117 printf PDECODE,"f<op>.%c ",1,%d0
[all …]
Dfp_move.S48 move.w %d0,%d1 | store data size twice in %d1
50 move.w %d0,%d1
53 clr.l %d0
54 move.b (%a0,%d1.w),%d0
55 printf PDECODE,"fmove.%c ",1,%d0
57 printf PDECODE,"fp%d,",1,%d0
75 move.w %d0,%d1
98 move.l %d0,%d1
100 move.w %d2,%d0
102 move.b %d1,%d0
[all …]
Dfp_movem.S54 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
155 add.l %d0,%a0
156 2: add.l %d0,%a1
[all …]
/Linux-v5.15/arch/m68k/kernel/
Dhead.S657 movel %pc@(m68k_cputype),%d0
666 btst #CPUB_68060,%d0
675 btst #CPUB_68040,%d0
684 btst #CPUB_68020,%d0
710 clrl %d0
730 movel #_PAGE_CACHE040W,%d0
734 movew #_PAGE_CACHE040,%d0
742 movel %d0,%a0@
776 tstl %d0
784 moveq #0,%d0
[all …]
Drelocate_kernel.S34 pmove %tc,%d0 /* Disable MMU */
35 bclr #7,%d0
36 pmove %d0,%tc
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
66 moveq #0,%d0
68 movec %d0,%tc /* Disable MMU */
[all …]
/Linux-v5.15/arch/powerpc/math-emu/
Dudivmodti4.c12 _FP_W_TYPE d1, _FP_W_TYPE d0) in _fp_udivmodti4() argument
20 if (d0 > n1) in _fp_udivmodti4()
24 udiv_qrnnd (q0, n0, n1, n0, d0); in _fp_udivmodti4()
33 if (d0 == 0) in _fp_udivmodti4()
34 d0 = 1 / d0; /* Divide intentionally by zero. */ in _fp_udivmodti4()
36 udiv_qrnnd (q1, n1, 0, n1, d0); in _fp_udivmodti4()
37 udiv_qrnnd (q0, n0, n1, n0, d0); in _fp_udivmodti4()
47 if (d0 > n1) in _fp_udivmodti4()
51 count_leading_zeros (bm, d0); in _fp_udivmodti4()
58 d0 = d0 << bm; in _fp_udivmodti4()
[all …]
/Linux-v5.15/arch/m68k/include/asm/
Dm525xsim.h242 moveb #MCFINTC2_VECBASE,%d0
243 moveb %d0,0x16b(%a1) /* interrupt base register */
248 movel #0x001F0021,%d0 /* disable C/I bit */
249 movel %d0,0x84(%a0) /* set CSMR0 */
255 movel 0x180(%a1),%d0 /* get current PLL value */
256 andl #0xfffffffe,%d0 /* PLL bypass first */
257 movel %d0,0x180(%a1) /* set PLL register */
266 movel #0x125a40f0,%d0 /* set for 140MHz */
267 movel %d0,0x180(%a1) /* set PLL register */
268 orl #0x1,%d0
[all …]
/Linux-v5.15/drivers/net/wan/
Dwanxlfw.S197 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
204 clrl %d0 // D0 = 4 * port
205 init_1: tstl ch_status_addr(%d0)
207 addl #VALUE_WINDOW, ch_status_addr(%d0)
208 init_2: addl #4, %d0
209 cmpl #4 * 4, %d0
258 main_1: clrl %d0 // D0 = 4 * port
[all …]
/Linux-v5.15/arch/m68k/fpsp040/
Dx_store.S41 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 …]
Dx_operr.S142 cmpl #0x7FFF0000,%d0
157 moveb STAG(%a6),%d0 |test stag for nan
158 andib #0xe0,%d0 |clr all but tag
159 cmpib #0x60,%d0 |check for nan
164 tstl %d0
165 bnes chkwerr |if d0 is true, check for incorrect operr
166 movel #0x80000000,%d0 |store special case result
173 movew FPTEMP_EX(%a6),%d0
174 andw #0x7FFF,%d0 |ignore sign bit
175 cmpw #0x3FFE,%d0 |this is the only possible exponent value
[all …]
Dstanh.S87 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)
99 andl #0x7FFF0000,%d0
100 addl #0x00010000,%d0 | ...EXPONENT OF 2|X|
101 movel %d0,X(%a6)
[all …]
Dstwotox.S201 movel (%a0),%d0
202 orl #0x00800001,%d0
203 fadds %d0,%fp0
211 movel (%a0),%d0
212 movew 4(%a0),%d0
214 andil #0x7FFFFFFF,%d0
216 cmpil #0x3FB98000,%d0 | ...|X| >= 2**(-70)?
221 cmpil #0x400D80C0,%d0 | ...|X| > 16480?
236 movel N(%a6),%d0
237 movel %d0,%d2
[all …]
Dsto_res.S34 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 …]
Dutil.S106 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 …]
Dround.S33 | d0{31:29} contains the g,r,s bits (extended)
36 | a0 is preserved and the g-r-s bits in d0 are cleared.
52 tstl %d0 |if grs are zero, go force
84 movel #0xffffffff,%d0 |force g,r,s to be all f's
117 asll #1,%d0 |shift g-bit to c-bit
127 | Output: d0{31:29}= guard, round, sticky
131 | only. All registers except d0 are kept intact. d0 becomes an
132 | updated guard,round,sticky in d0{31:29}
156 tstl %d0 |test original g,r,s
166 tstl %d0 |test word original g,r,s
[all …]
Dsgetem.S49 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
78 movel USER_FPCR(%a6),%d0
79 andil #0xffffff00,%d0 |clear rounding precision and mode
80 fmovel %d0,%fpcr |this fpcr setting is used by the 882
[all …]
Dres_func.S99 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
432 movew LOCAL_EX(%a0),%d0
433 bclrl #15,%d0
[all …]
/Linux-v5.15/arch/x86/lib/
Dstring_32.c20 int d0, d1, d2; in strcpy() local
25 : "=&S" (d0), "=&D" (d1), "=&a" (d2) in strcpy()
35 int d0, d1, d2, d3; in strncpy() local
45 : "=&S" (d0), "=&D" (d1), "=&c" (d2), "=&a" (d3) in strncpy()
55 int d0, d1, d2, d3; in strcat() local
63 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strcat()
73 int d0, d1, d2, d3; in strncat() local
86 : "=&S" (d0), "=&D" (d1), "=&a" (d2), "=&c" (d3) in strncat()
97 int d0, d1; in strcmp() local
109 : "=a" (res), "=&S" (d0), "=&D" (d1) in strcmp()
[all …]
/Linux-v5.15/arch/m68k/68000/
Dentry.S49 movel #-ENOSYS,%d0
56 1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
72 movel %sp@(PT_OFF_ORIG_D0),%d0
79 cmpl #NR_syscalls,%d0
81 lsl #2,%d0
83 movel %a0@(%d0), %a0
85 movel %d0,%sp@(PT_OFF_D0) /* save the return value*/
128 movew %sp@(PT_OFF_FORMATVEC), %d0
129 and #0x3ff, %d0
139 movew %sp@(PT_OFF_FORMATVEC), %d0
[all …]

123456789