Lines Matching refs:rax
174 movq %rax, %r15 /* %db6 -> %r15 */
181 movq %rax, %db6
219 movq %rax, REGOFF_RAX(%rsp); \
231 movq (%rdx, %rbx, CLONGSIZE), %rax; /* get cpu[i] */ \
232 cmpq $0x0, %rax; /* cpu[i] == NULL ? */ \
234 cmpq %rcx, CPU_GDT(%rax); /* gdt == cpu[i]->cpu_gdt ? */ \
248 movq %rax, %rdx; /* write base register */ \
254 movq REGOFF_RAX(%rbp), %rax; \
286 TRACE_PTR(%r12, %rax, %eax, %rdx, $TT_TRAP)
287 TRACE_REGS(%r12, %rsp, %rax, %rbx)
419 pushq %rax /* push temp */
420 movq 24(%rsp), %rax /* load calling RIP */
421 addq $1, %rax /* increment over trapping instr */
422 movq %rax, 8(%rsp) /* store calling RIP */
423 movq 32(%rsp), %rax /* load calling CS */
424 movq %rax, 16(%rsp) /* store calling CS */
425 movq 40(%rsp), %rax /* load calling RFLAGS */
426 movq %rax, 24(%rsp) /* store calling RFLAGS */
427 movq 48(%rsp), %rax /* load calling RSP */
428 subq $8, %rax /* make room for %rbp */
429 movq %rax, 32(%rsp) /* store calling RSP */
430 movq 56(%rsp), %rax /* load calling SS */
431 movq %rax, 40(%rsp) /* store calling SS */
432 movq 32(%rsp), %rax /* reload calling RSP */
433 movq %rbp, (%rax) /* store %rbp there */
434 popq %rax /* pop off temp */
447 pushq %rax /* push temp */
448 movq 8(%rsp), %rax /* load calling RIP */
449 addq $1, %rax /* increment over trapping instr */
450 movq %rax, 8(%rsp) /* store calling RIP */
451 movq (%rbp), %rax /* get new %rbp */
454 movq %rax, %rbp /* set new %rbp */
455 popq %rax /* pop off temp */
471 pushq %rax /* push temp */
472 movq 32(%rsp), %rax /* load %rsp */
473 movq (%rax), %rax /* load calling RIP */
474 movq %rax, 8(%rsp) /* store calling RIP */
476 popq %rax /* pop off temp */
641 LOADCPU(%rax) /* swapgs handled in hypervisor */
644 movq CPU_THREAD(%rax), %rbx /* %rbx = curthread */
700 pushq %rax
704 LOADCPU(%rax) /* if yes, don't swapgs */
708 LOADCPU(%rax)
719 movq CPU_THREAD(%rax), %rbx /* %rbx = curthread */
748 popq %rax
755 popq %rax
852 pushq %rax
855 movq %gs:CPU_IDT, %rax
856 cmpq %rax, DTR_BASE(%rsp)
859 movq %rax, DTR_BASE(%rsp)
866 popq %rax
1225 leaq (%r11, %rax, CLONGSIZE), %r11