Home
last modified time | relevance | path

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

123456

/linux-6.15/arch/x86/power/
H A Dhibernate_asm_64.S35 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 …]
/linux-6.15/arch/x86/kernel/acpi/
H A Dwakeup_64.S21 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 …]
/linux-6.15/arch/x86/kernel/
H A Drelocate_kernel_64.S80 movq %cr3, %rax
96 movq %cr0, %rax
131 pushq %rax
132 pushw (%rax)
139 movq %ds, %rax
140 movq %rax, %ds
146 movq %cr4, %rax
148 movq %rax, %cr4
159 movq %cr0, %rax
162 movq %rax, %cr0
[all …]
H A Dhead_64.S79 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 …]
H A Dftrace_64.S83 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 …]
/linux-6.15/arch/x86/lib/
H A Dmemset_64.S39 movq %r9,%rax
53 imulq %rcx,%rax
68 movq %rax,(%rdi)
69 movq %rax,8(%rdi)
70 movq %rax,16(%rdi)
71 movq %rax,24(%rdi)
72 movq %rax,32(%rdi)
73 movq %rax,40(%rdi)
74 movq %rax,48(%rdi)
90 movq %rax,(%rdi)
[all …]
H A Dcopy_user_64.S60 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 Dhweight.S52 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 Dclear_page_64.S33 #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 …]
H 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.15/tools/arch/x86/lib/
H A Dmemset_64.S39 movq %r9,%rax
53 imulq %rcx,%rax
68 movq %rax,(%rdi)
69 movq %rax,8(%rdi)
70 movq %rax,16(%rdi)
71 movq %rax,24(%rdi)
72 movq %rax,32(%rdi)
73 movq %rax,40(%rdi)
74 movq %rax,48(%rdi)
90 movq %rax,(%rdi)
[all …]
/linux-6.15/arch/x86/kernel/cpu/sgx/
H 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.15/arch/x86/platform/efi/
H 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.15/tools/testing/selftests/kvm/x86/
H A Dxen_vmcall_test.c31 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-6.15/arch/x86/entry/
H A Dentry_64.S265 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 …]
H A Dentry_64_compat.S56 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 Dcalling.h68 .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 …]
/linux-6.15/arch/x86/crypto/
H 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 …]
H 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 …]
H A Daes-gcm-aesni-x86_64.S220 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 …]
H 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.15/arch/x86/boot/compressed/
H A Dhead_64.S320 addq %rax, %rbp
321 notq %rax
322 andq %rax, %rbp
360 addq %rax, 2(%rax)
361 lgdt (%rax)
366 pushq %rax
395 movq %cr4, %rax
397 movq %rax, %cr4
436 lgdt (%rax)
442 jmp *%rax
[all …]
/linux-6.15/tools/testing/selftests/sgx/
H A Dtest_encl_bootstrap.S47 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-6.15/arch/x86/virt/vmx/tdx/
H A Dtdxcall.S49 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-6.15/arch/x86/entry/vdso/
H A Dvsgx.S107 mov %rbx, %rax
118 push %rax
121 push %rax
130 mov SGX_ENCLAVE_RUN_USER_HANDLER(%rax), %rax
132 call *%rax

123456