Home
last modified time | relevance | path

Searched refs:rax (Results 1 - 25 of 191) sorted by relevance

12345678

/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
H A Dwakeup_64.S18 movq saved_magic, %rax
20 cmpq %rdx, %rax
41 movq saved_rip, %rax
42 jmp *%rax
51 movq $saved_context, %rax
52 movq %rsp, pt_regs_sp(%rax)
53 movq %rbp, pt_regs_bp(%rax)
54 movq %rsi, pt_regs_si(%rax)
55 movq %rdi, pt_regs_di(%rax)
56 movq %rbx, pt_regs_bx(%rax)
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/acpi/
H 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)
56 movq %rbp, pt_regs_bp(%rax)
57 movq %rsi, pt_regs_si(%rax)
58 movq %rdi, pt_regs_di(%rax)
59 movq %rbx, pt_regs_bx(%rax)
[all...]
/kernel/linux/linux-6.6/arch/x86/coco/tdx/
H A Dtdcall.S130 movq %rdi, %rax
133 movq TDX_HYPERCALL_r8(%rax), %r8
134 movq TDX_HYPERCALL_r9(%rax), %r9
135 movq TDX_HYPERCALL_r10(%rax), %r10
136 movq TDX_HYPERCALL_r11(%rax), %r11
137 movq TDX_HYPERCALL_r12(%rax), %r12
138 movq TDX_HYPERCALL_r13(%rax), %r13
139 movq TDX_HYPERCALL_r14(%rax), %r14
140 movq TDX_HYPERCALL_r15(%rax), %r15
141 movq TDX_HYPERCALL_rdi(%rax),
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Drelocate_kernel_64.S67 movq %cr0, %rax
68 movq %rax, CR0(%r11)
69 movq %cr3, %rax
70 movq %rax, CR3(%r11)
71 movq %cr4, %rax
72 movq %rax, CR4(%r11)
75 movq %rax, %r13
126 movq %cr4, %rax
127 andq $~(X86_CR4_CET), %rax
128 movq %rax,
[all...]
H A Dhead_64.S85 leaq .Lon_kernel_cs(%rip), %rax
86 pushq %rax
117 addq $(early_top_pgt - __START_KERNEL_map), %rax
160 movq sme_me_mask, %rax
162 xorq %rax, %rax
166 addq $(init_top_pgt - __START_KERNEL_map), %rax
194 addq phys_base(%rip), %rax
202 movq %rax, %rdi
213 movq %rax,
[all...]
H A Dftrace_64.S83 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
248 movq %rax, MCOUNT_REG_SIZE(%rsp)
251 movq RIP(%rsp), %rax
252 movq %rax, MCOUNT_REG_SIZE+8(%rsp)
262 movq ORIG_RAX(%rsp), %rax
263 movq %rax, MCOUNT_REG_SIZ
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Drelocate_kernel_64.S65 movq %cr0, %rax
66 movq %rax, CR0(%r11)
67 movq %cr3, %rax
68 movq %rax, CR3(%r11)
69 movq %cr4, %rax
70 movq %rax, CR4(%r11)
73 movq %rax, %r13
129 movq %cr0, %rax
130 andq $~(X86_CR0_AM | X86_CR0_WP | X86_CR0_TS | X86_CR0_EM), %rax
132 movq %rax,
[all...]
H A Dftrace_64.S81 movq %rax, RAX(%rsp)
126 movq RAX(%rsp), %rax
220 movq EFLAGS(%rsp), %rax
221 movq %rax, MCOUNT_REG_SIZE(%rsp)
224 movq RIP(%rsp), %rax
225 movq %rax, MCOUNT_REG_SIZE+8(%rsp)
235 movq ORIG_RAX(%rsp), %rax
236 movq %rax, MCOUNT_REG_SIZE-8(%rsp)
242 movq ORIG_RAX(%rsp), %rax
243 testq %rax,
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/sgx/
H A Dencls.h56 * @rax: function number
67 #define __encls_ret_N(rax, inputs...) \
75 : "a"(rax), inputs \
80 #define __encls_ret_1(rax, rcx) \
82 __encls_ret_N(rax, "c"(rcx)); \
85 #define __encls_ret_2(rax, rbx, rcx) \
87 __encls_ret_N(rax, "b"(rbx), "c"(rcx)); \
90 #define __encls_ret_3(rax, rbx, rcx, rdx) \
92 __encls_ret_N(rax, "b"(rbx), "c"(rcx), "d"(rdx)); \
97 * @rax
[all...]
/kernel/linux/linux-6.6/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,
[all...]
/kernel/linux/linux-5.10/arch/x86/um/
H A Dstub_64.S13 mov 0x0(%rsp), %rax
17 mov %rax, 8(%rbx)
18 cmp $0, %rax
25 add %rax, %rsp
28 pop %rax
43 cmp %rcx, %rax
48 mov %rax, (%rbx)
/kernel/linux/linux-6.6/arch/x86/um/
H 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)
/kernel/linux/linux-6.6/arch/x86/lib/
H A Dclear_page_64.S31 #define PUT(x) movq %rax,x*8(%rdi)
32 movq %rax,(%rdi)
60 * rax is zero
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,4
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H 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), " in guest_code()
[all...]
/kernel/linux/linux-5.10/arch/x86/entry/
H A Dentry_64.S77 * rax system call number
113 pushq %rax /* pt_regs->orig_ax */
115 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
118 movq %rax, %rdi
121 /* clobbers %rax, make sure it is after saving the syscall nr */
276 * rax: prev task we switched from
283 movq %rax, %rdi
312 pushq %rax
318 popq %rax
504 movq %rax,
[all...]
/kernel/linux/linux-6.6/arch/x86/entry/
H A Dentry_64.S69 * rax system call number
107 pushq %rax /* pt_regs->orig_ax */
109 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
116 /* clobbers %rax, make sure it is after saving the syscall nr */
283 * rax: prev task we switched from
301 movq %rax, %rdi /* prev */
319 pushq %rax
325 popq %rax
353 ALTERNATIVE "call error_entry; movq %rax, %rsp", \
547 movq %rax,
[all...]
H A Dentry_64_compat.S57 pushq %rax
58 SWITCH_TO_KERNEL_CR3 scratch_reg=%rax
59 popq %rax
87 pushq %rax /* pt_regs->orig_ax */
88 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
206 pushq %rax /* pt_regs->orig_ax */
207 PUSH_AND_CLEAR_REGS rcx=%rbp rax=$-ENOSYS
234 popq %rax /* pt_regs->rax */
H A Dcalling.h20 rdi rsi rdx rcx r8-9 | rbx rbp [*] r12-15 | r10-11 | rax, rdx [**]
30 straight in rax, rdx. For structures larger than that (3 words or
68 .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 variable
136 popq %rax
308 mov %rax, \\save_reg global() variable
[all...]
/kernel/linux/linux-5.10/arch/x86/crypto/
H A Dpoly1305-x86_64-cryptogams.pl184 # input: copy of $r1 in %rax, $h0-$h2, $r0-$r1
188 mov %rax,$d2
189 mov $r0,%rax
193 mov %rax,$h0 # future $h0
194 mov $r0,%rax
198 add %rax,$d2
199 mov $s1,%rax
204 add %rax,$h0
214 mov \$-4,%rax # mask value
217 and $d3,%rax # las
[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
118 movd (%rsi,%rax,
[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
189 cmp $0x80,%rax
200 mov %rax,
[all...]
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Dpoly1305-x86_64-cryptogams.pl183 # input: copy of $r1 in %rax, $h0-$h2, $r0-$r1
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 # las
[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
118 movd (%rsi,%rax,
[all...]
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A Dhead_64.S372 subq %rax, %rbp
377 addq %rax, %rbp
378 notq %rax
379 andq %rax, %rbp
420 leaq gdt64(%rip), %rax
421 addq %rax, 2(%rax)
422 lgdt (%rax)
426 leaq .Lon_kernel_cs(%rip), %rax
427 pushq %rax
[all...]
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A Dhead_64.S327 addq %rax, %rbp
328 notq %rax
329 andq %rax, %rbp
366 leaq gdt64(%rip), %rax
367 addq %rax, 2(%rax)
368 lgdt (%rax)
372 leaq .Lon_kernel_cs(%rip), %rax
373 pushq %rax
435 leaq rva(gdt64)(%rbx), %rax
[all...]

Completed in 8 milliseconds

12345678