Searched refs:rdx (Results 1 - 25 of 49) sorted by relevance

12

/darwin-on-arm/xnu/osfmk/i386/commpage/
H A Dcommpage_asm.s45 movq _commPagePtr32(%rip),%rdx
46 testq %rdx,%rdx
48 subq $(ASM_COMM_PAGE32_BASE_ADDRESS),%rdx
50 incl ASM_COMM_PAGE_SCHED_GEN(%rdx)
53 movq _commPagePtr64(%rip),%rdx
54 testq %rdx,%rdx
56 subq $(ASM_COMM_PAGE32_START_ADDRESS),%rdx
58 incl ASM_COMM_PAGE_SCHED_GEN(%rdx)
[all...]
H A Dpthreads.s169 * %rdx = mtid
198 movq %rdx,(%r8) // store mtid in mutex structure
218 pushq %rdx // some syscalls destroy %rdx so save it
221 popq %rdx // restore in case we need to re-execute syscall
H A Dfifo_queues.s261 * %rdx = offset of link field in elements
266 movq $0,(%rdx,%rsi) // zero forward link in new element
295 movq %rsi,(%rdx,%rcx) // point to new element from last
306 * %rdx = offset of link field in elements
338 movq (%rdx,%rax),%rsi// get ptr to 2nd element in q
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dcswitch.s68 leaq -IKS_SIZE(%rcx),%rdx
69 addq EXT(kernel_stack_size)(%rip),%rdx /* point to stack top */
71 movq %rdx,%gs:CPU_KERNEL_STACK /* store stack top */
73 movq %rdx,%rsp
74 movq %rdx,%rbp
84 * thread_t new) // %rdx
103 /* new thread in %rdx */
104 movq %rdx,%gs:CPU_ACTIVE_THREAD /* new thread is active */
105 movq TH_KERNEL_STACK(%rdx),%rdx /* ge
[all...]
H A Dbcopy.s62 /* rdi, rsi, rdx */
67 movq %rdx,%rcx
72 movq %rdx,%rcx
79 /* rdi, rsi, rdx */
87 * rdi, rsi, rdx
92 movq %rdx,%rcx
103 movq %rdx,%rcx
119 movq %rdx,%rcx /* copy remainder by 32-bit words */
H A Dbzero.s76 movq %rdx, %rcx /* mov quads first */
80 movq %rdx,%rcx /* mov bytes */
H A Dmachine_routines_asm.s52 shlq $32,%rdx
53 orq %rdx,%rax
85 mulq %rsi /* result is %rdx:%rax */
86 shrdq $32,%rdx,%rax /* %rdx:%rax >>= 32 */
172 mulq %rdx /* (tscUnits << shift) * scale */
173 shrdq $32,%rdx,%rax /* %rdx:%rax >>= 32 */
181 movq %rdx,%rsi /* wait result */
227 shl $32, %rdx
[all...]
H A Dmcount.s65 pushq %rdx
77 popq %rdx
H A Dpal_routines_asm.s76 /* stack_contents into %rdx */
80 COPY_STACK(%rdx, %rcx, %r8)
84 mov 8(%rsi), %rdx
134 /* stack_contents into %rdx */
138 COPY_STACK(%rdx, %rcx, %r8)
176 * uint32_t scale, // %rdx
H A Dstart.s255 shl $32, %rdx
256 xor %rdx, %rax
364 push %rdx
504 movq 2(%rax), %rdx /* GDT base, skip limit word */
506 movb $(K_TSS), 5(%rdx, %rax) /* clear busy flag */
525 pop %rdx
H A Dlocore.s118 movq %rdx, %rdi
181 * rdx: byte count
226 * rdx: max byte count
247 decq %rdx /* decrement #bytes left in buffer */
H A Didt64.s203 mov %rdx, R64_RDX(%rsp)
209 mov R64_TRAPFN(%rsp), %rdx /* %rdx := trapfn for later */
280 mov ISC32_TRAPFN(%rsp), %rdx /* %rdx := trapfn for later */
328 jmp *%rdx
338 mov %gs:CPU_ACTIVE_THREAD, %rdx
339 movq TH_PCB_IDS(%rdx),%rax /* Obtain this thread's debug state */
449 pop %rdx /* user return eip */
493 mov R64_RDX(%rsp), %rdx
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Drtclock_asm.h180 * Uses: %rsi, %rdi, %rdx, %rcx
194 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
204 movq %gs:CPU_PROCESSOR,%rdx /* get processor */ ; \
205 movq %rcx,THREAD_TIMER(%rdx) /* set current timer */ ; \
207 subq (old##_STATE)+TIMER_TSTAMP(%rdx),%rax /* compute elapsed */; \
208 TIMER_UPDATE(%rdx,%rax,old##_STATE) /* update timer */ ; \
209 leaq (new##_STATE)(%rdx),%rcx /* point to new state */ ; \
210 movq %rcx,CURRENT_STATE(%rdx) /* set current state */ ; \
215 * Uses: %rsi, %rdi, %rdx, %rcx, %rax
221 * Uses: %rsi, %rdi, %rdx,
[all...]
H A Drtclock_asm_native.h104 shlq $32,%rdx ; \
106 orq %rdx,%rax /* %rax := tsc */ ; \
111 shrdq $32,%rdx,%rax /* %rdx:%rax >>= 32 */ ; \
H A Dstart64.s151 shrd $32, %rdx, %rax
167 mov %rax, %rdx
168 shr $32, %rdx // %edx:%eax = %cr3
H A Dpal_routines.h47 uint64_t rdx; member in struct:pal_efi_registers
/darwin-on-arm/xnu/libkern/x86_64/
H A DOSAtomic.s36 test $3, %rdx
43 cmpxchgl %esi, (%rdx) #; CAS (eax is an implicit operand)
58 test $7, %rdx
65 cmpxchgq %rsi, (%rdx) #; CAS (rax is an implicit operand)
/darwin-on-arm/xnu/libsyscall/custom/
H A Dcustom.s73 mov %rsp,%rdx
77 movq %rdx,(%rsp)
83 movq $-1,%rdx /* in case a 128-bit value is returned */
H A D__vfork.s104 movq __current_pid@GOTPCREL(%rip), %rdx
106 cmpxchgl %ecx, (%rdx)
126 movq __current_pid@GOTPCREL(%rip), %rdx
128 addq $1, (%rdx)
/darwin-on-arm/xnu/libkern/zlib/intel/
H A Dadler32vec.s480 // buf : rdx
506 movq %rdx, buf
513 subq %rdx, adler // adler -= edx*BASE
534 imulq $$16, adler, %rdx // edx = 16*adler;
538 add %rdx, sum2 // sum2 += adler*16;
542 addq %rdx, adler // update adler
545 addq %rdx, sum2 // sum2 += 1st half of update
547 addq %rdx, sum2 // sum2 += 2nd half of update
594 movzbq (buf), %rdx // new input byte
596 addq %rdx, adle
[all...]
H A DinffastS.s720 movq out, %rdx // strm->next_out
721 subq %rsi, %rdx // out - (start - strm->avail_out);
722 movq %rdx, beg // beg = out - (start - strm->avail_out);
742 movq 104(state), %rdx // state->distcode;
743 movq %rdx, dcode // dcode = state->distcode;
754 movq %rdx, dmask // dmask = (1U << state->distbits) - 1
791 addq %rdx, %rax // this = lcode[this.val + (hold & ((1U << op) - 1))];
845 movq dcode, %rdx // dcode[]
846 movl (%rdx,%rax,4), %eax // this = dcode[hold & dmask];
857 addq %rdx,
[all...]
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dsystemcalls.c413 regs->rdx = uthread->uu_rval[1];
417 regs->rdx = ((u_int)uthread->uu_rval[1]);
425 regs->rdx = 0;
439 error, regs->rax, regs->rdx);
524 regs->rdx = uthread->uu_rval[1];
528 regs->rdx = ((u_int)uthread->uu_rval[1]);
536 regs->rdx = 0;
549 error, regs->rax, regs->rdx);
/darwin-on-arm/xnu/libkern/kxld/i386/
H A DWKdmDecompress.s377 movsbq (%r8),%rdx // qpos = *next_qpos
378 leaq (%r11,%rdx,4), %rdx // dict_location = &dictionary[qpos]
380 movl (%rdx), %eax // read dictionary word
384 movl %eax, (%rdx) // *dict_location = newly formed word
404 movsbq (%rbx,%rdx),%rdx // qpos
405 movl %eax, -80(%rbp,%rdx) // dictionary[qpos] = word
H A DWKdmCompress.s389 leaq 16(%rsi,%rdx,4), %rbx // dest_buf + [TAGS_AREA_OFFSET + (num_input_words / 16)]*4
493 movq tempQPosArray, %rdx // tempQPosArray
497 movl 4(%rdx), %eax // src_next[1]
499 orl (%rdx), %eax // temp = src_next[0] | (src_next[1] << 4)
502 addq $8, %rdx // src_next += 2;
503 cmpq %rdx, %rcx // source_end vs src_next
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/
H A Dkdp_vm.c112 tstate->rdx = cpstate->rdx;

Completed in 174 milliseconds

12