/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | munge.s | 83 xorl %edx,%edx 87 xorl %edx,%edx 91 xorl %edx,%edx 95 xorl %edx,%edx 99 xorl %edx,%edx [all...] |
/darwin-on-arm/xnu/bsd/dev/x86_64/ |
H A D | munge.s | 82 xorl %edx,%edx 85 xorl %edx,%edx 88 xorl %edx,%edx 91 xorl %edx,%edx 94 xorl %edx,%edx [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | bzero.s | 69 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 D | bcopy.s | 70 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 D | machine_routines_asm.s | 53 movl %edx, 0(%ecx) 101 movl %edx,%edi // Need to save only the high order part 106 adcl $0,%edx // Add in any overflow to high high part 107 movl %edx,%esi // Save high high part 115 movl %edx,%ecx // Need to save the high order part 120 // Now have %ecx:%ebx as low part of high low and %edx:%eax as high part of high high 128 movl %esi,%edx // and the high word 146 mov 12(%esp),%edx /* ptr to rtc_nanotime_info */ 148 movl RNT_GENERATION(%edx),%ecx /* get current generation */ 149 movl $0,RNT_GENERATION(%edx) /* fla [all...] |
H A D | pal_routines_asm.s | 70 mov 20(%ebp), %edx /* load stack_contents into %edx */ 74 COPY_STACK(%edx, %ecx, %edi) 120 mov 16(%ebp), %edx /* load stack_contents into %edx */ 124 COPY_STACK(%edx, %ecx, %edi) 128 mov 8(%esi), %edx 161 mov 32(%ebp),%edx /* get ptr to rtc_nanotime_info */ 163 movl RNT_GENERATION(%edx),%esi /* get current generation */ 164 movl $0,RNT_GENERATION(%edx) /* fla [all...] |
H A D | rtclock_asm_native.h | 47 * %edx:%eax returns nanotime 57 sbbl RNT_TSC_BASE+4(%edi),%edx /* tsc - tsc_base */ ; \ 59 movl %edx,%ebx ; \ 62 movl %edx,%ebx ; \ 65 adcl $0,%edx ; \ 67 adcl RNT_NS_BASE+4(%edi),%edx ; \
|
H A D | gdb_defs.h | 46 unsigned int edx; member in struct:__anon930
|
H A D | rtclock_asm.h | 48 * Nanotime returned in %edx:%eax. 52 * Uses %eax, %ebx, %ecx, %edx, %esi, %edi. 73 NANOTIME /* edx:eax nanosecs */ ; \ 75 movl %edx,%edi /* save timestamp */ ; \ 78 sbbl (old##_TIMER)+TIMER_TSTAMP+4(%ecx),%edx /* time */ ; \ 79 TIMER_UPDATE(%ecx,%edx,%eax,old##_TIMER) /* update timer */ ; \ 86 movl %edi,%edx /* restore timestamp */ ; \ 88 sbbl (old##_STATE)+TIMER_TSTAMP+4(%ebx),%edx /* time */ ; \ 89 TIMER_UPDATE(%ebx,%edx,%eax,old##_STATE)/* update timer */ ; \ 97 * Uses %eax,%ebx,%ecx,%edx, [all...] |
H A D | start64.s | 111 mov B_ARG0, %edx 112 mov DS64_DR0(%edx), %rax 114 mov DS64_DR1(%edx), %rax 116 mov DS64_DR2(%edx), %rax 118 mov DS64_DR3(%edx), %rax 145 movl B_ARG1, %edx 149 /* %rax = %edx:%eax */ 168 shr $32, %rdx // %edx:%eax = %cr3 227 mov $(VMX_FAIL_VALID), %edx 231 cmovzl %edx, [all...] |
H A D | mp.h | 278 pushl %edx ; \ 280 popl %edx ; \ 311 pushl %edx; \ 313 popl %edx; \ 319 pushl %edx; \ 321 popl %edx; \ 327 pushl %edx; \ 329 popl %edx; \ 335 pushl %edx; \ 337 popl %edx; \ [all...] |
/darwin-on-arm/xnu/osfmk/i386/commpage/ |
H A D | commpage_asm.s | 66 mov _commPagePtr32,%edx 67 testl %edx,%edx 69 sub $(ASM_COMM_PAGE32_BASE_ADDRESS),%edx 71 incl ASM_COMM_PAGE_SCHED_GEN(%edx) 74 mov _commPagePtr64,%edx 75 testl %edx,%edx 77 sub $(ASM_COMM_PAGE32_START_ADDRESS),%edx 79 incl ASM_COMM_PAGE_SCHED_GEN(%edx) [all...] |
H A D | pthreads.s | 104 lea PTHRW_INC(%eax),%edx // copy original lval and bump sequence count 105 orl $PTHRW_EBIT, %edx // set EBIT 107 cmpxchgl %edx,PTHRW_LVAL(%edi) // try to acquire lock for real 119 movl 12(%esi),%edx 121 movl %edx,4(%eax) 129 lea PTHRW_INC(%eax),%edx // copy original lval and bump sequence count 130 orl $PTHRW_WBIT, %edx // set WBIT 132 cmpxchgl %edx,PTHRW_LVAL(%edi) // try to update lock status atomically 139 pushl %edx // arg 2: new value of mutex lval field 143 movl 24(%esi),%edx // ge [all...] |
/darwin-on-arm/xnu/libkern/kxld/i386/ |
H A D | WKdmCompress.s | 68 movl 8(%ebp), %edx // %edx = src_buf 79 leal (%edx,%eax,4), %ecx // src_buf + num_input_words*4 108 cmpl %ecx, %edx // next_input_word (%edx) vs end_of_input (%ecx) 114 movl %edx, %edi // next_input_word 138 movsbl (%ebx,%eax),%edx // HASH_TO_DICT_BYTE_OFFSET(input_word) 139 addl dictionary, %edx // ((char*) dictionary) + HASH_TO_DICT_BYTE_OFFSET(input_word)); 140 movl (%edx), %eax // dict_word = *dict_location; 153 movl %ecx, (%edx) // *dict_locatio [all...] |
H A D | WKdmDecompress.s | 59 leal -1288(%ebp), %edx // tempTagsArray 60 movl %edx, tempTagsArray // save a copy of tempTagsArray[] at the said location 63 movl %edx, %ecx // %ecx -> tempTagsArray[0] 68 movl 16(%edi,%esi,4), %edx // src_buf[i] for 16 tags, 16 (WKdm header) 69 movl %edx, %eax // w = src_buf[i] 72 movl %edx, %eax // w = src_buf[i] 76 shrl $4, %edx // shift down w by 4 bits 77 movl %edx, %eax // w>>4 80 shrl $2, %edx // w>>6 81 andl %ebx, %edx // [all...] |
/darwin-on-arm/xnu/libkern/zlib/intel/ |
H A D | inffastS.s | 90 movl state, %edx 93 movl 20(%edx), %ecx // state->dmax 97 movl 40(%edx), %ecx // state->wsize 100 movl 44(%edx), %ecx // state->whave 103 movl 48(%edx), %esi // state->write 106 movl 52(%edx), %eax // state->window 110 movl 56(%edx), %ecx // state->hold 113 movl 60(%edx), bits // bits = state->bits; 115 movl 76(%edx), %esi // state->lencode 118 movl 80(%edx), [all...] |
H A D | adler32vec.s | 149 mull adler // edx:eax = adler divided by BASE in Q47 150 shrl $$15, %edx // edx is now the floor integer of adler and BASE 151 imull $$BASE, %edx, %edx // edx * BASE 152 subl %edx, adler // adler -= edx*BASE 154 mull sum2 // edx:eax = sum2 divided by BASE in Q47 155 shrl $$15, %edx // ed [all...] |
/darwin-on-arm/xnu/iokit/Kernel/x86_64/ |
H A D | IOSharedLock.s | 55 orl $-1, %edx 57 cmpxchgl %edx, (%rdi)
|
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/ |
H A D | asm_help.h | 65 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...] |
/darwin-on-arm/xnu/libsyscall/custom/ |
H A D | __getpid.s | 65 movl %eax, %edx 69 cmpxchgl %edx, __current_pid 70 movl %edx, %eax 92 movl %eax, %edx 96 cmpxchgl %edx, (%rcx) 97 movl %edx, %eax
|
H A D | __gettimeofday.s | 35 * This syscall is special cased: the timeval is returned in eax/edx. 41 mov %edx,4(%ecx) 53 movl %edx, 8(%rdi)
|
H A D | __pipe.s | 37 movl %edx,4(%ecx) 45 movl %edx, 4(%rdi)
|
H A D | __syscall.s | 39 movl (%esp),%edx // add one element to stack so
|
/darwin-on-arm/xnu/osfmk/profiling/i386/ |
H A D | profile-asm.s | 696 * %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...] |
/darwin-on-arm/xnu/libkern/i386/ |
H A D | OSAtomic.s | 39 movl 8(%esp), %edx #; newValue 42 cmpxchgl %edx, 0(%ecx) #; CAS (eax is an implicit operand) 58 movl 8+8(%esp), %edx #; high 32-bits of oldValue 63 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit) 82 movl 4(%edi), %edx #; load high 32-bits of *ptr 85 movl %edx, %ecx #; ebx:ecx := *ptr 89 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit) 90 jnz 1b #; - failure: eax:edx re-loaded, retry 91 #; - success: old value in eax:edx
|