Home
last modified time | relevance | path

Searched refs:ecx (Results 1 – 25 of 224) sorted by relevance

123456789

/linux-6.15/arch/x86/include/asm/
H A Dmwait.h33 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor()
41 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx()
50 :: "a" (eax), "c" (ecx)); in __mwait()
80 unsigned long ecx) in __mwaitx() argument
86 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx()
103 :: "a" (eax), "c" (ecx)); in __sti_mwait()
128 if (ecx & 1) { in mwait_idle_with_hints()
129 __mwait(eax, ecx); in mwait_idle_with_hints()
131 __sti_mwait(eax, ecx); in mwait_idle_with_hints()
151 : "c"(ecx), "d"(edx), "a"(eax)); in __tpause()
[all …]
/linux-6.15/arch/x86/math-emu/
H A Dreg_round.S204 orl %ebx,%ecx
205 orl %edx,%ecx
240 orl %ebx,%ecx
241 orl %edx,%ecx
284 orl %edx,%ecx
316 orl %edx,%ecx
504 popl %ecx
525 popl %ecx
535 xorl %ecx,%ecx
545 popl %ecx
[all …]
H A Dwm_sqrt.S100 rcrl $1,%ecx
115 mull %ecx
145 movl %ecx,%edx
150 movl %ecx,%edx
169 subl %ecx,%eax
171 sbbl %ecx,%edx
182 movl %eax,%ecx
195 notl %ecx
198 adcl $0,%ecx
318 notl %ecx
[all …]
H A Dmul_Xsig.S35 movl PARAM2,%ecx
42 mull %ecx /* msl of b */
46 mull %ecx /* msl of b */
52 mull %ecx /* msl of b */
76 movl PARAM2,%ecx
83 mull 4(%ecx) /* msl of b */
87 mull (%ecx) /* lsl of b */
93 mull 4(%ecx) /* msl of b */
99 mull (%ecx) /* lsl of b */
130 movl PARAM2,%ecx
[all …]
H A Dreg_u_sub.S46 movl PARAM6,%ecx
156 xorl %ecx,%ecx
157 subl %edx,%ecx
158 movl %ecx,%edx
159 movl SIGL(%esi),%ecx
160 sbbl %ebx,%ecx
161 movl %ecx,%ebx
163 sbbl %eax,%ecx
164 movl %ecx,%eax
221 subl $31,%ecx
[all …]
/linux-6.15/arch/x86/lib/
H A Dcopy_mc_64.S31 movl %esi, %ecx
32 andl $7, %ecx
33 subl $8, %ecx
34 negl %ecx
35 subl %ecx, %edx
42 decl %ecx
48 shrl $3, %ecx
57 decl %ecx
73 decl %ecx
88 shll $3, %ecx
[all …]
H A Dputuser.S42 cmp $TASK_SIZE_MAX-\size+1, %ecx
53 xor %ecx,%ecx
63 xor %ecx,%ecx
74 xor %ecx,%ecx
84 xor %ecx,%ecx
95 xor %ecx,%ecx
105 xor %ecx,%ecx
119 xor %ecx,%ecx
132 xor %ecx,%ecx
141 movl $-EFAULT,%ecx
H A Datomic64_cx8_32.S13 movl %ecx, %edx
25 read64 %ecx
57 movl %ecx, %ebp
62 movl %edx, %ecx
71 movl %ecx, %edx
90 movl %edx, %ecx
99 movl %ecx, %edx
116 sbb $0, %ecx
134 pushl %ecx
171 orl %edx, %ecx
[all …]
H A Dchecksum_32.S61 dec %ecx
72 addl $2, %ecx # ecx was < 2. Deal with it.
80 shrl $5, %ecx
100 dec %ecx
114 cmpl $2, %ecx
119 shll $16,%ecx
150 shrl $7, %ecx
167 dec %ecx
227 dec %ecx
236 shll $3,%ecx
[all …]
H A Dclear_page_64.S20 movl $4096/8,%ecx
29 movl $4096/64,%ecx
32 decl %ecx
50 movl $4096,%ecx
72 cmp $8,%ecx
75 testl %ecx,%ecx
91 sub $8,%ecx
93 cmp $8,%ecx
111 cmpl $8,%ecx
113 testl %ecx,%ecx
H A Dcopy_user_64.S39 cmp $8,%ecx
42 testl %ecx,%ecx
64 sub $8,%ecx
66 cmp $8,%ecx
102 movl %eax,%ecx
103 testl %ecx,%ecx
/linux-6.15/arch/x86/include/asm/cpuid/
H A Dapi.h26 u32 *ecx, u32 *edx) in native_cpuid() argument
32 "=c" (*ecx), in native_cpuid()
53 NATIVE_CPUID_REG(ecx) in NATIVE_CPUID_REG()
70 u32 *ecx, u32 *edx) in NATIVE_CPUID_REG()
73 *ecx = 0; in NATIVE_CPUID_REG()
83 *ecx = count; in cpuid_count()
93 u32 eax, ebx, ecx, edx; in cpuid_eax() local
102 u32 eax, ebx, ecx, edx; in cpuid_ebx() local
111 u32 eax, ebx, ecx, edx; in cpuid_ecx() local
115 return ecx; in cpuid_ecx()
[all …]
/linux-6.15/drivers/firmware/efi/libstub/
H A Dx86-mixed.S30 1: popl %ecx
35 leal (_ebss - 1b)(%ecx), %ecx
36 subl %edi, %ecx
37 shrl $2, %ecx
64 pushl %ecx
74 movl $MSR_EFER, %ecx
114 movl $MSR_EFER, %ecx
164 shrl $2, %ecx
189 2: movl %ecx, (%eax)
197 addl %ecx, %edx
[all …]
/linux-6.15/tools/testing/selftests/mm/
H A Dpkey-x86.h48 unsigned int ecx = 0; in __read_pkey_reg() local
53 : "c" (ecx)); in __read_pkey_reg()
61 unsigned int ecx = 0; in __write_pkey_reg() local
67 : : "a" (eax), "c" (ecx), "d" (edx)); in __write_pkey_reg()
79 unsigned int ecx; in cpu_has_pkeys() local
82 __cpuid_count(0x7, 0x0, eax, ebx, ecx, edx); in cpu_has_pkeys()
84 if (!(ecx & X86_FEATURE_PKU)) { in cpu_has_pkeys()
88 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
100 unsigned int ecx; in cpu_max_xsave_size() local
104 return ecx; in cpu_max_xsave_size()
[all …]
/linux-6.15/arch/x86/entry/
H A Dentry_32.S183 pushl %ecx
199 popl %ecx
228 pushl %ecx
258 popl %ecx
424 subl %ecx, %edi
433 shrl $2, %ecx
477 sub %esi, %ecx
538 shrl $2, %ecx
593 shrl $2, %ecx
999 pushl %ecx
[all …]
/linux-6.15/arch/x86/kernel/
H A Dftrace_32.S45 pushl %ecx
70 popl %ecx
128 pushl %ecx
147 movl %ecx, -4(%eax)
151 movl %ecx, -8(%eax)
154 popl %ecx
174 pushl %ecx
179 movl $0, %ecx
183 popl %ecx
196 movl %eax, %ecx
[all …]
H A Dhead_32.S66 movl pa(initial_stack),%ecx
78 leal -__PAGE_OFFSET(%ecx),%esp
86 movl $pa(__bss_stop),%ecx
87 subl %edi,%ecx
88 shrl $2,%ecx
99 movl $(PARAM_SIZE/4),%ecx
148 movl pa(initial_stack),%ecx
173 movl $X86_EFLAGS_ID,%ecx
174 pushl %ecx
215 movl $MSR_EFER, %ecx
[all …]
H A Drelocate_kernel_32.S63 movl 20+16(%esp), %ecx /* cpu_has_pae */
122 testl %ecx, %ecx
162 xorl %ecx, %ecx
228 movl 4(%esp), %ecx
233 movl %ecx, %ebx
237 movl (%ebx), %ecx
242 movl %ecx, %edi
248 movl %ecx, %ebx
265 movl $1024, %ecx
270 movl $1024, %ecx
[all …]
/linux-6.15/arch/x86/realmode/rm/
H A Dreboot.S40 movl $MSR_EFER, %ecx
60 movl $16, %ecx
61 movl %ecx, %ds
62 movl %ecx, %es
63 movl %ecx, %fs
64 movl %ecx, %gs
65 movl %ecx, %ss
98 xorl %ecx, %ecx
103 movl %ecx, %cr3
/linux-6.15/tools/arch/x86/kcpuid/
H A Dcpuid.csv41 1, 0, ecx, 8, tm2 , Thermal Monitor 2
42 1, 0, ecx, 9, ssse3 , Supplemental SSE3
43 1, 0, ecx, 10, cid , L1 Context ID
44 1, 0, ecx, 11, sdbg , Sillicon Debug
51 1, 0, ecx, 19, sse4_1 , SSE4.1
52 1, 0, ecx, 20, sse4_2 , SSE4.2
53 1, 0, ecx, 21, x2apic , X2APIC support
108 2, 0, ecx, 7:0, desc8 , Descriptor #8
109 2, 0, ecx, 15:8, desc9 , Descriptor #9
110 2, 0, ecx, 23:16, desc10 , Descriptor #10
[all …]
/linux-6.15/arch/x86/boot/compressed/
H A Dmem_encrypt.S69 movl $MSR_AMD64_SEV_ES_GHCB, %ecx
75 movl %eax, %ecx
96 pushl %ecx
155 popl %ecx
190 leal (%ecx, %edx, 8), %ecx
198 movl %edx, (%ecx)
206 movl %edx, 4(%ecx)
223 movl %ebx, %ecx
228 movl %ebx, 2(%ecx)
229 lidt (%ecx)
[all …]
/linux-6.15/drivers/char/
H A Dtoshiba.c123 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
127 ecx = regs->ecx & 0xffff; in tosh_emulate_fan()
141 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
150 regs->ecx = 0x00; in tosh_emulate_fan()
152 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
161 regs->ecx = 0x01; in tosh_emulate_fan()
175 regs->ecx = al & 0x01; in tosh_emulate_fan()
185 regs->ecx = 0x00; in tosh_emulate_fan()
195 regs->ecx = 0x01; in tosh_emulate_fan()
363 regs.ecx = 0x0000; in tosh_get_machine_id()
[all …]
/linux-6.15/arch/x86/kernel/cpu/microcode/
H A Dinternal.h59 #define CPUID_IS(a, b, c, ebx, ecx, edx) \ argument
60 (!(((ebx) ^ (a)) | ((edx) ^ (b)) | ((ecx) ^ (c))))
74 u32 ebx, ecx = 0, edx; in x86_cpuid_vendor() local
76 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_cpuid_vendor()
78 if (CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx)) in x86_cpuid_vendor()
81 if (CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx)) in x86_cpuid_vendor()
90 u32 ebx, ecx = 0, edx; in x86_cpuid_family() local
92 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_cpuid_family()
/linux-6.15/tools/testing/selftests/kvm/x86/
H A Dcpuid_test.c20 u32 ecx; member
30 u32 eax, ebx, ecx, edx; in test_guest_cpuids() local
35 &eax, &ebx, &ecx, &edx); in test_guest_cpuids()
39 GUEST_ASSERT_EQ(ecx, guest_cpuid->entries[i].ecx); in test_guest_cpuids()
109 (e1->ecx & mask.ecx) == (e2->ecx & mask.ecx) && in compare_cpuids()
114 e1->ecx & mask.ecx, e1->edx & mask.edx, in compare_cpuids()
116 e2->ecx & mask.ecx, e2->edx & mask.edx); in compare_cpuids()
/linux-6.15/drivers/cpufreq/
H A Dlongrun.c138 u32 eax, ebx, ecx, edx; in longrun_get() local
143 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_get()
164 u32 eax, ebx, ecx, edx; in longrun_determine_freqs() local
211 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
214 for (try_hi = 80; try_hi > 0 && ecx > 90; try_hi -= 10) { in longrun_determine_freqs()
222 cpuid(0x80860007, &eax, &ebx, &ecx, &edx); in longrun_determine_freqs()
227 pr_debug("percentage is %u %%, freq is %u MHz\n", ecx, eax); in longrun_determine_freqs()
235 ebx = (((cpu_khz / 1000) * ecx) / 100); /* to MHz */ in longrun_determine_freqs()
237 if ((ecx > 95) || (ecx == 0) || (eax < ebx)) in longrun_determine_freqs()
240 edx = ((eax - ebx) * 100) / (100 - ecx); in longrun_determine_freqs()

123456789