Home
last modified time | relevance | path

Searched refs:rcx (Results 1 – 25 of 46) sorted by relevance

12

/xnu-11417.121.6/osfmk/x86_64/
H A Dcswitch.s78 lea -IKS_SIZE(%rdx),%rcx
79 add EXT(kernel_stack_size)(%rip),%rcx /* point to stack top */
82 movq %rcx,%gs:CPU_KERNEL_STACK /* set stack top */
84 movq KSS_RSP(%rcx),%rsp /* switch stacks */
85 movq KSS_RBX(%rcx),%rbx /* restore registers */
86 movq KSS_RBP(%rcx),%rbp
87 movq KSS_R12(%rcx),%r12
88 movq KSS_R13(%rcx),%r13
89 movq KSS_R14(%rcx),%r14
90 movq KSS_R15(%rcx),%r15
[all …]
H A Didt64.s172 pushq %rcx
182 movq %cr2, %rcx
183 cmpq %rbx, %rcx
200 leaq rip_cacheline_read(%rip), %rcx
201 cmpq %rcx, %rbx
203 leaq rip_cacheline_read_end(%rip), %rcx
204 cmpq %rcx, %rbx
209 popq %rcx
219 popq %rcx
220 movq %rcx, %cr2
[all …]
H A Dpal_routines_asm.s72 push %rcx
78 sub %rcx, %rsp /* make room for stack contents */
80 COPY_STACK(%rdx, %rcx, %r8)
83 mov 0(%rsi), %rcx
95 mov -56(%rbp), %rcx /* load s_c_s into %rcx */
96 add %rcx, %rsp /* discard stack contents */
99 pop %rcx
130 push %rcx
136 sub %rcx, %rsp /* make room for stack contents */
138 COPY_STACK(%rdx, %rcx, %r8)
[all …]
H A Dbcopy.s68 movq %rdx,%rcx
95 movq %rdx,%rcx
99 cmpq %rcx,%rax /* overlapping && src < dst? */
110 addq %rcx,%rdi /* copy backwards */
111 addq %rcx,%rsi
114 andq $7,%rcx /* any fractional bytes? */
118 movq %rdx,%rcx /* copy remainder by 32-bit words */
119 shrq $3,%rcx
H A Dbzero.s75 movq %rdx, %rcx /* mov bytes */
91 orq %rcx, %rax
93 movq %rdx, %rcx /* mov quads first */
94 shrq $1, %rcx
97 movq %rdx,%rcx /* if necessary, mov 32 bit word */
98 andq $1,%rcx
109 movq %rsi,%rcx
H A DWKdmCompress_new.s198 #define dict_location %rcx
308 movq tempTagsArray, %rcx // &tempTagsArray[0]
312 movq 8(%rcx), %rax // w3
313 addq $16, %rcx // tempTagsArray += 16;
316 orq -16(%rcx), %rax // w3
320 cmpq %rcx, next_tag // cmp next_tag vs dest_buf
337 leaq (tempQPosArray,%rax,4), %rcx // endQPosArray = tempQPosArray + num_source_words
338 cmpq %rcx, next_qp // next_qp vs endQPosArray
340 movq %rcx, %rax
360 cmpq tempQPosArray, %rcx // endQPosArray vs tempQPosArray
[all …]
H A DWKdmDecompress_new.s163 movq %r13, %rcx // next_word
177 movq %rdx, (%rcx)
178 movq %rax, 8(%rcx)
179 addq $16, %rcx // next_tags += 16
194 leaq 8(%rbx), %rcx // next_qpos
204 movq %rax, -8(%rcx)
205 addq $8, %rcx // next_qpos+=8
220 movq %r11, %rcx // next_low_bits
232 cmp %r13, %rcx
234 mov %rax, (%rcx)
[all …]
H A Dstart.s226 leaq _vstart(%rip), %rcx
229 or %rcx, %rax
239 shl $16, %rcx
240 xor %rcx, %rax
244 lea (%rip), %rcx
245 shr $21, %rcx
308 leaq EXT(hibernate_kernel_entrypoint)(%rip),%rcx
313 orq %rcx, %rax
360 push %rcx
398 mov $MSR_IA32_KERNEL_GS_BASE, %rcx
[all …]
H A Dlocore.s198 mov %rdx, %rcx /* move by longwords first */
199 shr $3, %rcx
222 movq (%rdi), %rcx
223 mov %rcx, (%rsi)
270 movq (%rdi), %rcx
273 mov %rcx, (%rsi)
309 cmpq $0,%rcx /* get OUT len ptr */
312 movq %rsi,(%rcx) /* else set OUT arg to xfer len */
H A Dmcount.s66 pushq %rcx
76 popq %rcx
H A Dmachine_routines_asm.s203 movq %r12,%rcx /* continuation */
207 call *%rcx /* call continuation */
/xnu-11417.121.6/osfmk/i386/
H A Dx86_hypercall.h68 uint64_t rcx; member
108 hvg_hypercall6(uint64_t code, uint64_t rdi, uint64_t rsi, uint64_t rdx, uint64_t rcx, uint64_t r8, … in hvg_hypercall6() argument
120 "=c" (output->rcx), /* %4: output[4] */ in hvg_hypercall6()
127 "c" (rcx), /* %11: arg[3] */ in hvg_hypercall6()
167 const uint64_t rdi, const uint64_t rsi, const uint64_t rdx, const uint64_t rcx, in hvg_hypercall4() argument
170 return hvg_hypercall6(code, rdi, rsi, rdx, rcx, 0, 0, output); in hvg_hypercall4()
175 … const uint64_t rdi, const uint64_t rsi, const uint64_t rdx, const uint64_t rcx, const uint64_t r8, in hvg_hypercall5() argument
178 return hvg_hypercall6(code, rdi, rsi, rdx, rcx, r8, 0, output); in hvg_hypercall5()
H A Drtclock_asm_native.h78 mulq %rcx /* delta * scale */ ; \
95 mulq %rcx /* delta * scale */ ; \
H A Dx86_hypercall.c88 memcpy(&vmcore->tag[reg_size * 4], &output.rcx, reg_size); in hvg_hcall_trigger_dump()
167 memcpy(&uuid[32], &output.rcx, 4); in hvg_hcall_get_bootsessionuuid()
/xnu-11417.121.6/osfmk/arm64/
H A DWKdmDecompress_4k.s114 #define rcx x5 macro
156 mov rcx, #(PAGES_SIZE_IN_KBYTES*1024) // number of bytes to zero out
166 subs rcx, rcx, #256
194 mov rcx, scratch // tempTagsArray
228 st1.4s {v2,v3,v4,v5}, [rcx], #64 // write 64 tags into tempTagsArray
242 add rcx, scratch, #(1024*scale) // tempQPosArray
252 str q2, [rcx], #16
262 str d2, [rcx], #8 // write 16 tags into tempTagsArray
270 add rcx, scratch, #(2048*scale) // tempLowBitsArray
301 str d4, [rcx], #6 // write 3 low 10-bits
[all …]
H A DWKdmDecompress_16k.s114 #define rcx x5 macro
156 mov rcx, #(PAGES_SIZE_IN_KBYTES*1024) // number of bytes to zero out
166 subs rcx, rcx, #256
194 mov rcx, scratch // tempTagsArray
228 st1.4s {v2,v3,v4,v5}, [rcx], #64 // write 64 tags into tempTagsArray
242 add rcx, scratch, #(1024*scale) // tempQPosArray
252 str q2, [rcx], #16
262 str d2, [rcx], #8 // write 16 tags into tempTagsArray
270 add rcx, scratch, #(2048*scale) // tempLowBitsArray
301 str d4, [rcx], #6 // write 3 low 10-bits
[all …]
H A DWKdmCompress_4k.s206 #define rcx x14 macro
353 mov rcx, tempTagsArray // &tempTagsArray[0]
356 ld1.2s {v0,v1,v2,v3},[rcx],#32
372 cmp next_tag, rcx
381 add rcx, tempQPosArray, rax, lsl #3 // endQPosArray = tempQPosArray + 2*num_source_words
386 cmp rcx, next_qp // endQPosArray vs next_qp
388 sub rax, rcx, next_qp
401 cmp rcx, tempQPosArray // endQPosArray vs tempQPosArray
410 cmp rcx, rdx // source_end vs src_next
424 add rcx, scratch, #(2048*scale) // tempLowBitsArray
[all …]
H A DWKdmCompress_16k.s208 #define rcx x14 macro
355 mov rcx, tempTagsArray // &tempTagsArray[0]
358 ld1.2s {v0,v1,v2,v3},[rcx],#32
374 cmp next_tag, rcx
383 add rcx, tempQPosArray, rax, lsl #3 // endQPosArray = tempQPosArray + 2*num_source_words
388 cmp rcx, next_qp // endQPosArray vs next_qp
390 sub rax, rcx, next_qp
403 cmp rcx, tempQPosArray // endQPosArray vs tempQPosArray
412 cmp rcx, rdx // source_end vs src_next
426 add rcx, scratch, #(2048*scale) // tempLowBitsArray
[all …]
/xnu-11417.121.6/tests/
H A Dldt_code32.s62 pushq %rcx /* Push the 64-bit fn ptr that compat mode will call */
240 pushq %rcx
267 movq 0x3c(%rbp), %rcx
281 popq %rcx
/xnu-11417.121.6/bsd/dev/i386/
H A Ddtrace_isa.c199 return (uint64_t)(regs->ss_64.rcx); in dtrace_getreg()
311 "=c" (regs->ss_64.rcx), in dtrace_vmcall()
320 "c" (regs->ss_64.rcx), in dtrace_vmcall()
338 "=c" (regs->ss_64.rcx), in dtrace_cpuid()
343 "c" (regs->ss_64.rcx), in dtrace_cpuid()
363 if ((regs.ss_64.rcx & _Bit(31)) != 0) { in dtrace_applepv_available()
370 regs.ss_64.rcx != 0x76702d65 || in dtrace_applepv_available()
428 memcpy(&str[32], &regs.ss_64.rcx, 8); in dtrace_livedump()
/xnu-11417.121.6/libsyscall/custom/
H A D__getpid.s94 leaq __current_pid(%rip), %rcx
96 cmpxchgl %edx, (%rcx)
H A D__vfork.s113 movq __current_pid@GOTPCREL(%rip), %rcx
115 addl $1, (%rcx)
/xnu-11417.121.6/osfmk/kdp/ml/x86_64/
H A Dkdp_machdep.c138 state->rcx = saved_state->rcx; in kdp_getstate()
173 saved_state->rcx = state->rcx; in kdp_setstate()
/xnu-11417.121.6/tools/tests/execperf/
H A Dexit-asm.S12 movq %rcx, %r10
/xnu-11417.121.6/osfmk/i386/commpage/
H A Dfifo_queues.s231 pushq %rcx
237 popq %rcx

12