| /linux/arch/x86/math-emu/ |
| H A D | reg_round.S | 125 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 D | wm_sqrt.S | 91 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 D | mul_Xsig.S | 35 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 D | reg_u_sub.S | 46 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 D | reg_u_div.S | 121 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 …]
|
| /linux/arch/x86/include/asm/ |
| H A D | mwait.h | 28 static __always_inline void __monitor(const void *eax, u32 ecx, u32 edx) in __monitor() argument 34 asm volatile("monitor" :: "a" (eax), "c" (ecx), "d" (edx)); in __monitor() 37 static __always_inline void __monitorx(const void *eax, u32 ecx, u32 edx) in __monitorx() argument 39 asm volatile("monitorx" :: "a" (eax), "c" (ecx), "d"(edx)); in __monitorx() 42 static __always_inline void __mwait(u32 eax, u32 ecx) in __mwait() argument 48 asm volatile("mwait" :: "a" (eax), "c" (ecx)); in __mwait() 77 static __always_inline void __mwaitx(u32 eax, u32 ebx, u32 ecx) in __mwaitx() argument 81 asm volatile("mwaitx" :: "a" (eax), "b" (ebx), "c" (ecx)); in __mwaitx() 93 static __always_inline void __sti_mwait(u32 eax, u32 ecx) in __sti_mwait() argument 96 asm volatile("sti; mwait" :: "a" (eax), "c" (ecx)); in __sti_mwait() [all …]
|
| /linux/arch/x86/lib/ |
| H A D | copy_mc_64.S | 31 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 D | atomic64_cx8_32.S | 13 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 D | putuser.S | 42 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 D | checksum_32.S | 53 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 D | copy_user_64.S | 39 cmp $8,%ecx 42 testl %ecx,%ecx 64 sub $8,%ecx 66 cmp $8,%ecx 102 movl %eax,%ecx 103 testl %ecx,%ecx
|
| H A D | clear_page_64.S | 49 cmp $8,%ecx 52 testl %ecx,%ecx 68 sub $8,%ecx 70 cmp $8,%ecx 88 cmpl $8,%ecx 90 testl %ecx,%ecx
|
| /linux/arch/x86/boot/startup/ |
| H A D | efi-mixed.S | 30 1: popl %ecx 34 leal (_bss - 1b)(%ecx), %edi 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 149 movzwl (%esp), %ecx /* Existing GDT limit */ 150 inc %ecx /* Existing GDT size */ [all …]
|
| /linux/arch/x86/include/asm/cpuid/ |
| H A D | api.h | 26 u32 *ecx, u32 *edx) in native_cpuid() argument 32 "=c" (*ecx), in native_cpuid() 34 : "0" (*eax), "2" (*ecx) in native_cpuid() 41 u32 eax = op, ebx, ecx = 0, edx; \ 43 native_cpuid(&eax, &ebx, &ecx, &edx); \ 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() 74 __cpuid(eax, ebx, ecx, edx); in NATIVE_CPUID_REG() 80 u32 *ecx, u32 *edx) in cpuid_count() argument [all …]
|
| /linux/arch/x86/entry/ |
| H A D | entry_32.S | 183 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/testing/selftests/mm/ |
| H A D | pkey-x86.h | 48 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 103 __cpuid_count(XSTATE_CPUID, 0, eax, ebx, ecx, edx); in cpu_max_xsave_size() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | ftrace_32.S | 45 pushl %ecx 61 movl function_trace_op, %ecx 70 popl %ecx 128 pushl %ecx 136 movl function_trace_op, %ecx # 3rd argument: ftrace_pos 146 movl PT_EIP(%esp), %ecx 147 movl %ecx, -4(%eax) 150 movl PT_EAX(%esp), %ecx 151 movl %ecx, -8(%eax) 154 popl %ecx [all …]
|
| H A D | head_32.S | 66 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 106 movl $(COMMAND_LINE_SIZE/4),%ecx 149 movl pa(initial_stack),%ecx 151 leal -__PAGE_OFFSET(%ecx),%esp 174 movl $X86_EFLAGS_ID,%ecx [all …]
|
| H A D | relocate_kernel_32.S | 63 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/tools/arch/x86/kcpuid/ |
| H A D | cpuid.csv | 17 0x0, 0, ecx, 31:0, cpu_vendorid_2 , CPU vendor ID string bytes 8 - 11 33 0x1, 0, ecx, 0, pni , Streaming SIMD Extensions 3 (SSE3) 34 0x1, 0, ecx, 1, pclmulqdq , PCLMULQDQ instruction support 35 0x1, 0, ecx, 2, dtes64 , 64-bit DS save area 36 0x1, 0, ecx, 3, monitor , MONITOR/MWAIT support 37 0x1, 0, ecx, 4, ds_cpl , CPL Qualified Debug Store 38 0x1, 0, ecx, 5, vmx , Virtual Machine Extensions 39 0x1, 0, ecx, 6, smx , Safer Mode Extensions 40 0x1, 0, ecx, 7, est , Enhanced Intel SpeedStep 41 0x1, 0, ecx, 8, tm2 , Thermal Monitor 2 [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | reboot.S | 40 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 D | mem_encrypt.S | 39 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 …]
|
| /linux/drivers/char/ |
| H A D | toshiba.c | 123 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 D | cpuid.c | 45 u32 ecx; member 58 cpuid_count(0xD, i, &xs->eax, &xs->ebx, &xs->ecx, &ign); in kvm_init_xstate_sizes() 77 offset = (xs->ecx & 0x2) ? ALIGN(ret, 64) : ret; in xstate_required_size() 200 e2[i].ecx != orig->ecx || e2[i].edx != orig->edx) in kvm_cpuid_check_equal() 221 signature[1] = entry->ecx; in kvm_get_hypervisor_cpuid() 277 return (best->ecx | ((u64)best->edx << 32)) & kvm_caps.supported_xss; in cpuid_get_supported_xss() 346 return is_guest_vendor_amd(entry->ebx, entry->ecx, entry->edx) || in guest_cpuid_is_amd_or_hygon() 347 is_guest_vendor_hygon(entry->ebx, entry->ecx, entry->edx); in guest_cpuid_is_amd_or_hygon() 363 return entry->ecx; in cpuid_get_reg_unsafe() 615 e2[i].ecx = e[i].ecx; in kvm_vcpu_ioctl_set_cpuid() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | longrun.c | 138 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()
|