Home
last modified time | relevance | path

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

1234567

/linux/arch/x86/math-emu/
H A Dreg_round.S125 movl PARAM4,%ecx
145 movl %ecx,%esi
146 andl CW_PC,%ecx
147 cmpl PR_64_BITS,%ecx
150 cmpl PR_53_BITS,%ecx
153 cmpl PR_24_BITS,%ecx
159 cmpl PR_RESERVED_BITS,%ecx
173 movl %esi,%ecx
174 andl CW_RC,%ecx
175 cmpl RC_RND,%ecx
[all …]
H A Dwm_sqrt.S91 movl SIGL(%esi),%ecx
100 rcrl $1,%ecx
108 movl %ecx,FPU_fsqrt_arg_1
114 movl $0xaaaaaaaa,%ecx
115 mull %ecx
128 movl FPU_fsqrt_arg_2,%ecx /* ms word */
137 shrl %ecx /* Doing this first will prevent a divide */
140 movl %ecx,%edx /* msw of the arg / 2 */
145 movl %ecx,%edx
150 movl %ecx,%edx
[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 */
105 mull 4(%ecx) /* msl of b */
[all …]
H A Dreg_u_sub.S46 movl PARAM6,%ecx
47 subl PARAM7,%ecx /* exp1 - exp2 */
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
162 movl SIGH(%esi),%ecx
163 sbbl %eax,%ecx
[all …]
H A Dreg_u_div.S121 movl SIGH(%ebx),%ecx /* The divisor */
125 cmpl %ecx,%edx
129 subl %ecx,%edx /* Prevent the overflow */
133 divl %ecx
138 divl %ecx
143 divl %ecx
219 movl SIGH(%ebx),%ecx
220 addl $1,%ecx
229 divl %ecx /* Divide the numerator by the augmented
296 cmpl $0,%ecx /* augmented denom msw */
[all …]
H A Dround_Xsig.S52 bsrl %edx,%ecx /* get the required shift in %ecx */
53 subl $31,%ecx
54 negl %ecx
55 subl %ecx,-4(%ebp)
123 bsrl %edx,%ecx /* get the required shift in %ecx */
124 subl $31,%ecx
125 negl %ecx
126 subl %ecx,-4(%ebp)
/linux/arch/x86/lib/
H 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
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
46 movl %edx, %ecx
48 shrl $3, %ecx
57 decl %ecx
66 movl %edx, %ecx
[all …]
H A Datomic64_cx8_32.S13 movl %ecx, %edx
25 read64 %ecx
57 movl %ecx, %ebp
59 read64_nonatomic %ecx
62 movl %edx, %ecx
64 \insc\()l %edi, %ecx
71 movl %ecx, %edx
90 movl %edx, %ecx
92 \insc\()l $0, %ecx
99 movl %ecx, %edx
[all …]
H A Dchecksum_32.S53 movl 16(%esp),%ecx # Function arg: int len
61 dec %ecx
70 subl $2, %ecx # Alignment uses up two bytes.
72 addl $2, %ecx # ecx was < 2. Deal with it.
79 movl %ecx, %edx
80 shrl $5, %ecx
100 dec %ecx
103 2: movl %edx, %ecx
112 4: andl $3, %ecx
114 cmpl $2, %ecx
[all …]
H 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
H 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/arch/x86/entry/
H A Dentry_32.S183 pushl %ecx
186 movl 4*4(%esp), %ecx # flags
187 movl %ecx, %ss:-1*4(%eax)
189 movl 3*4(%esp), %ecx # cs
190 andl $0x0000ffff, %ecx
191 movl %ecx, %ss:-2*4(%eax)
193 movl 2*4(%esp), %ecx # ip
194 movl %ecx, %ss:-3*4(%eax)
196 movl 1*4(%esp), %ecx # eax
197 movl %ecx, %ss:-4*4(%eax)
[all …]
/linux/tools/arch/x86/kcpuid/
H A Dcpuid.csv17 0, 0, ecx, 31:0, cpu_vendorid_2 , CPU vendor ID string bytes 8 - 11
33 1, 0, ecx, 0, pni , Streaming SIMD Extensions 3 (SSE3)
34 1, 0, ecx, 1, pclmulqdq , PCLMULQDQ instruction support
35 1, 0, ecx, 2, dtes64 , 64-bit DS save area
36 1, 0, ecx, 3, monitor , MONITOR/MWAIT support
37 1, 0, ecx, 4, ds_cpl , CPL Qualified Debug Store
38 1, 0, ecx, 5, vmx , Virtual Machine Extensions
39 1, 0, ecx, 6, smx , Safer Mode Extensions
40 1, 0, ecx, 7, est , Enhanced Intel SpeedStep
41 1, 0, ecx, 8, tm2 , Thermal Monitor 2
[all …]
H A Dkcpuid.c52 u32 eax, ebx, ecx, edx; member
88 static inline void cpuid(u32 *eax, u32 *ebx, u32 *ecx, u32 *edx) in cpuid() argument
94 "=c" (*ecx), in cpuid()
96 : "0" (*eax), "2" (*ecx)); in cpuid()
121 leaf->sub, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw()
124 leaf->index, leaf->eax, leaf->ebx, leaf->ecx, leaf->edx); in leaf_print_raw()
166 leaf->ecx = c; in cpuid_store()
201 u32 eax, ebx, ecx, edx, f = input_eax; in setup_cpuid_range() local
206 ebx = ecx = edx = 0; in setup_cpuid_range()
208 cpuid(&eax, &ebx, &ecx, &edx); in setup_cpuid_range()
[all …]
/linux/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/arch/x86/boot/compressed/
H A Dmem_encrypt.S39 movl $MSR_AMD64_SEV, %ecx /* Read the SEV MSR */
69 movl $MSR_AMD64_SEV_ES_GHCB, %ecx
75 movl %eax, %ecx
76 andl $0x3ffff000, %ecx # Bits [12-29] MBZ
96 pushl %ecx
155 popl %ecx
170 movl $MSR_AMD64_SEV_ES_GHCB, %ecx
190 leal (%ecx, %edx, 8), %ecx
198 movl %edx, (%ecx)
206 movl %edx, 4(%ecx)
[all …]
H A Defi_mixed.S99 movl %ecx, 0x8(%rsp)
153 1: popl %ecx
154 leal (efi32_boot_args - 1b)(%ecx), %ebx
158 leal (_bss - 1b)(%ecx), %edi
159 leal (_ebss - 1b)(%ecx), %ecx
160 subl %edi, %ecx
161 shrl $2, %ecx
166 popl %ecx
197 movl $MSR_EFER, %ecx
223 movl $MSR_EFER, %ecx
[all …]
/linux/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()
139 regs->ecx = (unsigned int) (al & 0x01); 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()
177 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
185 regs->ecx = 0x00; in tosh_emulate_fan()
[all …]
/linux/arch/x86/kvm/
H A Dcpuid.c42 u32 ecx; member
55 cpuid_count(0xD, i, &xs->eax, &xs->ebx, &xs->ecx, &ign); in kvm_init_xstate_sizes()
72 offset = (xs->ecx & 0x2) ? ALIGN(ret, 64) : ret; in xstate_required_size()
225 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) in kvm_cpuid_check_equal()
246 signature[1] = entry->ecx; in kvm_get_hypervisor_cpuid()
358 return is_guest_vendor_amd(entry->ebx, entry->ecx, entry->edx) || in guest_cpuid_is_amd_or_hygon()
359 is_guest_vendor_hygon(entry->ebx, entry->ecx, entry->edx); in guest_cpuid_is_amd_or_hygon()
375 return entry->ecx; in cpuid_get_reg_unsafe()
600 e2[i].ecx = e[i].ecx; in kvm_vcpu_ioctl_set_cpuid()
675 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in raw_cpuid_get()
[all …]
/linux/arch/x86/kernel/
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
107 movl $(COMMAND_LINE_SIZE/4),%ecx
148 movl pa(initial_stack),%ecx
150 leal -__PAGE_OFFSET(%ecx),%esp
173 movl $X86_EFLAGS_ID,%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
258 movl %ecx, %esi /* For every source page do a copy */
265 movl $1024, %ecx
[all …]
/linux/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/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()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg.c105 u32 ecx, edx, esi, edi; in vmw_open_channel() local
109 &ecx, &edx, &esi, &edi); in vmw_open_channel()
111 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_open_channel()
132 u32 ecx; in vmw_close_channel() local
138 &ecx); in vmw_close_channel()
140 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_close_channel()
158 u32 ebx, ecx; in vmw_port_hb_out() local
175 ecx = MESSAGE_STATUS_SUCCESS << 16; in vmw_port_hb_out()
176 while (msg_len && (HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS)) { in vmw_port_hb_out()
189 &ecx); in vmw_port_hb_out()
[all …]

1234567