| /linux/arch/x86/power/ |
| A D | hibernate_asm_64.S | 34 movq %rax, %rdx 42 movq $saved_context, %rax 43 movq pt_regs_sp(%rax), %rsp 50 movq pt_regs_r8(%rax), %r8 51 movq pt_regs_r9(%rax), %r9 58 pushq pt_regs_flags(%rax) 73 movq $saved_context, %rax 90 popq pt_regs_flags(%rax) 93 movq %cr3, %rax 108 movq temp_pgt(%rip), %rax [all …]
|
| /linux/arch/x86/kernel/acpi/ |
| A D | wakeup_64.S | 20 movq saved_magic(%rip), %rax 22 cmpq %rdx, %rax 43 movq saved_rip(%rip), %rax 45 jmp *%rax 54 movq $saved_context, %rax 55 movq %rsp, pt_regs_sp(%rax) 62 movq %r8, pt_regs_r8(%rax) 63 movq %r9, pt_regs_r9(%rax) 71 popq pt_regs_flags(%rax) 91 movq $saved_context, %rax [all …]
|
| /linux/arch/x86/kernel/ |
| A D | relocate_kernel_64.S | 69 movq %cr0, %rax 71 movq %cr3, %rax 73 movq %cr4, %rax 77 movq %rax, %r13 128 movq %cr4, %rax 130 movq %rax, %cr4 141 movq %cr0, %rax 144 movq %rax, %cr0 183 movq %cr3, %rax 184 movq %rax, %cr3 [all …]
|
| A D | head_64.S | 76 pushq %rax 108 addq %rcx, %rax 111 mov %rax, %rdi 126 movq %rax, %cr3 186 movq %rax, %cr3 296 movl $0, (%rax) 323 testq %rax, %rax 325 movl $0, (%rax) 337 movq %rax, 2(%rsp) 401 movq %rax, %cr0 [all …]
|
| 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 251 movq RIP(%rsp), %rax 262 movq ORIG_RAX(%rsp), %rax 269 testq %rax, %rax 354 movq %rax, (%rsp) 361 movq %rax, %rdi [all …]
|
| /linux/tools/arch/x86/lib/ |
| A D | memset_64.S | 38 movq %r9,%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) 89 movq %rax,(%rdi) [all …]
|
| /linux/arch/x86/lib/ |
| A D | memset_64.S | 38 movq %r9,%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) 89 movq %rax,(%rdi) [all …]
|
| A D | hweight.S | 49 movabsq $0x5555555555555555, %rax 51 andq %rdx, %rax # t &= 0x5555555555555555 53 subq %rax, %rdi # w -= t 55 movq %rdi, %rax # w -> t 57 andq %rdx, %rax # t &= 0x3333333333333333 59 addq %rdx, %rax # w = w_tmp + t 61 movq %rax, %rdx # w -> t 63 addq %rdx, %rax # w_tmp += t 65 andq %rdx, %rax # w_tmp &= 0x0f0f0f0f0f0f0f0f 67 imulq %rdx, %rax # w_tmp *= 0x0101010101010101 [all …]
|
| 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 …]
|
| 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 …]
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| 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 110 #define __encls_N(rax, rbx_out, inputs...) \ argument 119 : "a"(rax), inputs \ 124 #define __encls_2(rax, rbx, rcx) \ argument [all …]
|
| /linux/arch/x86/platform/efi/ |
| 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
|
| /linux/tools/testing/selftests/kvm/x86_64/ |
| A D | xen_vmcall_test.c | 31 unsigned long rax = INPUTVALUE; in guest_code() local 42 "=a"(rax) : in guest_code() 43 "a"(rax), "D"(rdi), "S"(rsi), "d"(rdx), in guest_code() 45 GUEST_ASSERT(rax == RETVALUE); in guest_code() 63 __asm__ __volatile__("call *%1" : "=a"(rax) : in guest_code() 65 "a"(rax), "D"(rdi), "S"(rsi), "d"(rdx), in guest_code() 67 GUEST_ASSERT(rax == RETVALUE); in guest_code() 70 rax = 0; in guest_code() 73 __asm__ __volatile__("call *%1" : "=a"(rax) : in guest_code() 75 "a"(rax), "c"(rcx), "d"(rdx), in guest_code() [all …]
|
| /linux/arch/x86/entry/ |
| A D | entry_64.S | 264 pushq %rax 270 popq %rax 610 push %rax 612 pop %rax 691 movq %rax, (1*8)(%rdi) 693 movq %rax, (2*8)(%rdi) 695 movq %rax, (3*8)(%rdi) 697 movq %rax, (5*8)(%rdi) 699 movq %rax, (4*8)(%rdi) 718 movq %rax, %rsp [all …]
|
| A D | entry_64_compat.S | 56 pushq %rax 57 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax 58 popq %rax 86 pushq %rax /* pt_regs->orig_ax */ 87 PUSH_AND_CLEAR_REGS rax=$-ENOSYS 209 pushq %rax /* pt_regs->orig_ax */ 210 PUSH_AND_CLEAR_REGS rcx=%rbp rax=$-ENOSYS 240 popq %rax /* pt_regs->rax */
|
| A D | calling.h | 68 .macro PUSH_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 unwind_hint=1 79 pushq \rax /* pt_regs->ax */ 125 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 clear_bp=1 unwind_hint=1 126 PUSH_REGS rdx=\rdx, rcx=\rcx, rax=\rax, save_ret=\save_ret unwind_hint=\unwind_hint 141 popq %rax 223 pushq %rax 225 popq %rax 312 or %rdx, %rax 313 mov %rax, \save_reg 441 pushq %rax [all …]
|
| /linux/arch/x86/crypto/ |
| A D | poly1305-x86_64-cryptogams.pl | 187 mov %rax,$d2 197 add %rax,$d2 464 lea (%rax,%rax,4),%eax # *5 476 or $d1,%rax 481 lea (%rax,%rax,4),%eax # *5 496 lea (%rax,%rax,4),%eax # *5 535 lea (%rax,%rax,4),%eax # *5 575 lea (%rax,%rax,4),%eax # *5 2876 lea (%rax,%rax,4),%rax # *5 4016 lea 48(%rax),%rax [all …]
|
| 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 196 leaq SIGMA2(%rip),%rax [all …]
|
| A D | aes-gcm-aesni-x86_64.S | 220 pinsrq $1, %rax, \dst 243 movq %rax, \dst 254 pextrq $1, \src, %rax 257 ror %cl, %rax 440 movdqu (DST,%rax,2), TMP1 442 movdqu (SRC,%rax,2), TMP1 510 lea 16(KEY), %rax 512 aesenc (%rax), H_POW1 513 add $16, %rax 514 cmp %rax, RNDKEYLAST_PTR [all …]
|
| 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 200 mov %rax,%r9 268 mov %rcx,%rax [all …]
|
| /linux/tools/testing/selftests/sgx/ |
| A D | test_encl_bootstrap.S | 47 lea __encl_base(%rip), %rax 48 sub %rax, %rbx 49 lea encl_stack(%rip), %rax 50 add %rbx, %rax 55 lea -1(%rbx), %rax 57 xchg %rsp, %rax 58 push %rax 72 pop %rax 73 mov %rax, %rsp 76 mov $4, %rax
|
| /linux/arch/x86/boot/compressed/ |
| A D | head_64.S | 327 addq %rax, %rbp 328 notq %rax 329 andq %rax, %rbp 367 addq %rax, 2(%rax) 368 lgdt (%rax) 373 pushq %rax 402 movq %cr4, %rax 443 lgdt (%rax) 449 jmp *%rax 483 jmp *%rax [all …]
|
| /linux/arch/x86/virt/vmx/tdx/ |
| A D | tdxcall.S | 49 mov %rdi, %rax 123 pushq %rax /* save the TDCALL/SEAMCALL return code */ 124 movq 8(%rsp), %rax /* restore the structure pointer */ 125 movq %rsi, TDX_MODULE_rsi(%rax) /* save RSI */ 126 popq %rax /* restore the return code */ 195 mov $TDX_SEAMCALL_VMFAILINVALID, %rax 208 orq %rdi, %rax
|
| /linux/arch/x86/entry/vdso/ |
| A D | vsgx.S | 107 mov %rbx, %rax 118 push %rax 121 push %rax 130 mov SGX_ENCLAVE_RUN_USER_HANDLER(%rax), %rax 132 call *%rax
|
| /linux/arch/x86/mm/ |
| A D | mem_encrypt_boot.S | 37 movq %rcx, %rax /* Workarea stack page */ 38 leaq PAGE_SIZE(%rax), %rsp /* Set new stack pointer */ 39 addq $PAGE_SIZE, %rax /* Workarea encryption routine */ 47 movq %rax, %rdi /* Workarea encryption routine */ 57 movq %rax, %r8 /* Workarea encryption routine */ 61 call *%rax /* Call the encryption routine */
|