| /arch/x86/power/ |
| A D | hibernate_asm_64.S | 35 movq %rax, %rdx 43 movq $saved_context, %rax 44 movq pt_regs_sp(%rax), %rsp 51 movq pt_regs_r8(%rax), %r8 52 movq pt_regs_r9(%rax), %r9 59 pushq pt_regs_flags(%rax) 74 movq $saved_context, %rax 91 popq pt_regs_flags(%rax) 94 movq %cr3, %rax 109 movq temp_pgt(%rip), %rax [all …]
|
| /arch/x86/kernel/acpi/ |
| A D | wakeup_64.S | 21 movq saved_magic(%rip), %rax 23 cmpq %rdx, %rax 44 movq saved_rip(%rip), %rax 46 jmp *%rax 55 movq $saved_context, %rax 56 movq %rsp, pt_regs_sp(%rax) 63 movq %r8, pt_regs_r8(%rax) 64 movq %r9, pt_regs_r9(%rax) 72 popq pt_regs_flags(%rax) 93 movq $saved_context, %rax [all …]
|
| /arch/x86/lib/ |
| A D | memset_64.S | 39 movq %r9,%rax 54 imulq %rcx,%rax 69 movq %rax,(%rdi) 70 movq %rax,8(%rdi) 71 movq %rax,16(%rdi) 72 movq %rax,24(%rdi) 73 movq %rax,32(%rdi) 74 movq %rax,40(%rdi) 75 movq %rax,48(%rdi) 91 movq %rax,(%rdi) [all …]
|
| A D | copy_user_64.S | 60 2: movq (%rsi),%rax 61 3: movq %rax,(%rdi) 81 0: movq (%rsi),%rax 82 1: movq %rax,(%rdi) 88 leaq 8(%rdi),%rax 89 andq $-8,%rax 90 subq %rdi,%rax 93 addq %rax,%rdi 94 addq %rax,%rsi 95 subq %rax,%rcx [all …]
|
| A D | hweight.S | 52 movabsq $0x5555555555555555, %rax 54 andq %rdx, %rax # t &= 0x5555555555555555 56 subq %rax, %rdi # w -= t 58 movq %rdi, %rax # w -> t 60 andq %rdx, %rax # t &= 0x3333333333333333 62 addq %rdx, %rax # w = w_tmp + t 64 movq %rax, %rdx # w -> t 66 addq %rdx, %rax # w_tmp += t 68 andq %rdx, %rax # w_tmp &= 0x0f0f0f0f0f0f0f0f 70 imulq %rdx, %rax # w_tmp *= 0x0101010101010101 [all …]
|
| A D | clear_page_64.S | 33 #define PUT(x) movq %rax,x*8(%rdi) 34 movq %rax,(%rdi) 89 1: movq %rax,(%rdi) 99 10: movq %rax,(%rdi) 100 11: movq %rax,8(%rdi) 101 12: movq %rax,16(%rdi) 102 13: movq %rax,24(%rdi) 103 14: movq %rax,32(%rdi) 104 15: movq %rax,40(%rdi) 105 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 …]
|
| /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 …]
|
| /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
|
| /arch/x86/kernel/ |
| A D | relocate_kernel_64.S | 92 movq %cr3, %rax 108 movq %cr0, %rax 143 pushq %rax 144 pushw (%rax) 151 movq %ds, %rax 152 movq %rax, %ds 167 movq %cr4, %rax 169 movq %rax, %cr4 281 pushq %rax 541 pushq %rax [all …]
|
| A D | head_64.S | 79 pushq %rax 118 addq %rcx, %rax 121 mov %rax, %rdi 136 movq %rax, %cr3 196 movq %rax, %cr3 306 movl $0, (%rax) 333 testq %rax, %rax 335 movl $0, (%rax) 347 movq %rax, 2(%rsp) 406 movq %rax, %cr0 [all …]
|
| A D | ftrace_64.S | 83 movq %rax, RAX(%rsp) 128 movq RAX(%rsp), %rax 185 movq RIP(%rsp), %rax 186 movq %rax, MCOUNT_REG_SIZE(%rsp) 250 movq EFLAGS(%rsp), %rax 254 movq RIP(%rsp), %rax 265 movq ORIG_RAX(%rsp), %rax 272 testq %rax, %rax 360 movq %rax, RAX(%rsp) 367 movq %rax, %rdi [all …]
|
| /arch/x86/entry/ |
| A D | entry_64.S | 265 pushq %rax 271 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 81 pushq \rax /* pt_regs->ax */ 127 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 clear_bp=1 unwind_hint=1 128 PUSH_REGS rdx=\rdx, rcx=\rcx, rax=\rax, save_ret=\save_ret unwind_hint=\unwind_hint 143 popq %rax 225 pushq %rax 227 popq %rax 314 or %rdx, %rax 315 mov %rax, \save_reg 444 pushq %rax [all …]
|
| A D | entry_64_fred.S | 100 mov $__KERNEL_CS, %rax 101 push %rax 111 lea 1f(%rip), %rax 112 push %rax /* Return RIP */
|
| /arch/x86/boot/compressed/ |
| A D | head_64.S | 319 addq %rax, %rbp 320 notq %rax 321 andq %rax, %rbp 359 addq %rax, 2(%rax) 360 lgdt (%rax) 365 pushq %rax 394 movq %cr4, %rax 396 movq %rax, %cr4 435 lgdt (%rax) 441 jmp *%rax [all …]
|
| /arch/x86/crypto/ |
| 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 | aes-ctr-avx-x86_64.S | 128 vpinsrq $1, %rax, \dst, \dst 151 vmovq %rax, \dst 162 vpextrq $1, \src, %rax 165 ror %cl, %rax 228 mov KEY, %rax 230 _vbroadcast128 (%rax), RNDKEY 234 add $16, %rax 235 cmp %rax, RNDKEYLAST_PTR 481 mov $-1, %rax 482 bzhi LEN64, %rax, %rax [all …]
|
| /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
|
| /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
|
| /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 */
|
| /arch/x86/entry/vsyscall/ |
| A D | vsyscall_emu_64.S | 20 mov $__NR_gettimeofday, %rax 26 mov $__NR_time, %rax 32 mov $__NR_getcpu, %rax
|
| /arch/x86/purgatory/ |
| A D | entry64.S | 32 leaq new_cs_exit(%rip), %rax 33 pushq %rax 38 movq rax(%rip), %rax 62 rax: .quad 0x0 label
|
| /arch/x86/net/ |
| A D | bpf_timed_may_goto.S | 25 pushq %rax 43 movq %rax, %r10 51 popq %rax
|