Home
last modified time | relevance | path

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

123456789

/linux/arch/x86/include/asm/
A Dmwait.h34 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor()
42 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx()
51 :: "a" (eax), "c" (ecx)); in __mwait()
81 unsigned long ecx) in __mwaitx() argument
87 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx()
104 :: "a" (eax), "c" (ecx)); in __sti_mwait()
129 if (ecx & 1) { in mwait_idle_with_hints()
130 __mwait(eax, ecx); in mwait_idle_with_hints()
132 __sti_mwait(eax, ecx); in mwait_idle_with_hints()
152 : "c"(ecx), "d"(edx), "a"(eax)); in __tpause()
[all …]
A Dcpuid.h12 u32 eax, ebx, ecx, edx; member
37 "=c" (*ecx), in native_cpuid()
39 : "0" (*eax), "2" (*ecx) in native_cpuid()
58 native_cpuid_reg(ecx) in native_cpuid_reg()
77 *ecx = 0; in native_cpuid_reg()
78 __cpuid(eax, ebx, ecx, edx); in native_cpuid_reg()
87 *ecx = count; in cpuid_count()
88 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
96 unsigned int eax, ebx, ecx, edx; in cpuid_eax() local
105 unsigned int eax, ebx, ecx, edx; in cpuid_ebx() local
[all …]
/linux/arch/x86/math-emu/
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 …]
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 …]
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 …]
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 …]
A Dreg_u_div.S121 movl SIGH(%ebx),%ecx /* The divisor */
125 cmpl %ecx,%edx
133 divl %ecx
138 divl %ecx
143 divl %ecx
219 movl SIGH(%ebx),%ecx
220 addl $1,%ecx
392 movl FPU_accum_0,%ecx
394 movl %ecx,%eax
400 rcll $1,%ecx
[all …]
/linux/arch/x86/lib/
A Dputuser.S41 cmp $TASK_SIZE_MAX-\size+1, %ecx
51 xor %ecx,%ecx
60 xor %ecx,%ecx
70 xor %ecx,%ecx
79 xor %ecx,%ecx
89 xor %ecx,%ecx
98 xor %ecx,%ecx
111 xor %ecx,%ecx
123 xor %ecx,%ecx
132 movl $-EFAULT,%ecx
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 …]
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 …]
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 …]
A Dclear_page_64.S18 movl $4096/8,%ecx
27 movl $4096/64,%ecx
30 decl %ecx
48 movl $4096,%ecx
69 cmp $8,%ecx
72 testl %ecx,%ecx
88 sub $8,%ecx
90 cmp $8,%ecx
108 cmpl $8,%ecx
110 testl %ecx,%ecx
A Dcopy_user_64.S36 cmp $8,%ecx
39 testl %ecx,%ecx
61 sub $8,%ecx
63 cmp $8,%ecx
81 movl %eax,%ecx
82 testl %ecx,%ecx
/linux/tools/testing/selftests/mm/
A Dpkey-x86.h46 unsigned int ecx = 0; in __read_pkey_reg() local
51 : "c" (ecx)); in __read_pkey_reg()
59 unsigned int ecx = 0; in __write_pkey_reg() local
65 : : "a" (eax), "c" (ecx), "d" (edx)); in __write_pkey_reg()
77 unsigned int ecx; in cpu_has_pkeys() local
80 __cpuid_count(0x7, 0x0, eax, ebx, ecx, edx); in cpu_has_pkeys()
82 if (!(ecx & X86_FEATURE_PKU)) { in cpu_has_pkeys()
86 if (!(ecx & X86_FEATURE_OSPKE)) { in cpu_has_pkeys()
98 unsigned int ecx; in cpu_max_xsave_size() local
102 return ecx; in cpu_max_xsave_size()
[all …]
/linux/arch/x86/entry/
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/arch/x86/kernel/
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
195 movl %eax, %ecx
[all …]
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 …]
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/arch/x86/realmode/rm/
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/tools/arch/x86/kcpuid/
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/arch/x86/boot/compressed/
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/drivers/char/
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/drivers/cpufreq/
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()
/linux/arch/x86/kvm/
A Dcpuid.c185 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) in kvm_cpuid_check_equal()
515 e2[i].ecx = e[i].ecx; in kvm_vcpu_ioctl_set_cpuid()
922 entry->ecx = F(MOVBE); in __do_cpuid_func_emulated()
996 entry->ecx = 0; in __do_cpuid_func()
1015 entry->ecx = 0; in __do_cpuid_func()
1023 entry->ecx = 0; in __do_cpuid_func()
1051 entry->ecx = 0; in __do_cpuid_func()
1199 entry->ecx = 0; in __do_cpuid_func()
1230 entry->ecx = 0; in __do_cpuid_func()
1618 *ecx = entry->ecx; in kvm_cpuid()
[all …]
/linux/arch/x86/kernel/cpu/microcode/
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()

Completed in 56 milliseconds

123456789