Home
last modified time | relevance | path

Searched refs:edi (Results 1 – 25 of 98) sorted by relevance

1234

/titanic_41/usr/src/lib/libc/i386/gen/
H A D_div64.s197 pushl %edi
200 movl 68(%esp), %edi / y,
201 testl %edi, %edi / tmp63
204 movl %edi, %esi /, tmp62
205 movl %edi, %ecx / tmp62, tmp63
214 movl %ecx, %edi / <result>, <result>
220 adcl %edx, %edi / q0, <result>
224 movl %edi, %edx / <result>, <result>
225 popl %edi
241 xorl %edi, %edi / <result>
[all …]
H A Dstrcat.s60 pushl %edi / save register variable
62 movl 8(%esp), %edi / %edi = destination string address
63 testl $3, %edi / if %edi not word aligned
67 movl (%edi), %edx / move 1 word from (%edi) to %edx
70 addl $4, %edi / next word
76 subl $4, %edi / post-incremented
78 cmpb $0, (%edi) / if a byte in (%edi) is null
80 incl %edi / next byte
81 testl $3, %edi / if %edi not word aligned
83 jmp .L2 / goto .L2 (%edi word aligned)
[all …]
H A Dstrncat.s65 pushl %edi / save register variables
67 movl 12(%esp), %edi / %edi = destination string address
68 testl $3, %edi / if %edi not word aligned
72 movl (%edi), %edx / move 1 word from (%edi) to %edx
75 addl $4, %edi / next word
81 subl $4, %edi / post-incremented
83 cmpb $0, (%edi) / if a byte in (%edi) is null
85 incl %edi / next byte
86 testl $3, %edi / if %edi not word aligned
88 jmp .L2 / goto .L2 (%edi word aligned)
[all …]
H A D_divdi3.s128 pushl %edi
135 movl 36(%esp), %edi / y, y
138 testl %edi, %edi / y
142 movl %edi, %edx / y, yt
160 popl %edi
168 testl %edi, %edi / y
173 movl %edi, %edx / y, yt
209 pushl %edi
214 movl 36(%esp), %edi / x,
219 movl %edi, 4(%esp) /, xt
[all …]
H A Dstrncmp.s33 movl %edi,%edx
34 movl 12(%esp),%edi / %edi = second string
35 cmpl %esi,%edi / same string?
43 cmpb (%edi),%al
51 cmpb 1(%edi),%al
59 cmpb 2(%edi),%al
67 cmpb 3(%edi),%al
70 addl $4,%edi
77 movl %edx,%edi
82 incl %edi
[all …]
H A Dwsncmp.s43 movl %edi,%edx
44 movl 12(%esp),%edi / %edi = second string
45 cmpl %esi,%edi / same string?
53 cmpl (%edi),%eax
61 cmpl 4(%edi),%eax
69 cmpl 8(%edi),%eax
77 cmpl 12(%edi),%eax
80 addl $16,%edi
87 movl %edx,%edi
92 addl $4,%edi
[all …]
H A Dmemcpy.s37 movl %edi,%edx / save register variables
39 movl 8(%esp),%edi / %edi = dest address
42 movl %edi,%eax / return value from the call
52 movl %edx,%edi
58 pushl %edi / save off %edi, %esi and move destination
63 movl 8+ 4(%esp),%edi / destination buffer address
67 cmpl %esi,%edi / if (source addr > dest addr)
70 cmpl %edx,%edi
93 popl %edi / restore registers
103 leal -1(%ecx,%edi),%edi / dst = dst + size - 1
[all …]
H A Dmemchr.s59 pushl %edi / save register variable
62 movl 16(%esp), %edi / %edi = number of bytes
63 cmpl $4, %edi / if number of bytes < 4
79 subl $4, %edi / decrement number of bytes by 4
81 cmpl $4, %edi / if number of bytes >= 4
84 cmpl $0, %edi / if number of bytes == 0
88 decl %edi / decrement number of bytes by 1
94 popl %edi / restore register
98 cmpl $0, %edi / if number of bytes == 0
103 decl %edi / decrement number of bytes by 1
[all …]
H A Dldivide.s43 pushl %edi
64 movl %esi,%edi
67 shll $1,%edi
71 adcl $0,%edi / add in any carry from the shift
72 subl rop(%esp),%edi / subtract denominator from remainder
77 addl rop(%esp),%edi
83 / at this point, %edx:%eax has the quotient and %edi:%esi has the remainder
84 popl %edi
/titanic_41/usr/src/lib/libc/i386_hwcap1/gen/
H A Dmemcpy.s36 pushl %esi / save off %edi, %esi and move destination
37 pushl %edi
38 movl 8+ 4(%esp),%edi / destination buffer address
40 movl %edi, %eax
44 cmpl %esi,%edi / if (source addr > dest addr)
47 cmpl %edx,%edi
53 pushl %edi
55 movl 8+4(%esp),%edi / %edi = dest address
56 movl %edi, %eax / save this
111 prefetcht0 568(%edi) / prefetch source & copy 64 byte at a time
[all …]
H A Dmemset.s34 pushl %edi / save register variable
35 movl 8(%esp),%edi / %edi = string address
70 movl %edi, %esi / esi is scratch register
107 movntps %xmm0, (%edi) / block non-temporal store
108 movntps %xmm0, 16(%edi) / use sse rather than sse2
109 movntps %xmm0, 32(%edi) / so we work more places
110 movntps %xmm0, 48(%edi) /
112 addl $64, %edi / increment dest address
133 movaps %xmm0, (%edi) / block copy w/ SSE
134 movaps %xmm0, 16(%edi)
[all …]
/titanic_41/usr/src/common/util/i386/
H A Dmuldiv.s243 pushl %edi
246 movl 68(%esp), %edi / y,
247 testl %edi, %edi / tmp63
250 movl %edi, %esi /, tmp62
251 movl %edi, %ecx / tmp62, tmp63
260 movl %ecx, %edi / <result>, <result>
266 adcl %edx, %edi / q0, <result>
270 movl %edi, %edx / <result>, <result>
271 popl %edi
287 xorl %edi, %edi / <result>
[all …]
/titanic_41/usr/src/cmd/sgs/rtld/i386/
H A Dboot_elf.s88 pushl %edi
109 movl SYMDEF_VALUE_OFF(%eax), %edi
110 movl %edi, -8(%ebp) / save destination address
117 lea 4(%ebp), %edi
118 movl %edi, -84(%ebp) / %esp
119 movl 0(%ebp), %edi
120 movl %edi, -80(%ebp) / %ebp
124 movl -4(%ebp), %edi
125 lea SBFLAGS_OFF(%edi), %eax
129 pushl SYMNDX_OFF(%edi) / arg3 (symndx)
[all …]
/titanic_41/usr/src/common/crypto/aes/amd64/
H A Daes_amd64.s212 #define rdid edi
337 movzx %ah, %edi; \
342 movzx %ah, %edi; \
347 movzx %bh, %edi; \
352 movzx %bh, %edi; \
357 movzx %ch, %edi; \
362 movzx %ch, %edi; \
367 movzx %dh, %edi; \
372 movzx %dh, %edi; \
391 movzx %ah, %edi; \
[all …]
/titanic_41/usr/src/uts/i86xpv/ml/
H A Dhyperevent.s170 leal nopop_sys_rtt_syscall, %edi
171 movl %edi, REGOFF_EIP(%esp)
173 TRACE_PTR(%edi, %ebx, %ebx, %ecx, $TT_EVENT) /* Uses labels 8 and 9 */
174 TRACE_REGS(%edi, %esp, %ebx, %ecx) /* Uses label 9 */
175 TRACE_STAMP(%edi) /* Clobbers %eax, %edx, uses 9 */
179 TRACE_STACK(%edi)
230 TRACE_PTR(%edi, %ebx, %ebx, %ecx, $TT_EVENT) /* Uses labels 8 and 9 */
231 TRACE_REGS(%edi, %esp, %ebx, %ecx) /* Uses label 9 */
232 TRACE_STAMP(%edi) /* Clobbers %eax, %edx, uses 9 */
236 TRACE_STACK(%edi)
[all …]
/titanic_41/usr/src/lib/commpage/i386/
H A Dcp_subr.s35 pushl %edi
39 movl 0x8(%ebp), %edi
40 movl CP_TSC_TYPE(%edi), %eax
41 movl CP_TSC_NCPU(%edi), %esi
50 popl %edi
61 leal CP_TSC_SYNC_TICK_DELTA(%edi), %esi
73 movl CP_TSC_TYPE(%edi), %eax
124 movl CP_TSC_NCPU(%edi), %esi
125 movl CP_TSC_TYPE(%edi), %eax
130 leal CP_TSC_SYNC_TICK_DELTA(%edi), %esi
/titanic_41/usr/src/uts/intel/ia32/ml/
H A Dovbcopy.s109 pushl %edi
111 movl 16(%esp),%edi
114 movl %edi,%eax
127 popl %edi
132 addl %ecx,%edi /* copy backwards */
134 decl %edi
143 subl $3,%edi
146 popl %edi
H A Dswtch.s167 movl %edi, T_EDI(thread_t); \
172 movl 8(%ebp), %edi; \
173 pushl %edi; \
189 movl T_EDI(scratch_reg), %edi
354 movl $KDS_SEL, %edi
468 GET_THREAD_HATP(%ecx, %edi, %ecx)
493 btsl $0, T_LOCK(%edi) /* lock new thread's mutex */
501 movl T_STACK(%edi), %eax /* here to use v pipeline of */
503 cmpl %esi, T_CPU(%edi)
524 movl %edi, CPU_THREAD(%esi) /* set CPU's thread pointer */
[all …]
/titanic_41/usr/src/lib/libmvec/amd64/src/
H A D__vsqrtf.S38 / %edi = n
49 cmpl $4,%edi
70 subl $4,%edi
71 cmpl $4,%edi
75 testl %edi,%edi
84 decl %edi
122 subl $4,%edi
123 cmpl $4,%edi
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dasm.S163 movl $__bss_start, %edi
165 movl $_edata, %edi
167 movl $edata, %edi
178 subl %edi, %ecx
224 pushl %edi
260 popl %edi
441 pushl %edi
444 movl $0x4c, %edi
445 movl (%edi), %eax
449 movl $0x4, %edi
[all …]
/titanic_41/usr/src/common/atomic/i386/
H A Datomic.s120 pushl %edi
122 movl 12(%esp), %edi / %edi = target address
123 movl (%edi), %eax
124 movl 4(%edi), %edx / %edx:%eax = old value
132 cmpxchg8b (%edi) / try to stick it in
137 popl %edi
217 pushl %edi
219 movl 12(%esp), %edi / %edi = target address
220 movl (%edi), %eax
221 movl 4(%edi), %edx / %edx:%eax = old value
[all …]
/titanic_41/usr/src/uts/i86pc/ml/
H A Dfb_swtch_src.s76 movl FB_SEC_PADDR(fbs), %edi; \
119 movl %esp, %edi /* destination on the new stack */
254 movl FI_HAS_PAE(%esp), %edi /* need to enable paging or not */
255 cmpl $0, %edi
307 movl $DBOOT_ENTRY_ADDRESS, %edi
310 jmp *%edi
370 pushl %edi
376 popl %edi
396 pushl %edi
410 movl %ebp, %edi /* Page table PA */
[all …]
/titanic_41/usr/src/common/bignum/i386/
H A Dbignum_i386_asm.s225 / Does not touch the following registers: %esi, %edi, %mm4
399 pushl %edi
400 SAVE_MMX_0TO4(%edi)
407 RSTOR_MMX_0TO4(%edi)
408 popl %edi
687 pushl %edi
688 SAVE_MMX_0TO4(%edi)
695 RSTOR_MMX_0TO4(%edi)
696 popl %edi
774 pushl %edi
[all …]
/titanic_41/usr/src/lib/libtnfctl/
H A Di386_assm.s62 pushl %edi
67 movl 12(%ebp), %edi
68 pushl %edi
80 pushl %edi
92 popl %edi
/titanic_41/usr/src/uts/i86pc/sys/
H A Dasm_misc.h59 push %edi
63 movl $dstaddr, %edi; \
69 pushl %edi; \
72 inc %edi; \
79 pop %edi; \

1234