Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/arch/x86/power/
Dhibernate_asm_64.S26 movq $saved_context, %rax
27 movq %rsp, pt_regs_sp(%rax)
28 movq %rbp, pt_regs_bp(%rax)
29 movq %rsi, pt_regs_si(%rax)
30 movq %rdi, pt_regs_di(%rax)
31 movq %rbx, pt_regs_bx(%rax)
32 movq %rcx, pt_regs_cx(%rax)
33 movq %rdx, pt_regs_dx(%rax)
34 movq %r8, pt_regs_r8(%rax)
35 movq %r9, pt_regs_r9(%rax)
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
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-5.10/arch/x86/lib/
Dmemset_64.S37 movabs $0x0101010101010101,%rax
38 imulq %rsi,%rax
42 movq %r9,%rax
65 movq %r9,%rax
74 movabs $0x0101010101010101,%rax
75 imulq %rcx,%rax
90 movq %rax,(%rdi)
91 movq %rax,8(%rdi)
92 movq %rax,16(%rdi)
93 movq %rax,24(%rdi)
[all …]
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 …]
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 …]
/kernel/linux/linux-5.10/tools/arch/x86/lib/
Dmemset_64.S37 movabs $0x0101010101010101,%rax
38 imulq %rsi,%rax
42 movq %r9,%rax
65 movq %r9,%rax
74 movabs $0x0101010101010101,%rax
75 imulq %rcx,%rax
90 movq %rax,(%rdi)
91 movq %rax,8(%rdi)
92 movq %rax,16(%rdi)
93 movq %rax,24(%rdi)
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
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, %cr0
[all …]
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, %rax
[all …]
Dhead_64.S83 leaq .Lon_kernel_cs(%rip), %rax
84 pushq %rax
105 addq $(early_top_pgt - __START_KERNEL_map), %rax
149 addq $(init_top_pgt - __START_KERNEL_map), %rax
163 addq phys_base(%rip), %rax
174 movq %rax, %rdi
179 movq %rax, %cr3
182 movq $1f, %rax
184 jmp *%rax
251 movq %rax, %cr0
[all …]
/kernel/linux/linux-5.10/arch/x86/um/
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-5.10/arch/x86/boot/compressed/
Defi_thunk_64.S33 push %rax
35 push %rax
37 push %rax
60 leaq efi32_boot_gdt(%rip), %rax
61 lgdt (%rax)
64 movzwq efi32_boot_cs(%rip), %rax
65 pushq %rax
66 leaq efi_enter32(%rip), %rax
67 pushq %rax
71 movq %rdi, %rax
[all …]
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
455 movq %rax, %rcx
[all …]
Dmem_encrypt.S79 bts %rax, sme_me_mask(%rip) /* Create the encryption mask */
91 orq %rdx, %rax
92 movq %rax, sev_status(%rip)
101 xor %rax, %rax
/kernel/linux/linux-5.10/arch/x86/crypto/
Dpoly1305-x86_64-cryptogams.pl188 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 # last reduction step
221 add $d3,%rax
[all …]
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,4),%xmm7
[all …]
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,%r9
[all …]
Dcrc32c-pcl-intel-asm_64.S221 shlq $3, %rax # rax *= 8
222 pmovzxdq (%bufp,%rax), %xmm0 # 2 consts: K1:K2
223 leal (%eax,%eax,2), %eax # rax *= 3 (total *24)
224 subq %rax, tmp # tmp -= rax*24
233 movq %xmm1, %rax
234 xor -i*8(block_2), %rax
236 crc32 %rax, crc_init
308 movq crc_init, %rax
Dcamellia-aesni-avx2-asm_64.S237 %rax, (%r9));
774 leaq 8 * 32(%rax), %rcx;
778 %ymm15, %rax, %rcx);
782 %ymm15, %rax, %rcx, 0);
784 fls32(%rax, %ymm0, %ymm1, %ymm2, %ymm3, %ymm4, %ymm5, %ymm6, %ymm7,
794 %ymm15, %rax, %rcx, 8);
796 fls32(%rax, %ymm0, %ymm1, %ymm2, %ymm3, %ymm4, %ymm5, %ymm6, %ymm7,
806 %ymm15, %rax, %rcx, 16);
825 %ymm15, (key_table)(CTX, %r8, 8), (%rax), 1 * 32(%rax));
834 fls32(%rax, %ymm0, %ymm1, %ymm2, %ymm3, %ymm4, %ymm5, %ymm6, %ymm7,
[all …]
Dchacha-ssse3-x86_64.S132 mov %rcx,%rax
137 cmp $0x10,%rax
145 cmp $0x20,%rax
153 cmp $0x30,%rax
161 cmp $0x40,%rax
173 mov %rax,%r9
176 and $~0x0f,%rax
184 lea (%rdx,%rax),%rsi
193 lea (%r11,%rax),%rdi
243 mov %rcx,%rax
[all …]
/kernel/linux/linux-5.10/arch/x86/entry/
Dentry_64.S113 pushq %rax /* pt_regs->orig_ax */
115 PUSH_AND_CLEAR_REGS rax=$-ENOSYS
118 movq %rax, %rdi
283 movq %rax, %rdi
312 pushq %rax
318 popq %rax
504 movq %rax, %rsp /* Switch to new stack */
686 movq %rax, (0*8)(%rdi) /* user RAX */
687 movq (1*8)(%rsp), %rax /* user RIP */
688 movq %rax, (1*8)(%rdi)
[all …]
Dcalling.h102 .macro PUSH_AND_CLEAR_REGS rdx=%rdx rax=%rax save_ret=0
113 pushq \rax /* pt_regs->ax */
162 popq %rax
239 pushq %rax
240 SWITCH_TO_USER_CR3_NOSTACK scratch_reg=\scratch_reg scratch_reg2=%rax
241 popq %rax
333 or %rdx, %rax
334 mov %rax, \save_reg
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_thunk_64.S36 movq %rsp, %rax
38 push %rax
43 movq $__START_KERNEL_map, %rax
44 subq phys_base(%rip), %rax
48 subq %rax, %rbp
49 subq %rax, %rbx
/kernel/linux/linux-5.10/arch/x86/include/asm/
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()
/kernel/linux/linux-5.10/arch/x86/mm/
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 */
/kernel/linux/linux-5.10/arch/x86/purgatory/
Dentry64.S32 leaq new_cs_exit(%rip), %rax
33 pushq %rax
38 movq rax(%rip), %rax
62 rax: .quad 0x0 label

12345