Home
last modified time | relevance | path

Searched refs:rax (Results 1 – 25 of 129) sorted by relevance

123456

/linux-6.3-rc2/arch/x86/power/
A Dhibernate_asm_64.S34 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-6.3-rc2/arch/x86/kernel/acpi/
A Dwakeup_64.S20 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)
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-6.3-rc2/arch/x86/coco/tdx/
A Dtdcall.S138 movq %rdi, %rax
142 movq TDX_HYPERCALL_r8(%rax), %r8
143 movq TDX_HYPERCALL_r9(%rax), %r9
144 movq TDX_HYPERCALL_r10(%rax), %r10
145 movq TDX_HYPERCALL_r11(%rax), %r11
155 push %rax
173 testq %rax, %rax
176 pop %rax
182 movq %r8, TDX_HYPERCALL_r8(%rax)
183 movq %r9, TDX_HYPERCALL_r9(%rax)
[all …]
/linux-6.3-rc2/arch/x86/kernel/
A Drelocate_kernel_64.S67 movq %cr0, %rax
69 movq %cr3, %rax
71 movq %cr4, %rax
75 movq %rax, %r13
126 movq %cr4, %rax
128 movq %rax, %cr4
139 movq %cr0, %rax
142 movq %rax, %cr0
154 movq %rax, %cr4
181 movq %cr3, %rax
[all …]
A Dhead_64.S78 subq %rdx, %rax
79 addq %rdi, %rax
80 movq %rax, %rdx
104 pushq %rax
169 xorq %rax, %rax
212 movq %rax, %rdi
224 movq %rax, %cr3
231 movq %rcx, %rax
237 movq $1f, %rax
239 jmp *%rax
[all …]
A Dftrace_64.S83 movq %rax, RAX(%rsp)
128 movq RAX(%rsp), %rax
181 movq RIP(%rsp), %rax
182 movq %rax, MCOUNT_REG_SIZE(%rsp)
245 movq EFLAGS(%rsp), %rax
249 movq RIP(%rsp), %rax
260 movq ORIG_RAX(%rsp), %rax
267 testq %rax, %rax
348 movq %rax, (%rsp)
354 movq %rax, %rdi
[all …]
/linux-6.3-rc2/arch/x86/lib/
A Dmemset_64.S39 imulq %rsi,%rax
43 movq %r9,%rax
67 movq %r9,%rax
77 imulq %rcx,%rax
92 movq %rax,(%rdi)
93 movq %rax,8(%rdi)
94 movq %rax,16(%rdi)
95 movq %rax,24(%rdi)
96 movq %rax,32(%rdi)
114 movq %rax,(%rdi)
[all …]
A Dhweight.S45 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 …]
A Dcsum-copy_64.S95 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-6.3-rc2/tools/arch/x86/lib/
A Dmemset_64.S39 imulq %rsi,%rax
43 movq %r9,%rax
67 movq %r9,%rax
77 imulq %rcx,%rax
92 movq %rax,(%rdi)
93 movq %rax,8(%rdi)
94 movq %rax,16(%rdi)
95 movq %rax,24(%rdi)
96 movq %rax,32(%rdi)
114 movq %rax,(%rdi)
[all …]
/linux-6.3-rc2/arch/x86/entry/
A Dentry_64_compat.S57 pushq %rax
59 popq %rax
87 pushq %rax /* pt_regs->orig_ax */
88 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
234 popq %rax /* pt_regs->rax */
333 movq %rsp, %rax
336 pushq 5*8(%rax) /* regs->ss */
337 pushq 4*8(%rax) /* regs->rsp */
339 pushq 2*8(%rax) /* regs->cs */
340 pushq 1*8(%rax) /* regs->ip */
[all …]
A Dentry_64.S292 movq %rax, %rdi
321 pushq %rax
327 popq %rax
744 movq %rax, (1*8)(%rdi)
746 movq %rax, (2*8)(%rdi)
748 movq %rax, (3*8)(%rdi)
750 movq %rax, (5*8)(%rdi)
752 movq %rax, (4*8)(%rdi)
771 movq %rax, %rsp
1090 cmpq %rax, RIP+8(%rsp)
[all …]
A Dcalling.h68 .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
/linux-6.3-rc2/arch/x86/kernel/cpu/sgx/
A Dencls.h67 #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-6.3-rc2/arch/x86/platform/efi/
A Defi_thunk_64.S37 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-6.3-rc2/arch/x86/um/
A Dstub_64.S12 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)
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dxen_vmcall_test.c30 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 …]
/linux-6.3-rc2/arch/x86/crypto/
A Dpoly1305-x86_64-cryptogams.pl187 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 Dblake2s-core.S71 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 Dchacha-avx2-x86_64.S67 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-6.3-rc2/arch/x86/boot/compressed/
A Dhead_64.S366 notq %rax
409 addq %rax, 2(%rax)
410 lgdt (%rax)
415 pushq %rax
470 leaq TRAMPOLINE_32BIT_CODE_OFFSET(%rax), %rax
471 pushq %rax
517 lgdt (%rax)
523 jmp *%rax
535 leaq rva(startup_64)(%rax), %rax
536 jmp *%rax
[all …]
/linux-6.3-rc2/arch/x86/entry/vdso/
A Dvsgx.S108 mov %rbx, %rax
119 push %rax
122 push %rax
131 mov SGX_ENCLAVE_RUN_USER_HANDLER(%rax), %rax
133 call *%rax
/linux-6.3-rc2/tools/testing/selftests/sgx/
A Dtest_encl_bootstrap.S47 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
/linux-6.3-rc2/arch/x86/mm/
A Dmem_encrypt_boot.S37 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 */
/linux-6.3-rc2/arch/x86/include/asm/
A Dintel_pconfig.h52 unsigned long rax = MKTME_KEY_PROGRAM; in mktme_key_program() local
58 : "=a" (rax), "=b" (key_program) in mktme_key_program()
59 : "0" (rax), "1" (key_program) in mktme_key_program()
62 return rax; in mktme_key_program()

Completed in 25 milliseconds

123456