Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/arch/x86/math-emu/
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 …]
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 …]
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 …]
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 …]
/Linux-v4.19/arch/x86/lib/
Dcopy_user_64.S37 movl %edx,%ecx
39 shrl $6,%ecx
59 decl %ecx
62 movl %edx,%ecx
64 shrl $3,%ecx
70 decl %ecx
74 movl %edx,%ecx
79 decl %ecx
86 30: shll $6,%ecx
87 addl %ecx,%edx
[all …]
Datomic64_cx8_32.S17 movl %ecx, %edx
24 read64 %ecx
56 movl %ecx, %ebp
58 read64 %ecx
61 movl %edx, %ecx
63 \insc\()l %edi, %ecx
70 movl %ecx, %edx
89 movl %edx, %ecx
91 \insc\()l $0, %ecx
98 movl %ecx, %edx
[all …]
Dchecksum_32.S57 movl 16(%esp),%ecx # Function arg: int len
65 dec %ecx
74 subl $2, %ecx # Alignment uses up two bytes.
76 addl $2, %ecx # ecx was < 2. Deal with it.
83 movl %ecx, %edx
84 shrl $5, %ecx
104 dec %ecx
107 2: movl %edx, %ecx
116 4: andl $3, %ecx
118 cmpl $2, %ecx
[all …]
Dmemcpy_64.S40 movl %edx, %ecx
161 movl (%rsi), %ecx
163 movl %ecx, (%rdi)
173 movzbl (%rsi), %ecx
206 movl %esi, %ecx
207 andl $7, %ecx
208 subl $8, %ecx
209 negl %ecx
210 subl %ecx, %edx
219 decl %ecx
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dmwait.h25 static inline void __monitor(const void *eax, unsigned long ecx, in __monitor() argument
30 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitor()
33 static inline void __monitorx(const void *eax, unsigned long ecx, in __monitorx() argument
38 :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx()
41 static inline void __mwait(unsigned long eax, unsigned long ecx) in __mwait() argument
45 :: "a" (eax), "c" (ecx)); in __mwait()
75 unsigned long ecx) in __mwaitx() argument
79 :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx()
82 static inline void __sti_mwait(unsigned long eax, unsigned long ecx) in __sti_mwait() argument
87 :: "a" (eax), "c" (ecx)); in __sti_mwait()
[all …]
/Linux-v4.19/tools/testing/selftests/x86/
Dpkey-helpers.h60 unsigned int ecx = 0; in __rdpkru() local
65 : "c" (ecx)); in __rdpkru()
86 unsigned int ecx = 0; in __wrpkru() local
91 : : "a" (eax), "c" (ecx), "d" (edx)); in __wrpkru()
146 unsigned int *ecx, unsigned int *edx) in __cpuid() argument
153 "=c" (*ecx), in __cpuid()
155 : "0" (*eax), "2" (*ecx)); in __cpuid()
166 unsigned int ecx; in cpu_has_pku() local
170 ecx = 0x0; in cpu_has_pku()
171 __cpuid(&eax, &ebx, &ecx, &edx); in cpu_has_pku()
[all …]
/Linux-v4.19/arch/x86/boot/compressed/
Defi_stub_32.S50 popl %ecx
51 movl %ecx, saved_return_addr(%edx)
53 popl %ecx
54 movl %ecx, efi_rt_function_ptr(%edx)
59 call *%ecx
71 movl efi_rt_function_ptr(%edx), %ecx
72 pushl %ecx
77 movl saved_return_addr(%edx), %ecx
78 pushl %ecx
Dhead_32.S133 movl $(_bss - startup_32), %ecx
134 shrl $2, %ecx
159 popl %ecx
160 movl %ecx, efi32_config(%esi) /* Handle */
161 popl %ecx
162 movl %ecx, efi32_config+8(%esi) /* EFI System table pointer */
173 popl %ecx
175 pushl %ecx
181 popl %ecx
188 movl %ecx, efi32_config(%esi) /* Handle */
[all …]
/Linux-v4.19/tools/arch/x86/lib/
Dmemcpy_64.S40 movl %edx, %ecx
161 movl (%rsi), %ecx
163 movl %ecx, (%rdi)
173 movzbl (%rsi), %ecx
206 movl %esi, %ecx
207 andl $7, %ecx
208 subl $8, %ecx
209 negl %ecx
210 subl %ecx, %edx
219 decl %ecx
[all …]
/Linux-v4.19/arch/x86/um/
Dchecksum_32.S57 movl 16(%esp),%ecx # Function arg: int len
61 subl $2, %ecx # Alignment uses up two bytes.
63 addl $2, %ecx # ecx was < 2. Deal with it.
70 movl %ecx, %edx
71 shrl $5, %ecx
91 dec %ecx
94 2: movl %edx, %ecx
103 4: andl $3, %ecx
105 cmpl $2, %ecx
110 shll $16,%ecx
[all …]
/Linux-v4.19/arch/x86/kernel/cpu/
Dtopology.c21 #define LEAFB_SUBTYPE(ecx) (((ecx) >> 8) & 0xff) argument
28 unsigned int eax, ebx, ecx, edx; in detect_extended_topology_early() local
33 cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology_early()
38 if (ebx == 0 || (LEAFB_SUBTYPE(ecx) != SMT_TYPE)) in detect_extended_topology_early()
60 unsigned int eax, ebx, ecx, edx, sub_index; in detect_extended_topology() local
70 cpuid_count(0xb, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
76 cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
81 if (LEAFB_SUBTYPE(ecx) == CORE_TYPE) { in detect_extended_topology()
88 } while (LEAFB_SUBTYPE(ecx) != INVALID_TYPE); in detect_extended_topology()
Dvmware.c47 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument
49 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
59 uint32_t eax, ebx, ecx, edx; in __vmware_platform() local
60 VMWARE_PORT(GETVERSION, eax, ebx, ecx, edx); in __vmware_platform()
136 uint32_t eax, ebx, ecx, edx; in vmware_platform_setup() local
139 VMWARE_PORT(GETHZ, eax, ebx, ecx, edx); in vmware_platform_setup()
160 lapic_timer_frequency = ecx / HZ; in vmware_platform_setup()
162 ecx); in vmware_platform_setup()
202 uint32_t eax, ebx, ecx, edx; in vmware_legacy_x2apic_available() local
203 VMWARE_PORT(GETVCPU_INFO, eax, ebx, ecx, edx); in vmware_legacy_x2apic_available()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c92 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
98 eax, ebx, ecx, edx, si, di); in vmw_open_channel()
100 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_open_channel()
121 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
131 eax, ebx, ecx, edx, si, di); in vmw_close_channel()
133 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0) in vmw_close_channel()
151 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_send_msg() local
167 eax, ebx, ecx, edx, si, di); in vmw_send_msg()
169 if ((HIGH_WORD(ecx) & MESSAGE_STATUS_SUCCESS) == 0 || in vmw_send_msg()
170 (HIGH_WORD(ecx) & MESSAGE_STATUS_HB) == 0) { in vmw_send_msg()
[all …]
Dvmwgfx_msg.h58 eax, ebx, ecx, edx, si, di) \ argument
63 "=c"(ecx), \
102 eax, ebx, ecx, edx, si, di) \ argument
110 "=c"(ecx), \
127 eax, ebx, ecx, edx, si, di) \ argument
135 "=c"(ecx), \
161 eax, ebx, ecx, edx, si, di) \ argument
171 "=c"(ecx), \
188 eax, ebx, ecx, edx, si, di) \ argument
198 "=c"(ecx), \
/Linux-v4.19/arch/x86/kernel/
Dftrace_32.S58 pushl %ecx
74 movl function_trace_op, %ecx
83 popl %ecx
131 pushl %ecx
141 movl function_trace_op, %ecx /* Save ftrace_pos in 3rd parameter */
158 popl %ecx
195 pushl %ecx
201 movl ftrace_trace_function, %ecx
202 CALL_NOSPEC %ecx
205 popl %ecx
[all …]
Dhead_32.S68 movl pa(initial_stack),%ecx
86 leal -__PAGE_OFFSET(%ecx),%esp
94 movl $pa(__bss_stop),%ecx
95 subl %edi,%ecx
96 shrl $2,%ecx
107 movl $(PARAM_SIZE/4),%ecx
115 movl $(COMMAND_LINE_SIZE/4),%ecx
183 movl initial_stack, %ecx
184 movl %ecx, %esp
205 movl pa(initial_stack),%ecx
[all …]
/Linux-v4.19/arch/x86/realmode/rm/
Dreboot.S39 movl $MSR_EFER, %ecx
59 movl $16, %ecx
60 movl %ecx, %ds
61 movl %ecx, %es
62 movl %ecx, %fs
63 movl %ecx, %gs
64 movl %ecx, %ss
96 xorl %ecx, %ecx
101 movl %ecx, %cr3
/Linux-v4.19/drivers/char/
Dtoshiba.c136 unsigned long eax,ecx,flags; in tosh_emulate_fan() local
140 ecx = regs->ecx & 0xffff; in tosh_emulate_fan()
152 regs->ecx = (unsigned int) (al & 0x01); in tosh_emulate_fan()
154 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
163 regs->ecx = 0x00; in tosh_emulate_fan()
165 if ((eax==0xff00) && (ecx==0x0001)) { in tosh_emulate_fan()
174 regs->ecx = 0x01; in tosh_emulate_fan()
188 regs->ecx = al & 0x01; in tosh_emulate_fan()
190 if ((eax==0xff00) && (ecx==0x0000)) { in tosh_emulate_fan()
198 regs->ecx = 0x00; in tosh_emulate_fan()
[all …]
/Linux-v4.19/arch/x86/platform/efi/
Defi_stub_32.S54 popl %ecx
55 movl %ecx, efi_rt_function_ptr
77 jmp *%ecx
107 movl (%edx), %ecx
108 pushl %ecx
114 movl (%edx), %ecx
115 pushl %ecx
/Linux-v4.19/arch/x86/boot/
Dcpucheck.c135 u32 ecx = MSR_K7_HWCR; in check_cpu() local
138 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
140 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
150 u32 ecx = MSR_VIA_FCR; in check_cpu() local
153 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
155 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
162 u32 ecx = 0x80860004; in check_cpu() local
166 asm("rdmsr" : "=a" (eax), "=d" (edx) : "c" (ecx)); in check_cpu()
167 asm("wrmsr" : : "a" (~0), "d" (edx), "c" (ecx)); in check_cpu()
171 asm("wrmsr" : : "a" (eax), "d" (edx), "c" (ecx)); in check_cpu()
/Linux-v4.19/arch/x86/kvm/
Dcpuid.c38 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local
39 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
84 best->ecx &= ~F(OSXSAVE); in kvm_update_cpuid()
86 best->ecx |= F(OSXSAVE); in kvm_update_cpuid()
94 if (best->ecx & F(TSC_DEADLINE_TIMER)) in kvm_update_cpuid()
104 best->ecx &= ~F(OSPKE); in kvm_update_cpuid()
106 best->ecx |= F(OSPKE); in kvm_update_cpuid()
220 vcpu->arch.cpuid_entries[i].ecx = cpuid_entries[i].ecx; in kvm_vcpu_ioctl_set_cpuid()
291 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
304 entry->ecx = F(MOVBE); in __do_cpuid_ent_emulated()
[all …]

12345678