| /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 …]
|
| H A D | round_Xsig.S | 52 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)
|
| H A D | reg_u_mul.S | 69 xorl %ecx,%ecx 87 adcl $0,%ecx 92 adcl %edx,%ecx 112 testl $0x80000000,%ecx 119 rcll $1,%ecx 131 movl %ecx,%eax
|
| /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 | 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 | csum-copy_64.S | 49 movl %edx, %ecx 50 cmpl $8, %ecx 56 movl %ecx, %r12d 135 andl $63, %ecx 136 shrl $3, %ecx 144 decl %ecx 161 movl %r10d, %ecx 162 andl $7, %ecx 164 shrl $1, %ecx 174 decl %ecx [all …]
|
| H A D | atomic64_386_32.S | 35 #define v %ecx 46 movl %ecx, 4(v) 56 movl %ecx, 4(v) 61 #define v %ecx 69 #define v %ecx 79 #define v %ecx 87 #define v %ecx 142 addl %eax, %ecx 146 cmpl %eax, %ecx
|
| /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 | head_64.S | 69 movl $MSR_GS_BASE, %ecx 223 andl %edx, %ecx 226 btsl $X86_CR4_PSE_BIT, %ecx 232 btsl $X86_CR4_PGE_BIT, %ecx 244 movl smpboot_control(%rip), %ecx 245 testl $STARTUP_READ_APICID, %ecx 251 andl $(~STARTUP_PARALLEL_MASK), %ecx 256 mov $MSR_IA32_APICBASE, %ecx 285 mov $APIC_X2APIC_ID_MSR, %ecx 290 xorl %ecx, %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, [all...] |
| H A D | kcpuid.c | 33 /* descriptor info for eax/ebx/ecx/edx */ 174 /* Return true is the input eax/ebx/ecx/edx are all zero */ in raw_dump_range() 241 u32 eax, ebx, ecx, edx; in setup_cpuid_range() 243 cpuid(range->index, max_func, ebx, ecx, edx); in setup_cpuid_range() 268 cpuid(f, eax, ebx, ecx, edx); in setup_cpuid_range() 270 allzero = cpuid_store(range, f, 0, eax, ebx, ecx, edx); in setup_cpuid_range() 295 cpuid_count(f, subleaf, eax, ebx, ecx, edx); in parse_line() 297 allzero = cpuid_store(range, f, subleaf, eax, ebx, ecx, edx); in parse_line() 52 u32 eax, ebx, ecx, edx; global() member 88 cpuid(u32 * eax,u32 * ebx,u32 * ecx,u32 * edx) cpuid() argument 201 u32 eax, ebx, ecx, edx, f = input_eax; setup_cpuid_range() local 579 u32 eax, ebx, ecx, edx; setup_platform_cpuid() local
|
| /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/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()
|
| /linux/arch/x86/boot/ |
| H A D | pmjump.S | 51 movl %ecx, %ds 52 movl %ecx, %es 53 movl %ecx, %fs 54 movl %ecx, %gs 55 movl %ecx, %ss 65 xorl %ecx, %ecx
|
| /linux/arch/x86/kernel/acpi/ |
| H A D | cstate.c | 115 unsigned int ecx; member 128 unsigned int eax, ebx, ecx, edx; in acpi_processor_ffh_cstate_probe_cpu() local 133 cpuid(CPUID_LEAF_MWAIT, &eax, &ebx, &ecx, &edx); in acpi_processor_ffh_cstate_probe_cpu() 151 if (!(ecx & CPUID5_ECX_EXTENSIONS_SUPPORTED) || in acpi_processor_ffh_cstate_probe_cpu() 152 !(ecx & CPUID5_ECX_INTERRUPT_BREAK)) { in acpi_processor_ffh_cstate_probe_cpu() 185 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe() 194 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK; in acpi_processor_ffh_cstate_probe() 226 percpu_entry->states[cx->index].ecx); in acpi_processor_ffh_cstate_enter()
|