| /linux/arch/x86/power/ |
| H A D | hibernate_asm_64.S | 34 movq mmu_cr4_features(%rip), %rax 35 movq %rax, %rdx 40 movq %rax, %cr4; # turn PGE back on 43 movq $saved_context, %rax 44 movq pt_regs_sp(%rax), %rsp 45 movq pt_regs_bp(%rax), %rbp 46 movq pt_regs_si(%rax), %rsi 47 movq pt_regs_di(%rax), %rdi 48 movq pt_regs_bx(%rax), %rbx 49 movq pt_regs_cx(%rax), %rcx [all …]
|
| /linux/arch/x86/hyperv/ |
| H A D | mshv_vtl_asm.S | 39 mov %_ASM_ARG1, %rax 42 mov MSHV_VTL_CPU_CONTEXT_rbx(%rax), %rbx 43 mov MSHV_VTL_CPU_CONTEXT_rbp(%rax), %rbp 44 mov MSHV_VTL_CPU_CONTEXT_rsi(%rax), %rsi 45 mov MSHV_VTL_CPU_CONTEXT_rdi(%rax), %rdi 46 mov MSHV_VTL_CPU_CONTEXT_r8(%rax), %r8 47 mov MSHV_VTL_CPU_CONTEXT_r9(%rax), %r9 48 mov MSHV_VTL_CPU_CONTEXT_r10(%rax), %r10 49 mov MSHV_VTL_CPU_CONTEXT_r11(%rax), %r11 50 mov MSHV_VTL_CPU_CONTEXT_r12(%rax), %r12 [all …]
|
| /linux/arch/x86/kernel/acpi/ |
| H 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) 57 movq %rbp, pt_regs_bp(%rax) 58 movq %rsi, pt_regs_si(%rax) 59 movq %rdi, pt_regs_di(%rax) 60 movq %rbx, pt_regs_bx(%rax) [all …]
|
| /linux/arch/x86/lib/ |
| H A D | bhi.S | 39 cmovne %rax, %rdi 56 cmovne %rax, %rdi 57 cmovne %rax, %rsi 67 cmovne %rax, %rdi 68 cmovne %rax, %rsi 69 cmovne %rax, %rdx 79 cmovne %rax, %rdi 80 cmovne %rax, %rsi 81 cmovne %rax, %rdx 82 cmovne %rax, %rcx [all …]
|
| H A D | memset_64.S | 39 movq %r9,%rax 53 movabs $0x0101010101010101,%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) [all …]
|
| H 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 …]
|
| H A D | clear_page_64.S | 18 #define PUT(x) movq %rax,x*8(%rdi) 19 movq %rax,(%rdi) 66 1: movq %rax,(%rdi) 76 10: movq %rax,(%rdi) 77 11: movq %rax,8(%rdi) 78 12: movq %rax,16(%rdi) 79 13: movq %rax,24(%rdi) 80 14: movq %rax,32(%rdi) 81 15: movq %rax,40(%rdi) 82 16: movq %rax,48(%rdi) [all …]
|
| H 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 …]
|
| 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 …]
|
| /linux/tools/arch/x86/lib/ |
| H A D | memset_64.S | 39 movq %r9,%rax 53 movabs $0x0101010101010101,%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) [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | relocate_kernel_64.S | 91 movq %cr3, %rax 109 movq %rax, saved_cr3(%rip) 110 movq %cr0, %rax 111 movq %rax, saved_cr0(%rip) 143 leaq kexec_debug_gdt(%rip), %rax 144 pushq %rax 145 pushw (%rax) 152 movq %ds, %rax 153 movq %rax, %ds 168 movq %cr4, %rax [all …]
|
| H A D | head_64.S | 78 leaq .Lon_kernel_cs(%rip), %rax 79 pushq %rax 118 addq %rcx, %rax 121 mov %rax, %rdi 136 movq %rax, %cr3 182 movq phys_base(%rip), %rax 183 addq $(init_top_pgt - __START_KERNEL_map), %rax 190 addq sme_me_mask(%rip), %rax 196 movq %rax, %cr3 305 movq trampoline_lock(%rip), %rax [all …]
|
| /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 …]
|
| /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
|
| /linux/lib/crypto/x86/ |
| 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 | 92 movd (DATA,%rax,4),%xmm4 94 movd (DATA,%rax,4),%xmm5 96 movd (DATA,%rax,4),%xmm6 98 movd (DATA,%rax,4),%xmm7 113 movd (DATA,%rax,4),%xmm5 115 movd (DATA,%rax,4),%xmm6 117 movd (DATA,%rax,4),%xmm7 119 movd (DATA,%rax,4),%xmm4 137 movd (DATA,%rax,4),%xmm6 139 movd (DATA,%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 …]
|
| /linux/arch/x86/entry/ |
| H A D | entry_64.S | 107 pushq %rax /* pt_regs->orig_ax */ 109 PUSH_AND_CLEAR_REGS rax=$-ENOSYS 241 movq %rax, %rdi /* prev */ 265 pushq %rax 271 popq %rax 484 movq %rax, %rsp /* Switch to new stack */ 610 push %rax 611 SWITCH_TO_USER_CR3 scratch_reg=%rdi scratch_reg2=%rax 612 pop %rax 689 movq %rax, (0*8)(%rdi) /* user RAX */ [all …]
|
| H 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 */
|
| H 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 */ 126 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rcx=%rcx rax=%rax save_ret=0 clear_callee=1 unwind_hint=1 127 PUSH_REGS rdx=\rdx, rcx=\rcx, rax=\rax, save_ret=\save_ret unwind_hint=\unwind_hint 142 popq %rax 224 pushq %rax 225 SWITCH_TO_USER_CR3 scratch_reg=\scratch_reg scratch_reg2=%rax 226 popq %rax 313 or %rdx, %rax 314 mov %rax, \save_reg [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H 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/boot/compressed/ |
| H A D | head_64.S | 319 addq %rax, %rbp 320 notq %rax 321 andq %rax, %rbp 358 leaq gdt64(%rip), %rax 359 addq %rax, 2(%rax) 360 lgdt (%rax) 364 leaq .Lon_kernel_cs(%rip), %rax 365 pushq %rax 394 movq %cr4, %rax 396 movq %rax, %cr4 [all …]
|
| /linux/arch/x86/crypto/ |
| H A D | aes-gcm-aesni-x86_64.S | 217 mov (\src, %rcx), %rax // Load last 8 bytes 220 shr %cl, %rax // Discard overlapping bytes 221 pinsrq $1, %rax, \dst 242 or \tmp64, %rax // Combine the two parts 244 movq %rax, \dst 255 pextrq $1, \src, %rax 258 ror %cl, %rax 259 mov %rax, (\dst, %rsi) // Store last LEN - 8 bytes 437 movdqa OFFSETOF_H_POWERS(KEY,%rax,2), TMP0 441 movdqu (DST,%rax,2), TMP1 [all …]
|
| H A D | aes-gcm-vaes-avx2.S | 244 lea OFFSETOF_AESROUNDKEYS+6*16(KEY,%rax,4), RNDKEYLAST_PTR 246 lea OFFSETOF_AESROUNDKEYS+16(KEY), %rax 248 vaesenc (%rax), H_CUR_XMM, H_CUR_XMM 249 add $16, %rax 250 cmp %rax, RNDKEYLAST_PTR 413 mov (\src, %rcx), %rax // Load last 8 bytes 416 shr %cl, %rax // Discard overlapping bytes 417 vpinsrq $1, %rax, \dst, \dst 438 or \tmp64, %rax // Combine the two parts 440 vmovq %rax, \dst [all …]
|
| /linux/tools/testing/selftests/sgx/ |
| H 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
|