Searched refs:rdi (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/
H A Dbzero_sse42_64.s54 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 Dmemset_pattern_sse2_64.s52 // %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 Dbzero_sse2_64.s52 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 Dbcopy_sse42_64.s50 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 Dlongcopy_sse3x_64.s54 // 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 Dbcopy_sse3x_64.s54 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 Dcacheflush.s60 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 Datomic.s248 // 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 Dspinlocks.s140 cmpxchgl %edx, (%rdi)
153 cmpxchgl %edx, (%rdi)
163 movq %rdi,%r8
185 movq %rdi,%r8
215 movl $0, (%rdi)
H A Dpthreads.s61 movq %gs:_PTHREAD_TSD_OFFSET64(,%rdi,8), %rax
H A Dcommpage_gettimeofday.s91 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.s66 movq %rax, (%rdi)
67 movl %edx, 8(%rdi)
H A D__pipe.s54 movl %eax, (%rdi)
55 movl %edx, 4(%rdi)
H A D__vfork.s157 popq %rdi // return address in %rdi
164 movq (%rcx), %rdi
171 jmp *%rdi
177 jmp *%rdi
H A Dcustom.s96 movq %rax,%rdi
H A D__fork.s225 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 Drtclock.h108 * %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 DDiagnostics.c95 selector = regs->rdi;
H A Dbsd_i386.c430 regs->rax = (*entry->routine.args64_1)(regs->rdi);
744 (int) regs->rdi, (int) regs->rsi,
771 regs->rax = (uint64_t)mach_call((void *)(&regs->rdi));
H A Dpcb.c802 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 Dstartup64.c344 kprintf("sp->rdi: 0x%016llx\n", sp->rdi);
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/
H A D_types.h75 uint64_t rdi; member in struct:x86_thread_state64
H A Dthread_status.h434 uint64_t rdi; /* arg0 for system call */ member in struct:x86_saved_state64
H A D_structs.h390 __uint64_t rdi; variable
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dsystemcalls.c284 uargp = (void *)(&regs->rdi);
291 code = regs->rdi;
448 code = regs->rdi;

Completed in 110 milliseconds

12