/openbmc/linux/arch/x86/power/ |
H A D | hibernate_asm_64.S | 33 movq mmu_cr4_features(%rip), %rax 34 movq %rax, %rdx 39 movq %rax, %cr4; # turn PGE back on 42 movq $saved_context, %rax 43 movq pt_regs_sp(%rax), %rsp 44 movq pt_regs_bp(%rax), %rbp 45 movq pt_regs_si(%rax), %rsi 46 movq pt_regs_di(%rax), %rdi 47 movq pt_regs_bx(%rax), %rbx 48 movq pt_regs_cx(%rax), %rcx [all …]
|
/openbmc/linux/arch/x86/kernel/acpi/ |
H A D | wakeup_64.S | 20 movq saved_magic, %rax 22 cmpq %rdx, %rax 43 movq saved_rip, %rax 45 jmp *%rax 54 movq $saved_context, %rax 55 movq %rsp, pt_regs_sp(%rax) 56 movq %rbp, pt_regs_bp(%rax) 57 movq %rsi, pt_regs_si(%rax) 58 movq %rdi, pt_regs_di(%rax) 59 movq %rbx, pt_regs_bx(%rax) [all …]
|
/openbmc/linux/arch/x86/coco/tdx/ |
H A D | tdcall.S | 116 movq %rdi, %rax 119 movq TDX_HYPERCALL_r8(%rax), %r8 120 movq TDX_HYPERCALL_r9(%rax), %r9 121 movq TDX_HYPERCALL_r10(%rax), %r10 122 movq TDX_HYPERCALL_r11(%rax), %r11 123 movq TDX_HYPERCALL_r12(%rax), %r12 124 movq TDX_HYPERCALL_r13(%rax), %r13 125 movq TDX_HYPERCALL_r14(%rax), %r14 126 movq TDX_HYPERCALL_r15(%rax), %r15 127 movq TDX_HYPERCALL_rdi(%rax), %rdi [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | relocate_kernel_64.S | 68 movq %cr0, %rax 69 movq %rax, CR0(%r11) 70 movq %cr3, %rax 71 movq %rax, CR3(%r11) 72 movq %cr4, %rax 73 movq %rax, CR4(%r11) 76 movq %rax, %r13 127 movq %cr4, %rax 128 andq $~(X86_CR4_CET), %rax 129 movq %rax, %cr4 [all …]
|
H A D | head_64.S | 85 leaq .Lon_kernel_cs(%rip), %rax 86 pushq %rax 117 addq $(early_top_pgt - __START_KERNEL_map), %rax 160 movq sme_me_mask, %rax 162 xorq %rax, %rax 166 addq $(init_top_pgt - __START_KERNEL_map), %rax 194 addq phys_base(%rip), %rax 202 movq %rax, %rdi 213 movq %rax, %cr3 220 movq %rcx, %rax [all …]
|
H A D | ftrace_64.S | 83 movq %rax, RAX(%rsp) 128 movq RAX(%rsp), %rax 183 movq RIP(%rsp), %rax 184 movq %rax, MCOUNT_REG_SIZE(%rsp) 247 movq EFLAGS(%rsp), %rax 248 movq %rax, MCOUNT_REG_SIZE(%rsp) 251 movq RIP(%rsp), %rax 252 movq %rax, MCOUNT_REG_SIZE+8(%rsp) 262 movq ORIG_RAX(%rsp), %rax 263 movq %rax, MCOUNT_REG_SIZE-8(%rsp) [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | memset_64.S | 38 movq %r9,%rax 51 movabs $0x0101010101010101,%rax 52 imulq %rcx,%rax 67 movq %rax,(%rdi) 68 movq %rax,8(%rdi) 69 movq %rax,16(%rdi) 70 movq %rax,24(%rdi) 71 movq %rax,32(%rdi) 72 movq %rax,40(%rdi) 73 movq %rax,48(%rdi) [all …]
|
H A D | clear_page_64.S | 31 #define PUT(x) movq %rax,x*8(%rdi) 32 movq %rax,(%rdi) 86 1: movq %rax,(%rdi) 96 10: movq %rax,(%rdi) 97 11: movq %rax,8(%rdi) 98 12: movq %rax,16(%rdi) 99 13: movq %rax,24(%rdi) 100 14: movq %rax,32(%rdi) 101 15: movq %rax,40(%rdi) 102 16: movq %rax,48(%rdi) [all …]
|
H A D | hweight.S | 45 movabsq $0x5555555555555555, %rax 47 andq %rdx, %rax # t &= 0x5555555555555555 49 subq %rax, %rdi # w -= t 51 movq %rdi, %rax # w -> t 53 andq %rdx, %rax # t &= 0x3333333333333333 55 addq %rdx, %rax # w = w_tmp + t 57 movq %rax, %rdx # w -> t 59 addq %rdx, %rax # w_tmp += t 61 andq %rdx, %rax # w_tmp &= 0x0f0f0f0f0f0f0f0f 63 imulq %rdx, %rax # w_tmp *= 0x0101010101010101 [all …]
|
H A D | csum-copy_64.S | 95 adcq %rbx, %rax 96 adcq %r8, %rax 97 adcq %r11, %rax 98 adcq %rdx, %rax 99 adcq %r10, %rax 100 adcq %r15, %rax 101 adcq %r14, %rax 102 adcq %r13, %rax 129 adcq %r9, %rax 143 adcq %rbx, %rax [all …]
|
/openbmc/linux/tools/arch/x86/lib/ |
H A D | memset_64.S | 38 movq %r9,%rax 51 movabs $0x0101010101010101,%rax 52 imulq %rcx,%rax 67 movq %rax,(%rdi) 68 movq %rax,8(%rdi) 69 movq %rax,16(%rdi) 70 movq %rax,24(%rdi) 71 movq %rax,32(%rdi) 72 movq %rax,40(%rdi) 73 movq %rax,48(%rdi) [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encls.h | 67 #define __encls_ret_N(rax, inputs...) \ argument 75 : "a"(rax), inputs \ 80 #define __encls_ret_1(rax, rcx) \ argument 82 __encls_ret_N(rax, "c"(rcx)); \ 85 #define __encls_ret_2(rax, rbx, rcx) \ argument 87 __encls_ret_N(rax, "b"(rbx), "c"(rcx)); \ 90 #define __encls_ret_3(rax, rbx, rcx, rdx) \ argument 92 __encls_ret_N(rax, "b"(rbx), "c"(rcx), "d"(rdx)); \ 110 #define __encls_N(rax, rbx_out, inputs...) \ argument 119 : "a"(rax), inputs \ [all …]
|
/openbmc/linux/arch/x86/platform/efi/ |
H A D | efi_thunk_64.S | 37 movq %rsp, %rax 39 push %rax 45 movq 0x18(%rax), %rbp 46 movq 0x20(%rax), %rbx 47 movq 0x28(%rax), %rax 55 movq $__START_KERNEL_map, %rax 56 subq phys_base(%rip), %rax 60 subq %rax, %rbp 61 subq %rax, %rbx
|
/openbmc/linux/arch/x86/um/ |
H A D | stub_64.S | 12 mov 0x0(%rsp), %rax 16 mov %rax, 8(%rbx) 17 cmp $0, %rax 24 add %rax, %rsp 27 pop %rax 42 cmp %rcx, %rax 47 mov %rax, (%rbx)
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | xen_vmcall_test.c | 30 unsigned long rax = INPUTVALUE; in guest_code() local 41 "=a"(rax) : in guest_code() 42 "a"(rax), "D"(rdi), "S"(rsi), "d"(rdx), in guest_code() 44 GUEST_ASSERT(rax == RETVALUE); in guest_code() 62 __asm__ __volatile__("call *%1" : "=a"(rax) : in guest_code() 64 "a"(rax), "D"(rdi), "S"(rsi), "d"(rdx), in guest_code() 66 GUEST_ASSERT(rax == RETVALUE); in guest_code() 69 rax = 0; in guest_code() 72 __asm__ __volatile__("call *%1" : "=a"(rax) : in guest_code() 74 "a"(rax), "c"(rcx), "d"(rdx), in guest_code() [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | poly1305-x86_64-cryptogams.pl | 187 mov %rax,$d2 188 mov $r0,%rax 192 mov %rax,$h0 # future $h0 193 mov $r0,%rax 197 add %rax,$d2 198 mov $s1,%rax 203 add %rax,$h0 213 mov \$-4,%rax # mask value 216 and $d3,%rax # last reduction step 220 add $d3,%rax [all …]
|
H A D | blake2s-core.S | 71 movd (%rsi,%rax,4),%xmm4 73 movd (%rsi,%rax,4),%xmm5 75 movd (%rsi,%rax,4),%xmm6 77 movd (%rsi,%rax,4),%xmm7 92 movd (%rsi,%rax,4),%xmm5 94 movd (%rsi,%rax,4),%xmm6 96 movd (%rsi,%rax,4),%xmm7 98 movd (%rsi,%rax,4),%xmm4 116 movd (%rsi,%rax,4),%xmm6 118 movd (%rsi,%rax,4),%xmm7 [all …]
|
H A D | chacha-avx2-x86_64.S | 67 mov %rcx,%rax 142 cmp $0x10,%rax 149 cmp $0x20,%rax 156 cmp $0x30,%rax 163 cmp $0x40,%rax 171 cmp $0x50,%rax 177 cmp $0x60,%rax 183 cmp $0x70,%rax 189 cmp $0x80,%rax 200 mov %rax,%r9 [all …]
|
/openbmc/linux/arch/x86/entry/ |
H A D | entry_64.S | 107 pushq %rax /* pt_regs->orig_ax */ 109 PUSH_AND_CLEAR_REGS rax=$-ENOSYS 289 movq %rax, %rdi /* prev */ 307 pushq %rax 313 popq %rax 535 movq %rax, %rsp /* Switch to new stack */ 729 movq %rax, (0*8)(%rdi) /* user RAX */ 730 movq (1*8)(%rsp), %rax /* user RIP */ 731 movq %rax, (1*8)(%rdi) 732 movq (2*8)(%rsp), %rax /* user CS */ [all …]
|
H A D | entry_64_compat.S | 57 pushq %rax 58 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax 59 popq %rax 87 pushq %rax /* pt_regs->orig_ax */ 88 PUSH_AND_CLEAR_REGS rax=$-ENOSYS 213 pushq %rax /* pt_regs->orig_ax */ 214 PUSH_AND_CLEAR_REGS rcx=%rbp rax=$-ENOSYS 242 popq %rax /* pt_regs->rax */
|
H A D | calling.h | 68 .macro PUSH_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 79 pushq \rax /* pt_regs->ax */ 120 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 121 PUSH_REGS rdx=\rdx, rcx=\rcx, rax=\rax, save_ret=\save_ret 136 popq %rax 213 pushq %rax 214 SWITCH_TO_USER_CR3_NOSTACK scratch_reg=\scratch_reg scratch_reg2=%rax 215 popq %rax 307 or %rdx, %rax 308 mov %rax, \save_reg
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | head_64.S | 327 addq %rax, %rbp 328 notq %rax 329 andq %rax, %rbp 366 leaq gdt64(%rip), %rax 367 addq %rax, 2(%rax) 368 lgdt (%rax) 372 leaq .Lon_kernel_cs(%rip), %rax 373 pushq %rax 402 movq %cr4, %rax 404 movq %rax, %cr4 [all …]
|
/openbmc/u-boot/arch/x86/cpu/x86_64/ |
H A D | setjmp.S | 24 xorq %rax, %rax /* Direct invocation returns 0 */ 42 movq %rsi, %rax /* Value to be returned by setjmp() */ 43 testq %rax, %rax /* cannot be 0 in this case */ 45 incq %rax /* Return 1 instead */
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vsgx.S | 108 mov %rbx, %rax 119 push %rax 122 push %rax 131 mov SGX_ENCLAVE_RUN_USER_HANDLER(%rax), %rax 133 call *%rax
|
/openbmc/linux/tools/testing/selftests/sgx/ |
H A D | test_encl_bootstrap.S | 47 lea (encl_stack)(%rbx), %rax 52 lea -1(%rbx), %rax 54 xchg %rsp, %rax 55 push %rax 82 pop %rax 83 mov %rax, %rsp 86 mov $4, %rax
|