/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | munge.s | 77 movl 8(%esp),%ecx // get &uu_args 78 movl $0,4(%ecx) 82 movl 8(%esp),%ecx // get &uu_args 86 movl 8(%esp),%ecx // get &uu_args 90 movl 8(%esp),%ecx // get &uu_args 94 movl 8(%esp),%ecx // get &uu_args 98 movl 8(%esp),%ecx // get &uu_args 102 movl 8(%esp),%ecx // get &uu_args 106 movl 8(%esp),%ecx // get &uu_args 108 movl 28(%ecx), [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | cswitch.s | 75 movl S_ARG0,%ecx /* get thread */ 76 movl TH_KERNEL_STACK(%ecx),%ecx /* get kernel stack */ 77 lea -IKS_SIZE(%ecx),%edx 79 movl %ecx,%gs:CPU_ACTIVE_STACK /* store stack address */ 101 movl %gs:CPU_KERNEL_STACK,%ecx /* get old kernel stack top */ 102 movl %ebx,KSS_EBX(%ecx) /* save registers */ 103 movl %ebp,KSS_EBP(%ecx) 104 movl %edi,KSS_EDI(%ecx) 105 movl %esi,KSS_ESI(%ecx) [all...] |
H A D | _setjmp.s | 74 movl 4(%esp),%ecx # fetch buffer 75 movl %ebx,0(%ecx) 76 movl %esi,4(%ecx) 77 movl %edi,8(%ecx) 78 movl %ebp,12(%ecx) # save frame pointer of caller 80 movl %esp,16(%ecx) # save stack pointer of caller 81 movl %edx,20(%ecx) # save pc of caller 87 movl 4(%esp),%ecx # fetch buffer 88 movl 0(%ecx),%ebx 89 movl 4(%ecx), [all...] |
H A D | bzero.s | 76 movl %edx,%ecx 77 shrl $2,%ecx 81 movl %edx,%ecx 82 andl $3,%ecx 100 movl %edx,%ecx 101 shrl $2,%ecx 105 movl %edx,%ecx 106 andl $3,%ecx
|
H A D | bcopy.s | 73 movl %edx,%ecx 74 shrl $2,%ecx 78 movl %edx,%ecx 79 andl $3,%ecx 105 movl %edx,%ecx 106 shrl $1,%ecx 110 movl %edx,%ecx 111 andl $1,%ecx 129 movl 20(%esp),%ecx 133 cmpl %ecx, [all...] |
H A D | rtclock_asm.h | 52 * Uses %eax, %ebx, %ecx, %edx, %esi, %edi. 76 movl %gs:CPU_ACTIVE_THREAD,%ecx /* get current thread */ ; \ 77 subl (old##_TIMER)+TIMER_TSTAMP(%ecx),%eax /* elapsed */ ; \ 78 sbbl (old##_TIMER)+TIMER_TSTAMP+4(%ecx),%edx /* time */ ; \ 79 TIMER_UPDATE(%ecx,%edx,%eax,old##_TIMER) /* update timer */ ; \ 80 movl %esi,(new##_TIMER)+TIMER_TSTAMP(%ecx) /* set timestamp */ ; \ 81 movl %edi,(new##_TIMER)+TIMER_TSTAMP+4(%ecx) /* set timestamp */ ; \ 82 leal (new##_TIMER)(%ecx), %ecx /* compute new timer pointer */ ; \ 84 movl %ecx,THREAD_TIME [all...] |
H A D | locore.s | 159 xorl %ecx,%ecx /* don't check if in the PFZ */ 176 movl $(USER_WINDOW_SEL),%ecx /* user data segment access through kernel window */ 180 movl $(PHYS_WINDOW_SEL),%ecx /* physical access through kernel window */ 185 movl $(USER_WINDOW_SEL),%ecx /* user data segment access through kernel window */ 199 movl %edx,%ecx /* move by longwords first */ 200 shrl $2,%ecx 205 movl %edx,%ecx /* now move remaining bytes */ 206 andl $3,%ecx 239 movl $(USER_WINDOW_SEL),%ecx /* use [all...] |
H A D | machine_routines_asm.s | 47 movl S_ARG0, %ecx 53 movl %edx, 0(%ecx) 54 movl %eax, 4(%ecx) 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 124 adcl %ecx,%esi // Add in the high plus carry from low 148 movl RNT_GENERATION(%edx),%ecx /* get current generation */ 155 incl %ecx /* next generation */ 157 incl %ecx /* skip 0, which is a flag */ 158 1: movl %ecx,RNT_GENERATIO [all...] |
H A D | rtclock_asm_native.h | 58 movl RNT_SCALE(%edi),%ecx /* * scale factor */ ; \ 60 mull %ecx ; \ 63 mull %ecx ; \ 105 movl RNT_SHIFT(%rdi),%ecx ; \ 109 movl RNT_SCALE(%rdi),%ecx ; \
|
H A D | idt.s | 493 * ecx 514 movl %gs:CPU_ACTIVE_THREAD,%ecx 515 subl TH_PCB_ISS(%ecx),%ebx 516 movl $(WINDOWS_CLEAN),TH_COPYIO_STATE(%ecx) 518 movl TH_PCB_IDS(%ecx),%eax /* get debug state struct */ 521 movl DS_DR0(%eax), %ecx /* Load the 32 bit debug registers */ 522 movl %ecx, %db0 523 movl DS_DR1(%eax), %ecx 524 movl %ecx, %db1 525 movl DS_DR2(%eax), %ecx [all...] |
H A D | gdb_defs.h | 45 unsigned int ecx; member in struct:__anon930
|
H A D | mp.h | 277 pushl %ecx ; \ 281 popl %ecx ; \ 310 pushl %ecx; \ 314 popl %ecx; \ 318 pushl %ecx; \ 322 popl %ecx; \ 326 pushl %ecx; \ 330 popl %ecx; \ 334 pushl %ecx; \ 338 popl %ecx; \ [all...] |
/darwin-on-arm/xnu/iokit/Kernel/i386/ |
H A D | IOSharedLock.s | 39 movl 4(%esp), %ecx 40 movl $0, (%ecx) 55 movl 4(%esp), %ecx 58 cmpxchgl %ecx, (%ecx)
|
/darwin-on-arm/xnu/libsyscall/custom/ |
H A D | __syscall.s | 35 popl %ecx // ret addr 37 pushl %ecx 40 pushl %ecx // caller "pop" will work
|
H A D | __gettimeofday.s | 39 mov 4(%esp),%ecx 40 mov %eax,(%ecx) 41 mov %edx,4(%ecx)
|
H A D | __pipe.s | 35 movl 4(%esp),%ecx 36 movl %eax,(%ecx) 37 movl %edx,4(%ecx)
|
H A D | __vfork.s | 60 xorl %ecx, %ecx 62 cmovs %eax, %ecx 63 decl %ecx 65 cmpxchgl %ecx, __current_pid 67 popl %ecx 74 pushl %ecx 81 jmp *%ecx 87 jmp *%ecx 100 xorl %ecx, [all...] |
/darwin-on-arm/xnu/osfmk/i386/commpage/ |
H A D | fifo_queues.s | 77 * %ecx = stack ptr 78 * Destroys %eax, %ecx, and %edx. 82 movl %esp,%ecx // save stack ptr here 101 pushl %ecx 103 popl %ecx 124 orl $-1, %ecx 126 cmpxchgl %ecx, 8(%edi) // try to take the spinlock 132 cmpxchgl %ecx, 8(%edi) // try 2nd time to take the spinlock 138 cmpxchgl %ecx, 8(%edi) // try 3rd time to take the spinlock 144 movl 4(%edi),%ecx // ge [all...] |
/darwin-on-arm/xnu/libkern/zlib/intel/ |
H A D | inffastS.s | 74 movl 4(strm), %ecx // strm->avail_in 75 addl %ecx, %eax // in + (strm->avail_in - 5); 81 movl 16(strm), %ecx // strm->avail_out 84 addl %ecx, %eax // out - (start - strm->avail_out); 87 leal -257(%esi,%ecx), %ecx // out + (strm->avail_out - 257); 88 movl %ecx, end // end = out + (strm->avail_out - 257); 93 movl 20(%edx), %ecx // state->dmax 94 movl %ecx, dmax // dmax = state->dmax; 97 movl 40(%edx), %ecx // stat [all...] |
/darwin-on-arm/xnu/libkern/i386/ |
H A D | OSAtomic.s | 40 movl 12(%esp), %ecx #; ptr 42 cmpxchgl %edx, 0(%ecx) #; CAS (eax is an implicit operand) 60 movl 16+8(%esp), %ecx #; high 32-bits of newValue 63 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit) 85 movl %edx, %ecx #; ebx:ecx := *ptr 87 adcl 8+8(%esp), %ecx #; ebx:ecx := *ptr + theAmount 89 cmpxchg8b 0(%edi) #; CAS (eax:edx, ebx:ecx implicit) 105 movl 8(%esp), %ecx #; Loa [all...] |
/darwin-on-arm/xnu/libkern/kxld/i386/ |
H A D | WKdmCompress.s | 72 leal -1112(%ebp), %ecx // tempTagsArray 73 movl %ecx, -6272(%ebp) // a copy of char* next_tag = (char *) tempTagsArray; 75 leal -2136(%ebp), %ecx // tempQPosArray 76 movl %ecx, -6264(%ebp) // char* next_qp = (char *) tempQPosArray; 77 movl %ecx, -6252(%ebp) 79 leal (%edx,%eax,4), %ecx // src_buf + num_input_words*4 80 movl %ecx, -6244(%ebp) // end_of_input = src_buf + num_input_words; 108 cmpl %ecx, %edx // next_input_word (%edx) vs end_of_input (%ecx) 131 movl (next_input_word), %ecx // input_wor [all...] |
/darwin-on-arm/xnu/osfmk/x86_64/ |
H A D | machine_routines_asm.s | 169 movl RNT_SHIFT(%rsi),%ecx 204 test $(1 << 30), %ecx 212 mov %eax, %ecx 221 movzbl %cl, %ecx 222 shl $16, %ecx 223 xor %ecx, %edx 242 mov $(VMX_FAIL_INVALID), %ecx 246 cmovcl %ecx, %eax /* CF = 1, ZF = 0 */ 260 mov $(VMX_FAIL_INVALID), %ecx 264 cmovcl %ecx, [all...] |
H A D | locore.s | 117 movl %edi, %ecx 136 movl %edi, %ecx 152 movl %edi, %ecx 174 xorl %ecx, %ecx /* don't check if we're in the PFZ */ 188 movl %edx,%ecx /* move by longwords first */ 189 shrl $3,%ecx 195 movl %edx,%ecx /* now move remaining bytes */ 196 andl $7,%ecx
|
/darwin-on-arm/xnu/osfmk/profiling/i386/ |
H A D | profile-asm.s | 695 * %ecx is the number of the memory pool to allocate from (trashed on exit). 707 movl %ecx,%edi /* move context number to saved reg */ 721 leal V_acontext(%ebx,%edi,4),%ecx 724 /* %eax = size, %ebx = vars addr, %ecx = ptr to allocation context to try */ 729 movl %ecx,%esi /* save ptr in case no more contexts */ 730 movl A_next(%ecx),%ecx /* next context block */ 731 cmpl $0,%ecx 735 xchgl %edx,A_lock(%ecx) /* %edx == 0 if context available */ 744 /* Allocation context found (%ecx), no [all...] |
/darwin-on-arm/xnu/tools/tests/execperf/ |
H A D | exit-asm.S | 10 movl $0, %ecx 37 mov %esp, %ecx
|