Searched refs:edx (Results 1 - 25 of 71) sorted by relevance

123

/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dbcopy_sse42.s53 movl %edi,%edx
54 subl %esi,%edx // (dest - source)
55 cmpl %ecx,%edx // must move in reverse if (dest - source) < length
78 movl %edi,%edx
79 subl %esi,%edx // (dest - source)
80 cmpl %ecx,%edx // must move in reverse if (dest - source) < length
91 movl %ecx,%edx // copy length
102 andl $3,%edx // any leftover bytes?
109 dec %edx
130 movl %edi,%edx // cop
[all...]
H A Dbcopy_sse2.s77 movl %edi,%edx
78 subl %esi,%edx // (dest - source)
79 cmpl %ecx,%edx // must move in reverse if (dest - source) < length
91 movl %ecx,%edx // copy length
102 andl $3,%edx // any leftover bytes?
109 dec %edx
131 movl %edi,%edx // copy destination
133 negl %edx
134 andl $15,%edx // get #bytes to align destination
136 subl %edx,
[all...]
H A Dbcopy_sse3x.s57 movl %edi,%edx
58 subl %esi,%edx // (dest - source)
59 cmpl %ecx,%edx // must move in reverse if (dest - source) < length
82 movl %edi,%edx
83 subl %esi,%edx // (dest - source)
84 cmpl %ecx,%edx // must move in reverse if (dest - source) < length
95 movl %ecx,%edx // copy length
106 andl $3,%edx // any leftover bytes?
113 dec %edx
135 movl %edi,%edx // cop
[all...]
H A Dlongcopy_sse3x.s93 movl $(kBigChunk),%edx // assume we can do a full chunk
94 cmpl %edx,%ecx // do we have a full chunk left to do?
95 cmovbl %ecx,%edx // if not, only move what we have left
96 andl $-4096,%edx // we work in page multiples
106 // edx = chunk length (multiples of pages)
136 cmpl %eax,%edx // done with this chunk?
143 addl %edx,%esi // increment ptrs by chunk length
144 addl %edx,%edi
145 subl %edx,%ecx // adjust remaining length
146 negl %edx // prepar
[all...]
H A Dspinlocks.s44 orl $-1, %edx
45 cmpxchgl %edx, (%ecx)
57 orl $-1, %edx
59 cmpxchgl %edx, (%ecx)
71 orl $-1, %edx
72 cmpxchgl %edx, (%ecx)
94 orl $-1, %edx
96 cmpxchgl %edx, (%ecx)
101 movl $(MP_SPIN_TRIES), %edx
106 decl %edx
[all...]
H A Dbzero_sse42.s53 movl 12(%ebp),%edx // get length
56 cmpl $(kShort),%edx // long enough for SSE?
60 // %edx = length
65 cmpl $12,%edx // long enough to word align?
67 test %edx,%edx // length==0?
72 dec %edx
78 dec %edx
82 movl %edx,%ecx // copy length
83 shrl $2,%edx // #doubleword
[all...]
H A Dbzero_scalar.s92 movl %edi,%edx /* compute misalignment */
93 negl %edx
94 andl $3,%edx
96 subl %edx,%ebx
98 movl %edx,%ecx /* zero until word aligned */
H A Dbzero_sse2.s52 movl 12(%ebp),%edx // get length
55 cmpl $(kShort),%edx // long enough for SSE?
59 // %edx = length
64 cmpl $16,%edx // long enough to word align?
66 test %edx,%edx // length==0?
71 dec %edx
77 dec %edx
81 movl %edx,%ecx // copy length
82 shrl $2,%edx // #doubleword
[all...]
H A Dcacheflush.s40 movl 4(%esp),%edx // get ptr
44 clflush -1(%edx,%ecx) // make sure last line is flushed
46 clflush (%edx) // flush a line
47 addl $64,%edx
H A Dmemset_pattern_sse2.s53 // %edx = length (may be short or even 0)
56 // %eax, %edi, %esi, %ecx, and %edx all trashed
61 cmpl $(kShort),%edx // long enough to bother aligning?
66 // %edx = length
72 subl $16,%edx
75 cmpl $16,%edx // room for another vector?
90 andl $3,%edx // more to go?
97 dec %edx
107 // %edx = length (> kShort)
119 subl %ecx,%edx // adjus
[all...]
H A Dcommpage_asm.s44 mov _commPagePtr32,%edx
45 testl %edx,%edx
47 sub $(_COMM_PAGE32_BASE_ADDRESS),%edx
49 incl _COMM_PAGE_SCHED_GEN(%edx)
52 mov _commPagePtr64,%edx
53 testl %edx,%edx
55 sub $(_COMM_PAGE32_START_ADDRESS),%edx
57 incl _COMM_PAGE_SCHED_GEN(%edx)
[all...]
H A Dbcopy_scalar.s99 movl %edi,%edx
100 subl %esi,%edx
101 cmpl %ecx,%edx /* overlapping? */
104 movl %ecx,%edx
108 movl %edx,%ecx
120 movl %ecx,%edx
126 movl %edx,%ecx /* copy remainder by words */
H A Dcommpage_mach_absolute_time.s46 /* return nanotime in %edx:%eax */
60 rdtsc /* get TSC in %edx:%eax */
64 sbbl _COMM_PAGE_NT_TSC_BASE+4,%edx
68 movl %edx,%ebx
71 movl %edx,%ebx
74 adcl $0,%edx
77 adcl _COMM_PAGE_NT_NS_BASE+4,%edx
104 rdtsc /* get TSC in %edx:%eax */
107 sbbl _COMM_PAGE_NT_TSC_BASE+4,%edx
116 mov %edx,
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dmunge.s83 xorl %edx,%edx
87 xorl %edx,%edx
91 xorl %edx,%edx
95 xorl %edx,%edx
99 xorl %edx,%edx
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dbzero.s69 movl 4+ 12(%esp),%edx /* length */
76 movl %edx,%ecx
81 movl %edx,%ecx
96 movl 4+ 8(%esp),%edx /* length */
100 movl %edx,%ecx
105 movl %edx,%ecx
H A Dgcc.s69 xorl %edx, %edx
H A Dbcopy.s70 movl 8+ 12(%esp),%edx /* number of bytes */
73 movl %edx,%ecx
78 movl %edx,%ecx
100 movl 8+12(%esp),%edx /* 8 for the two pushes above */
105 movl %edx,%ecx
110 movl %edx,%ecx
131 movl %edi,%edx
132 subl %esi,%edx
133 cmpl %ecx,%edx /* overlapping && src < dst? */
134 movl %ecx,%edx
[all...]
H A Di386_lock.s117 #define M_ILK (%edx)
118 #define M_LOCKED MUTEX_LOCKED(%edx)
119 #define M_WAITERS MUTEX_WAITERS(%edx)
120 #define M_PROMOTED_PRI MUTEX_PROMOTED_PRI(%edx)
121 #define M_ITAG MUTEX_ITAG(%edx)
122 #define M_PTR MUTEX_PTR(%edx)
124 #define M_TYPE MUTEX_TYPE(%edx)
125 #define M_PC MUTEX_PC(%edx)
126 #define M_THREAD MUTEX_THREAD(%edx)
328 movl L_ARG0,%edx /* fetc
[all...]
H A Dmachine_routines_asm.s54 movl %edx, 0(%ecx)
102 movl %edx,%edi // Need to save only the high order part
107 adcl $0,%edx // Add in any overflow to high high part
108 movl %edx,%esi // Save high high part
116 movl %edx,%ecx // Need to save the high order part
121 // Now have %ecx:%ebx as low part of high low and %edx:%eax as high part of high high
129 movl %esi,%edx // and the high word
146 mov 32(%ebp),%edx /* get ptr to rtc_nanotime_info */
148 movl RNT_GENERATION(%edx),%esi /* get current generation */
149 movl $0,RNT_GENERATION(%edx) /* fla
[all...]
/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/
H A Dpe_misc.s46 movl %edx, 0(%ecx)
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h65 lea 9b,%edx ;\
269 popl %edx ; \
270 movl L ## var ## $non_lazy_ptr-1b(%edx),%edx
274 call %edx
289 jmp %edx ; \
294 movl (%edx),%edx ; \
295 pushl %edx ; \
300 movl reg, (%edx) ; \
[all...]
/macosx-10.5.8/xnu-1228.15.4/libsyscall/custom/
H A D__getpid.s103 movl %eax, %edx
107 cmpxchgl %edx, __current_pid
108 movl %edx, %eax
130 movl %eax, %edx
134 cmpxchgl %edx, (%rcx)
135 movl %edx, %eax
H A D__gettimeofday.s49 * This syscall is special cased: the timeval is returned in eax/edx.
55 mov %edx,4(%ecx)
67 movl %edx, 8(%rdi)
H A D__pipe.s47 movl %edx,4(%ecx)
55 movl %edx, 4(%rdi)
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-asm.s696 * %edx is trashed.
734 movl $-1,%edx
735 xchgl %edx,A_lock(%ecx) /* %edx == 0 if context available */
738 SDADDNEG(%edx,V_acontext_locked(%ebx)) /* increment counter if lock was held */
741 cmpl $0,%edx
745 movl A_plist(%ecx),%edx /* pointer to current block */
746 cmpl $0,%edx /* first allocation? */
749 cmpl %eax,M_nfree(%edx) /* see if we have enough space */
753 /* %eax = bytes to allocate, %ebx = GOT, %ecx = context, %edx
[all...]

Completed in 70 milliseconds

123