Home
last modified time | relevance | path

Searched full:d0 (Results 1 – 25 of 680) sorted by relevance

12345678910>>...28

/linux/arch/m68k/math-emu/
H A Dfp_util.S49 * something here. %d0 and %d1 is always usable, sometimes %d2 (or
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)
129 printf PCONV,"s2e: %p -> %p(",2,%d0,%a0
130 move.l %d0,%d1
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/linux/arch/m68k/fpsp040/
H A Dx_operr.S67 moveml %d0-%d1/%a0-%a1,USER_DA(%a6)
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
112 cmpib #0x60,%d0 |check for nan
[all …]
H A 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 …]
H A 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
129 movew LOCAL_EX(%a0),%d0
130 bclrl #15,%d0
[all …]
H A 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
97 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
[all …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dx_snan.S45 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 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 …]
/linux/drivers/video/fbdev/core/
H A 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()
139 'd0'. */ in bitcpy()
140 d0 = FB_READL(src++); in bitcpy()
[all …]
H A Dsyscopyarea.c76 unsigned long d0, d1; in bitcpy() local
95 d0 = *src++; in bitcpy()
97 *dst = comp(d0 >> right | d1 << left, *dst, in bitcpy()
107 this value in 'd0'. */ 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()
[all …]
/linux/arch/m68k/coldfire/
H A 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/arch/m68k/kernel/
H A 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 …]
H A Dhead.S663 movel %pc@(m68k_cputype),%d0
672 btst #CPUB_68060,%d0
681 btst #CPUB_68040,%d0
690 btst #CPUB_68020,%d0
716 clrl %d0
736 movel #_PAGE_CACHE040W,%d0
740 movew #_PAGE_CACHE040,%d0
748 movel %d0,%a0@
782 tstl %d0
790 moveq #0,%d0
[all …]
/linux/arch/powerpc/math-emu/
H A 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/drivers/net/wan/
H A 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/arch/m68k/include/asm/
H A Dentry.h24 * 20(sp) - d0
73 movel %d0,%sp@- /* orig d0 */
74 movel %d0,%sp@- /* d0 */
83 movel %d0,%sp@- /* orig d0 */
84 movel %d0,%sp@- /* d0 */
92 moveq #-1,%d0 /* not system call entry */
93 movel %d0,%sp@(PT_OFF_ORIG_D0)
103 movel %sp@+,%d0
104 addql #4,%sp /* orig d0 */
129 movel %d0,%sp@- /* orig d0 */
[all …]
H A Draw_io.h56 * Data lines D8-D15 are connected to ISA data lines D0-D7 for reading.
57 * For writes, address lines A1-A8 are latched to ISA data lines D0-D7
318 "1:\tmovew %/a0@,%/d0\n\t" in raw_insw_swapw()
319 "rolw #8,%/d0\n\t" in raw_insw_swapw()
320 "movew %/d0,%/a1@+\n\t" in raw_insw_swapw()
324 : "d0", "a0", "a1", "d6"); in raw_insw_swapw()
332 "1:\tmovew %/a0@,%/d0\n\t" in raw_insw_swapw()
333 "rolw #8,%/d0\n\t" in raw_insw_swapw()
334 "movew %/d0,%/a1@+\n\t" in raw_insw_swapw()
335 "movew %/a0@,%/d0\n\t" in raw_insw_swapw()
[all …]
/linux/arch/m68k/ifpsp060/
H A Dos.S81 | d0 - number of bytes to write
88 subq.l #1,%d0
93 dbra %d0,super_write | quit if --ctr < 0
100 dbra %d0,user_write | quit if --ctr < 0
112 | d0 - number of bytes to read
121 subq.l #1,%d0
126 dbra %d0,super_read | quit if --ctr < 0
133 dbra %d0,user_read | quit if --ctr < 0
146 | d0 - data byte in d0
151 clr.l %d0 | clear whole longword
[all …]

12345678910>>...28