Home
last modified time | relevance | path

Searched refs:d1 (Results 1 – 25 of 133) sorted by relevance

123456

/arch/m68k/math-emu/
Dfp_util.S99 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
136 cmp.w #0xff,%d1 | NaN / Inf?
[all …]
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 …]
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 …]
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 …]
Dfp_decode.h157 move.w %d2,%d1 | scale factor
158 rol.w #7,%d1
159 and.w #3,%d1
162 printf PDECODE,":%d",1,%d1
164 lsl.l %d1,%d0
231 move.w #6,%d1
236 cmp.w #6,%d1
239 move.w #4,%d1
252 lea (%a0,%d1.w*4),%a0
254 lea (%a0,%d1.w*8),%a0
[all …]
/arch/arm64/crypto/
Dpoly1305-armv8.pl47 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
139 add $d1,$d1,x15,lsl#14
140 adc $d1,$d1,xzr
[all …]
/arch/m68k/coldfire/
Dentry.S110 movel %sp,%d1 /* get thread_info pointer */
111 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
112 movel %d1,%a0
113 movel %a0@(TINFO_FLAGS),%d1 /* get thread_info->flags */
114 andl #(1<<TIF_NEED_RESCHED),%d1
117 movel %a0@(TINFO_PREEMPT),%d1
118 cmpl #0,%d1
126 moveml %sp@,%d1-%d5/%a0-%a2
134 movel %sp,%d1 /* get thread_info pointer */
135 andl #-THREAD_SIZE,%d1 /* at base of kernel stack */
[all …]
/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 …]
/arch/m68k/fpsp040/
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.
99 movel (%a1,%d1.w*4),%a1
106 swap %d1 |set up d1 for round prec.
116 swap %d1 |set up d1 for round prec.
120 movel (%a1,%d1.w*4),%a1
[all …]
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 …]
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 …]
Dsto_res.S38 moveql #7,%d1
39 subl %d0,%d1 |d1 = 7- (dest. reg. no.)
41 bsetl %d1,%d0 |d0 is dynamic register mask
71 moveql #7,%d1
72 subl %d0,%d1 |d1 = 7- (dest. reg. no.)
74 bsetl %d1,%d0 |d0 is dynamic register mask
/arch/m68k/lib/
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 …]
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
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
Dmulsi3.S68 #define d1 REG (d1) macro
91 movew sp@(6), d1 /* x1 -> d1 */
92 muluw sp@(8), d1 /* x1*y0 */
94 addw d1, d0
96 addl d1, d0
100 movew sp@(6), d1 /* x1 -> d1 */
101 muluw sp@(10), d1 /* x1*y1 */
102 addl d1, d0
/arch/nios2/kernel/
Dmisaligned.c70 u8 a, b, d0, d1, d2, d3; in handle_unaligned_c() local
99 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
100 val = (d1 << 8) | d0; in handle_unaligned_c()
105 d1 = val >> 8; in handle_unaligned_c()
109 *(u8 *)(addr+1) = d1; in handle_unaligned_c()
112 fault |= __put_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
118 val = (short)((d1 << 8) | d0); in handle_unaligned_c()
125 d1 = val >> 8; in handle_unaligned_c()
129 *(u8 *)(addr+1) = d1; in handle_unaligned_c()
[all …]
/arch/powerpc/math-emu/
Dudivmodti4.c12 _FP_W_TYPE d1, _FP_W_TYPE d0) in _fp_udivmodti4() argument
17 if (d1 == 0) in _fp_udivmodti4()
118 if (d1 > n1) in _fp_udivmodti4()
133 count_leading_zeros (bm, d1); in _fp_udivmodti4()
144 if (n1 > d1 || n0 >= d0) in _fp_udivmodti4()
147 sub_ddmmss (n1, n0, n1, n0, d1, d0); in _fp_udivmodti4()
165 d1 = (d1 << bm) | (d0 >> b); in _fp_udivmodti4()
171 udiv_qrnnd (q0, n1, n2, n1, d1); in _fp_udivmodti4()
177 sub_ddmmss (m1, m0, m1, m0, d1, d0); in _fp_udivmodti4()
/arch/m68k/kernel/
Dhead.S661 clrl %d1
668 bset #CPUTYPE_060,%d1
669 bset #CPUTYPE_0460,%d1
677 bset #CPUTYPE_040,%d1
678 bset #CPUTYPE_0460,%d1
686 bset #CPUTYPE_020,%d1
693 movel %d1,%a0@
711 clrl %d1
736 movel #_PAGE_CACHE040W,%d1
744 movel %d1,%a0@
[all …]
Drelocate_kernel.S16 movel %sp@(12),%d1 /* d1 = cpu_mmu_flags */
21 btst #MMU_BASE + MMUB_68851,%d1
41 btst #MMU_BASE + MMUB_68030,%d1
44 btst #MMU_BASE + MMUB_68040,%d1
77 btst #MMU_BASE + MMUB_68060,%d1
122 btst #CPUB_68020,%d1
134 btst #CPUB_68030,%d1
137 btst #CPUB_68040,%d1
151 btst #CPUB_68060,%d1
/arch/m68k/68000/
Dentry.S50 movel %sp@(PT_OFF_ORIG_D0),%d1
52 cmpl #NR_syscalls,%d1
54 lsl #2,%d1
56 jbsr %a0@(%d1)
76 movel %sp,%d1 /* get thread_info pointer */
77 andl #-THREAD_SIZE,%d1
78 movel %d1,%a2
102 movel %sp,%d1 /* get thread_info pointer */
103 andl #-THREAD_SIZE,%d1
104 movel %d1,%a2
[all …]
/arch/m68k/ifpsp060/src/
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 …]
/arch/mips/crypto/
Dpoly1305-mips.pl226 my ($h0,$h1,$h2,$r0,$r1,$rs1,$d0,$d1,$d2) =
369 daddu $d1,$h1,$in1
371 sltu $tmp1,$d1,$h1
372 daddu $d1,$tmp0
376 sltu $tmp0,$d1,$tmp0
380 dmultu ($rs1,$d1) # h1*5*r1
383 mflo ($tmp0,$rs1,$d1)
384 mfhi ($tmp1,$rs1,$d1)
393 dmultu ($r0,$d1) # h1*r0
396 mflo ($tmp0,$r0,$d1)
[all …]
/arch/m68k/ifpsp060/
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 …]
/arch/x86/include/asm/
Dstring_64.h24 long d0, d1; in memset16() local
27 : "=&c" (d0), "=&D" (d1) in memset16()
36 long d0, d1; in memset32() local
39 : "=&c" (d0), "=&D" (d1) in memset32()
48 long d0, d1; in memset64() local
51 : "=&c" (d0), "=&D" (d1) in memset64()

123456