/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/ |
H A D | bzero_sse42_64.s | 54 movq %rdi,%r11 // save original ptr as return value 60 // %rdi = ptr 69 movb %al,(%rdi) // zero a byte 70 incq %rdi 75 movb %al,(%rdi) // zero a byte 76 incq %rdi 84 movl %eax,(%rdi) // zero an aligned doubleword 85 addq $4,%rdi 91 movb %al,(%rdi) // zero a byte 92 incq %rdi [all...] |
H A D | memset_pattern_sse2_64.s | 52 // %rdi = ptr to memory to set (not necessarily aligned) 56 // %rax, %rdi, %rsi, %rcx, and %rdx all trashed 69 // %rdi = ptr (may not be not aligned) 73 movdqu %xmm0,(%rdi) // stuff in another 16 bytes 75 addq $16,%rdi 82 movq %xmm0,(%rdi) // pack in 8 low bytes 84 addq $8,%rdi 88 movd %xmm0,(%rdi) // pack in 4 low bytes 90 addq $4,%rdi 96 movb %al,(%rdi) // pac [all...] |
H A D | bzero_sse2_64.s | 52 movq %rdi,%r11 // save original ptr as return value 58 // %rdi = ptr 67 movb %al,(%rdi) // zero a byte 68 incq %rdi 73 movb %al,(%rdi) // zero a byte 74 incq %rdi 82 movl %eax,(%rdi) // zero an aligned doubleword 83 addq $4,%rdi 89 movb %al,(%rdi) // zero a byte 90 incq %rdi [all...] |
H A D | bcopy_sse42_64.s | 50 movq %rdi,%rsi // xchange source and dest ptrs 51 movq %rax,%rdi 71 movq %rdi,%r11 // save return value here 72 movq %rdi,%rax 82 // rdi = dest ptr 91 movl %eax,(%rdi) 92 addq $4,%rdi 101 movb %al,(%rdi) 102 incq %rdi 119 // rdi [all...] |
H A D | longcopy_sse3x_64.s | 54 // rdi = dest ptr 81 // rdi = dest (64-byte aligned) 96 // rdi = ptr to start of dest chunk 137 addq %rcx,%rdi 155 movntdq %xmm0,(%rdi,%rcx) 156 movntdq %xmm1,16(%rdi,%rcx) 157 movntdq %xmm2,32(%rdi,%rcx) 158 movntdq %xmm3,48(%rdi,%rcx) 159 movntdq %xmm4,64(%rdi,%rcx) 160 movntdq %xmm5,80(%rdi, [all...] |
H A D | bcopy_sse3x_64.s | 54 movq %rdi,%rsi // xchange source and dest ptrs 55 movq %rax,%rdi 75 movq %rdi,%r11 // save return value here 76 movq %rdi,%rax 86 // rdi = dest ptr 95 movl %eax,(%rdi) 96 addq $4,%rdi 105 movb %al,(%rdi) 106 incq %rdi 123 // rdi [all...] |
H A D | cacheflush.s | 60 Lsys_flush_dcache_64: // %rdi = ptr, %rsi = length 64 clflush -1(%rdi,%rsi) // make sure last line is flushed 66 clflush (%rdi) // flush a line 67 addq $64,%rdi
|
H A D | atomic.s | 248 // It assumes: old -> %rdi (ie, it follows the ABI parameter conventions) 274 // It assumes: old -> %rdi (ie, it follows the ABI parameter conventions) 282 movq %rdi,%rax // put old value where "cmpxchg" wants it 291 movq %rdi,%rax // put old value where "cmpxchg" wants it 300 // n = %rdi 322 // n = %rdi 344 // amt = %rdi 367 // amt = %rdi 369 // Returns: old value in %rdi 370 // NB: OSAtomicAdd64 returns the new value, so clients will add amt to %rdi [all...] |
H A D | spinlocks.s | 140 cmpxchgl %edx, (%rdi) 153 cmpxchgl %edx, (%rdi) 163 movq %rdi,%r8 185 movq %rdi,%r8 215 movl $0, (%rdi)
|
H A D | pthreads.s | 61 movq %gs:_PTHREAD_TSD_OFFSET64(,%rdi,8), %rax
|
H A D | commpage_gettimeofday.s | 91 Lgettimeofday_64: // %rdi = ptr to timeval 94 movq %rdi,%r9 // save ptr to timeval
|
/macosx-10.5.8/xnu-1228.15.4/libsyscall/custom/ |
H A D | __gettimeofday.s | 66 movq %rax, (%rdi) 67 movl %edx, 8(%rdi)
|
H A D | __pipe.s | 54 movl %eax, (%rdi) 55 movl %edx, 4(%rdi)
|
H A D | __vfork.s | 157 popq %rdi // return address in %rdi 164 movq (%rcx), %rdi 171 jmp *%rdi 177 jmp *%rdi
|
H A D | custom.s | 96 movq %rax,%rdi
|
H A D | __fork.s | 225 leaq LC0(%rip), %rdi // copy the name of the function to look up
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | rtclock.h | 108 * %rdi points to nanotime info struct. 112 0: movl RNT_GENERATION(%rdi),%esi ; \ 120 subq RNT_TSC_BASE(%rdi),%rax /* tsc - tsc_base */ ; \ 122 movl RNT_SCALE(%rdi),%ecx ; \ 125 addq RNT_NS_BASE(%rdi),%rax /* add ns_base */ ; \ 126 cmpl RNT_GENERATION(%rdi),%esi /* repeat if changed */ ; \
|
H A D | Diagnostics.c | 95 selector = regs->rdi;
|
H A D | bsd_i386.c | 430 regs->rax = (*entry->routine.args64_1)(regs->rdi); 744 (int) regs->rdi, (int) regs->rsi, 771 regs->rax = (uint64_t)mach_call((void *)(®s->rdi));
|
H A D | pcb.c | 802 saved_state->rdi = ts->rdi; 862 ts->rdi = saved_state->rdi; 920 saved_state->rdi = state->rdi; 1055 saved_state->rdi = state->rdi;
|
H A D | startup64.c | 344 kprintf("sp->rdi: 0x%016llx\n", sp->rdi);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/ |
H A D | _types.h | 75 uint64_t rdi; member in struct:x86_thread_state64
|
H A D | thread_status.h | 434 uint64_t rdi; /* arg0 for system call */ member in struct:x86_saved_state64
|
H A D | _structs.h | 390 __uint64_t rdi; variable
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | systemcalls.c | 284 uargp = (void *)(®s->rdi); 291 code = regs->rdi; 448 code = regs->rdi;
|