Home
last modified time | relevance | path

Searched refs:eax (Results 1 – 25 of 253) sorted by relevance

1234567891011

/linux-6.12.1/arch/x86/math-emu/
Dwm_sqrt.S90 movl SIGH(%esi),%eax
99 shrl $1,%eax /* arg is in the range [1.0 .. 2.0) */
107 movl %eax,FPU_fsqrt_arg_2 /* ms word of n */
112 shrl $1,%eax
113 addl $0x40000000,%eax
143 addl %eax,%esi /* the new estimate */
148 addl %eax,%esi
153 addl %eax,%esi
164 movl %esi,%eax
169 subl %ecx,%eax
[all …]
Dmul_Xsig.S37 xor %eax,%eax
38 movl %eax,-4(%ebp)
39 movl %eax,-8(%ebp)
41 movl (%esi),%eax /* lsl of Xsig */
45 movl 4(%esi),%eax /* midl of Xsig */
47 addl %eax,-12(%ebp)
51 movl 8(%esi),%eax /* msl of Xsig */
53 addl %eax,-8(%ebp)
56 movl -12(%ebp),%eax
57 movl %eax,(%esi)
[all …]
Dpolynom_Xsig.S51 movl TERM_SIZE,%eax
53 addl %eax,%edi
59 xor %eax,%eax
60 movl %eax,SUM_LS
68 xor %eax,%eax
69 movl %eax,ACCUM_MS
70 movl %eax,ACCUM_MIDDLE
72 movl SUM_MIDDLE,%eax
76 movl SUM_MIDDLE,%eax
78 addl %eax,ACCUM_LS
[all …]
Dreg_u_div.S94 movswl EXP(%ebx),%eax
95 subl %eax,%edx
123 movl SIGL(%esi),%eax /* Dividend */
134 movl %eax,FPU_result_2
137 xorl %eax,%eax
139 movl %eax,FPU_result_1
142 xorl %eax,%eax
156 rcrl %eax
182 movl SIGL(%esi),%eax
183 movl %eax,FPU_accum_2
[all …]
Ddiv_Xsig.S116 movl XsigH(%esi),%eax
117 rcrl %eax
118 movl %eax,FPU_accum_3
119 movl XsigL(%esi),%eax
120 rcrl %eax
121 movl %eax,FPU_accum_2
122 movl XsigLL(%esi),%eax
123 rcrl %eax
124 movl %eax,FPU_accum_1
125 movl $0,%eax
[all …]
Dreg_norm.S33 movl SIGL(%ebx),%eax
39 orl %eax,%eax
42 movl %eax,%edx
43 xorl %eax,%eax
51 shld %cl,%eax,%edx
52 shl %cl,%eax
56 movl %eax,SIGL(%ebx)
66 movl TAG_Valid,%eax
80 movl TAG_Zero,%eax
111 movl SIGL(%ebx),%eax
[all …]
Dround_Xsig.S37 movl (%esi),%eax
46 movl %eax,%ebx
47 xorl %eax,%eax
57 shld %cl,%eax,%ebx
58 shl %cl,%eax
61 testl $0x80000000,%eax
74 movl %eax,(%esi)
76 movl -4(%ebp),%eax
97 movl (%esi),%eax
106 movl %eax,%ebx
[all …]
Dwm_shrx.S49 xorl %eax,%eax /* extension */
50 shrd %cl,%ebx,%eax
65 movl (%esi),%eax /* lsl */
67 shrd %cl,%edx,%eax
80 movl 4(%esi),%eax /* msl */
81 shr %cl,%eax
90 xorl %eax,%eax
91 movl %eax,(%esi)
92 movl %eax,4(%esi)
132 movl (%esi),%eax /* lsl */
[all …]
Dreg_u_sub.S64 movl SIGH(%edi),%eax /* register ms word */
84 shrd %cl,%eax,%ebx
85 shr %cl,%eax
95 shrd %cl,%eax,%edx
96 shr %cl,%eax
103 movl %eax,%ebx
104 xorl %eax,%eax
109 movl %eax,%ebx
110 xorl %eax,%eax
118 movl %eax,%edx
[all …]
Dreg_u_add.S52 movl SIGH(%esi),%eax
62 movl SIGH(%edi),%eax
71 testl $0x80000000,%eax
84 shrd %cl,%eax,%ebx
85 shr %cl,%eax
95 shrd %cl,%eax,%edx
96 shr %cl,%eax
103 movl %eax,%ebx
104 xorl %eax,%eax
109 movl %eax,%ebx
[all …]
Dreg_round.S120 movl SIGH(%edi),%eax
202 movl %eax,%ecx
211 movl %eax,%ecx
226 testl $0x00000100,%eax
231 andl $0xffffff00,%eax /* Truncate to 24 bits */
234 addl $0x00000100,%eax
238 movl %eax,%ecx
245 andl $0xffffff00,%eax /* Truncate to 24 bits */
310 adcl $0,%eax
374 adcl $0,%eax
[all …]
/linux-6.12.1/arch/x86/kernel/
Dhead_32.S72 movl $(__BOOT_DS),%eax
73 movl %eax,%ds
74 movl %eax,%es
75 movl %eax,%fs
76 movl %eax,%gs
77 movl %eax,%ss
84 xorl %eax,%eax
114 movl %cr3, %eax
115 movl %eax, pa(olpc_ofw_pgd)
122 movl $pa(initial_pg_fixmap)+PDE_IDENT_ATTR,%eax
[all …]
Drelocate_kernel_32.S52 movl %cr0, %eax
53 movl %eax, CR0(%edi)
54 movl %cr3, %eax
55 movl %eax, CR3(%edi)
56 movl %cr4, %eax
57 movl %eax, CR4(%edi)
73 movl PTR(PA_PGD)(%ebp), %eax
74 movl %eax, CP_PA_PGD(%edi)
75 movl PTR(PA_SWAP_PAGE)(%ebp), %eax
76 movl %eax, CP_PA_SWAP_PAGE(%edi)
[all …]
/linux-6.12.1/arch/x86/boot/compressed/
Dhead_64.S107 leal rva(gdt)(%ebp), %eax
108 movl %eax, 2(%eax)
109 lgdt (%eax)
112 movl $__BOOT_DS, %eax
113 movl %eax, %ds
114 movl %eax, %es
115 movl %eax, %fs
116 movl %eax, %gs
117 movl %eax, %ss
123 leal rva(1f)(%ebp), %eax
[all …]
Dmem_encrypt.S23 movl $0x80000000, %eax /* CPUID to check the highest leaf */
25 cmpl $0x8000001f, %eax /* See if 0x8000001f is available */
34 movl $0x8000001f, %eax
36 bt $1, %eax /* Check if SEV is available */
41 bt $MSR_AMD64_SEV_ENABLED_BIT, %eax /* Check if SEV is active */
44 movl %ebx, %eax
45 andl $0x3f, %eax /* Return the encryption bit location */
49 xor %eax, %eax
67 shll $30, %eax
68 orl $0x00000004, %eax
[all …]
Dhead_32.S64 leal gdt@GOTOFF(%edx), %eax
65 movl %eax, 2(%eax)
66 lgdt (%eax)
69 movl $__BOOT_DS, %eax
70 movl %eax, %ds
71 movl %eax, %es
72 movl %eax, %fs
73 movl %eax, %gs
74 movl %eax, %ss
87 movl BP_kernel_alignment(%esi), %eax
[all …]
Defi_mixed.S81 movl %ds, %eax
83 movl %es, %eax
85 movl %ss, %eax
104 movl %eax, 0x1c(%rsp)
157 xorl %eax, %eax
188 movl %cr3, %eax
189 movl %eax, %cr3
192 movl %cr0, %eax
193 btrl $X86_CR0_PG_BIT, %eax
194 movl %eax, %cr0
[all …]
/linux-6.12.1/arch/x86/lib/
Dchecksum_32.S52 movl 20(%esp),%eax # Function arg: unsigned int sum
64 adcl %ebx, %eax
65 roll $8, %eax
77 adcl $0, %eax
84 adcl %ebx, %eax
86 adcl %ebx, %eax
88 adcl %ebx, %eax
90 adcl %ebx, %eax
92 adcl %ebx, %eax
94 adcl %ebx, %eax
[all …]
Datomic64_386_32.S37 movl (v), %eax
53 movl (v), %eax
63 addl %eax, (v)
71 addl (v), %eax
73 movl %eax, (v)
81 subl %eax, (v)
90 negl %eax
92 addl (v), %eax
94 movl %eax, (v)
110 movl (v), %eax
[all …]
Dmsr-reg.S20 movl (%rdi), %eax
28 2: movl %eax, (%r10)
29 movl %r11d, %eax /* Return value */
56 pushl %eax
57 movl 4(%eax), %ecx
58 movl 8(%eax), %edx
59 movl 12(%eax), %ebx
60 movl 20(%eax), %ebp
61 movl 24(%eax), %esi
62 movl 28(%eax), %edi
[all …]
/linux-6.12.1/tools/testing/selftests/x86/
Draw_syscall_helper_32.S9 movl 5*4(%esp), %eax /* pointer to args struct */
11 movl 1*4(%eax), %ebx
12 movl 2*4(%eax), %ecx
13 movl 3*4(%eax), %edx
14 movl 4*4(%eax), %esi
15 movl 5*4(%eax), %edi
16 movl 6*4(%eax), %ebp
17 movl 0*4(%eax), %eax
22 pushl %eax
23 movl 6*4(%esp), %eax
[all …]
/linux-6.12.1/arch/x86/include/asm/
Dcpuid.h12 u32 eax, ebx, ecx, edx; member
30 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument
35 : "=a" (*eax), in native_cpuid()
39 : "0" (*eax), "2" (*ecx) in native_cpuid()
46 unsigned int eax = op, ebx, ecx = 0, edx; \
48 native_cpuid(&eax, &ebx, &ecx, &edx); \
56 native_cpuid_reg(eax)
73 unsigned int *eax, unsigned int *ebx, in native_cpuid_reg()
76 *eax = op; in native_cpuid_reg()
78 __cpuid(eax, ebx, ecx, edx); in native_cpuid_reg()
[all …]
Dmwait.h29 static __always_inline void __monitor(const void *eax, unsigned long ecx, in __monitor() argument
34 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor()
37 static __always_inline void __monitorx(const void *eax, unsigned long ecx, in __monitorx() argument
42 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx()
45 static __always_inline void __mwait(unsigned long eax, unsigned long ecx) in __mwait() argument
51 :: "a" (eax), "c" (ecx)); in __mwait()
80 static __always_inline void __mwaitx(unsigned long eax, unsigned long ebx, in __mwaitx() argument
87 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx()
99 static __always_inline void __sti_mwait(unsigned long eax, unsigned long ecx) in __sti_mwait() argument
104 :: "a" (eax), "c" (ecx)); in __sti_mwait()
[all …]
/linux-6.12.1/arch/x86/platform/pvh/
Dhead.S65 mov (%ebx), %eax
70 mov %eax, (%ebx)
74 leal rva(gdt)(%ebp), %eax
76 movl %ecx, 2(%eax)
77 lgdt (%eax)
79 mov $PVH_DS_SEL,%eax
80 mov %eax,%ds
81 mov %eax,%es
82 mov %eax,%ss
95 mov %cr4, %eax
[all …]
/linux-6.12.1/arch/x86/entry/
Dentry_32.S75 movl %cr3, %eax
76 testl $PTI_SWITCH_MASK, %eax
182 pushl %eax
184 movl 5*4(%esp), %eax # (modified) regs->sp
187 movl %ecx, %ss:-1*4(%eax)
191 movl %ecx, %ss:-2*4(%eax)
194 movl %ecx, %ss:-3*4(%eax)
196 movl 1*4(%esp), %ecx # eax
197 movl %ecx, %ss:-4*4(%eax)
200 lea -4*4(%eax), %esp
[all …]

1234567891011