/linux/arch/x86/math-emu/ |
H A D | reg_norm.S | 28 pushl %ebx 30 movl PARAM1,%ebx 32 movl SIGH(%ebx),%edx 33 movl SIGL(%ebx),%eax 44 subw $32,EXP(%ebx) /* This can cause an underflow */ 53 subw %cx,EXP(%ebx) /* This can cause an underflow */ 55 movl %edx,SIGH(%ebx) 56 movl %eax,SIGL(%ebx) 59 cmpw EXP_OVER,EXP(%ebx) 62 cmpw EXP_UNDER,EXP(%ebx) [all …]
|
H A D | wm_shrx.S | 46 pushl %ebx 47 movl (%esi),%ebx /* lsl */ 50 shrd %cl,%ebx,%eax 51 shrd %cl,%edx,%ebx 53 movl %ebx,(%esi) 55 popl %ebx 119 pushl %ebx 134 xorl %ebx,%ebx 135 shrd %cl,%eax,%ebx 138 orl %ebx,%ebx /* test these 32 bits */ [all …]
|
H A D | reg_u_sub.S | 41 pushl %ebx 65 movl SIGL(%edi),%ebx /* register ls word */ 83 shrd %cl,%ebx,%edx 84 shrd %cl,%eax,%ebx 97 orl %ebx,%ebx 103 movl %eax,%ebx 108 movl %ebx,%edx 109 movl %eax,%ebx 119 orl %ebx,%ebx 138 orl %ebx,%ebx [all …]
|
H A D | round_Xsig.S | 29 pushl %ebx /* Reserve some space */ 30 pushl %ebx 36 movl 4(%esi),%ebx 45 movl %ebx,%edx 46 movl %eax,%ebx 56 shld %cl,%ebx,%edx 57 shld %cl,%eax,%ebx 64 addl $1,%ebx 73 movl %ebx,4(%esi) 79 popl %ebx [all …]
|
H A D | reg_u_div.S | 87 pushl %ebx 90 movl REGB,%ebx 94 movswl EXP(%ebx),%eax 112 testl $0x80000000, SIGH(%ebx) /* Divisor */ 117 cmpl $0,SIGL(%ebx) 121 movl SIGH(%ebx),%ecx /* The divisor */ 198 cmpl SIGH(%ebx),%edx /* Test for imminent overflow */ 202 cmpl SIGL(%ebx),%eax 209 subl SIGL(%ebx),%eax 210 sbbl SIGH(%ebx),%edx /* Prevent the overflow */ [all …]
|
H A D | div_Xsig.S | 87 pushl %ebx 90 movl PARAM2,%ebx /* pointer to denom */ 93 testl $0x80000000, XsigH(%ebx) /* Divisor */ 137 movl XsigH(%ebx),%ecx 153 mull XsigH(%ebx) /* mul by the ms dw of the denom */ 159 mull XsigL(%ebx) /* now mul the ls dw of the denom */ 173 movl XsigL(%ebx),%eax 174 movl XsigH(%ebx),%edx 192 cmpl XsigH(%ebx),%edx 196 cmpl XsigL(%ebx),%eax [all …]
|
H A D | reg_round.S | 117 pushl %ebx 121 movl SIGL(%edi),%ebx 128 pushl %ebx /* adjust the stack pointer */ 204 orl %ebx,%ecx 219 orl %ebx,%ebx 232 xorl %ebx,%ebx 240 orl %ebx,%ecx 246 xorl %ebx,%ebx 282 movl %ebx,%ecx 290 movl %ebx,%ecx [all …]
|
H A D | reg_u_add.S | 40 pushl %ebx 51 movl SIGL(%esi),%ebx 61 movl SIGL(%edi),%ebx 83 shrd %cl,%ebx,%edx 84 shrd %cl,%eax,%ebx 97 orl %ebx,%ebx 103 movl %eax,%ebx 108 movl %ebx,%edx 109 movl %eax,%ebx 118 orl %ebx,%ebx [all …]
|
H A D | wm_sqrt.S | 86 pushl %ebx 349 movl %edi,%ebx 370 movl %edx,%ebx /* 2nd ls word of square */ 375 addl %eax,%ebx 376 addl %eax,%ebx 379 cmp $0xffffffb0,%ebx 382 cmp $0x00000050,%ebx 391 or %ebx,%ebx 396 or %ebx,%edx 425 movl %edx,%ebx /* 2nd ls word of square */ [all …]
|
H A D | reg_u_mul.S | 57 pushl %ebx 70 xorl %ebx,%ebx 80 adcl %edx,%ebx 86 adcl %edx,%ebx 91 addl %eax,%ebx 118 rcll $1,%ebx 139 pop %ebx 143 popl %ebx
|
/linux/arch/x86/lib/ |
H A D | checksum_32.S | 51 pushl %ebx 63 movzbl (%esi), %ebx 64 adcl %ebx, %eax 83 1: movl (%esi), %ebx 84 adcl %ebx, %eax 85 movl 4(%esi), %ebx 86 adcl %ebx, %eax 87 movl 8(%esi), %ebx 88 adcl %ebx, %eax 89 movl 12(%esi), %ebx [all …]
|
H A D | atomic64_cx8_32.S | 12 movl %ebx, %eax 51 pushl %ebx 61 movl %eax, %ebx 63 \ins\()l %esi, %ebx 70 movl %ebx, %eax 74 popl %ebx 85 pushl %ebx 89 movl %eax, %ebx 91 \ins\()l $1, %ebx 98 movl %ebx, %eax [all …]
|
H A D | csum-copy_64.S | 154 movl %eax, %ebx 156 addl %ebx, %eax 167 xorl %ebx, %ebx 173 adcl %ebx, %eax 186 xorl %ebx, %ebx 191 addl %ebx, %eax 209 xorl %ebx, %ebx 225 movl (%rdi), %ebx 227 movl %ebx, (%rsi) 244 shll $8, %ebx
|
/linux/sound/pci/au88x0/ |
H A D | au88x0_eq.c | 102 int i = 0, ebx; in vortex_EqHw_SetLeftStates() local 107 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetLeftStates() 119 int i = 0, ebx; in vortex_EqHw_SetRightStates() local 124 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetRightStates() 212 int ebx; in vortex_EqHw_SetLeftGainsTarget() local 214 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetLeftGainsTarget() 215 hwwrite(vortex->mmio, 0x2b02c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetLeftGainsTarget() 222 int ebx; in vortex_EqHw_SetRightGainsTarget() local 224 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetRightGainsTarget() 225 hwwrite(vortex->mmio, 0x2b20c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetRightGainsTarget() [all …]
|
/linux/arch/x86/include/asm/ |
H A D | cpuid.h | 14 u32 eax, ebx, ecx, edx; member 32 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument 38 "=b" (*ebx), in native_cpuid() 48 unsigned int eax = op, ebx, ecx = 0, edx; \ 50 native_cpuid(&eax, &ebx, &ecx, &edx); \ 59 native_cpuid_reg(ebx) in native_cpuid_reg() argument 75 unsigned int *eax, unsigned int *ebx, in native_cpuid_reg() 80 __cpuid(eax, ebx, ecx, edx); in native_cpuid_reg() 85 unsigned int *eax, unsigned int *ebx, in cpuid_count() argument 90 __cpuid(eax, ebx, ecx, edx); in cpuid_count() [all …]
|
/linux/arch/x86/boot/compressed/ |
H A D | efi_mixed.S | 103 movl %ebx, 0x18(%rsp) 134 movl %ebx, %ss 136 movl %ebx, %es 138 movl %ebx, %ds 140 xorl %ebx, %ebx 141 movl %ebx, %fs 142 movl %ebx, %gs 154 leal (efi32_boot_args - 1b)(%ecx), %ebx 169 movl %esi, 8(%ebx) 213 lidtl 16(%ebx) [all …]
|
H A D | head_32.S | 86 leal startup_32@GOTOFF(%edx), %ebx 89 addl %eax, %ebx 91 andl %eax, %ebx 92 cmpl $LOAD_PHYSICAL_ADDR, %ebx 95 movl $LOAD_PHYSICAL_ADDR, %ebx 98 movl %ebx, %ebp // Save the output address for later 100 addl BP_init_size(%esi), %ebx 101 subl $_end@GOTOFF, %ebx 104 leal boot_stack_end@GOTOFF(%ebx), %esp 116 leal (_bss@GOTOFF-4)(%ebx), %edi [all …]
|
H A D | mem_encrypt.S | 21 push %ebx 44 movl %ebx, %eax 52 pop %ebx 95 pushl %ebx 100 movl %eax, %ebx 107 movl %ebx, %edx # CPUID fn 114 movl %ebx, %edx # CPUID fn 121 movl %ebx, %edx # CPUID fn 128 movl %ebx, %edx # CPUID fn 140 cmpl $0x80000000, %ebx [all …]
|
/linux/arch/x86/kernel/ |
H A D | relocate_kernel_32.S | 43 pushl %ebx 60 movl 20+4(%esp), %ebx /* page_list */ 77 movl %ebx, CP_PA_BACKUP_PAGES_MAP(%edi) 140 pushl %ebx 161 xorl %ebx, %ebx 181 popl %ebx 182 subl $(1b - relocate_kernel), %ebx 183 movl CP_VA_CONTROL_PAGE(%ebx), %edi 184 lea PAGE_SIZE(%ebx), %esp 185 movl CP_PA_SWAP_PAGE(%ebx), %eax [all …]
|
/linux/tools/arch/x86/kcpuid/ |
H A D | cpuid.csv | 16 0, 0, ebx, 31:0, cpu_vendorid_0 , CPU vendor ID string bytes 0 - 3 29 1, 0, ebx, 7:0, brand_id , Brand index 30 … 1, 0, ebx, 15:8, clflush_size , CLFLUSH instruction cache line size 31 1, 0, ebx, 23:16, n_logical_cpu , Logical CPU (HW threads) count 32 1, 0, ebx, 31:24, local_apic_id , Initial local APIC physical ID 103 2, 0, ebx, 7:0, desc4 , Descriptor #4 104 2, 0, ebx, 15:8, desc5 , Descriptor #5 105 2, 0, ebx, 23:16, desc6 , Descriptor #6 106 2, 0, ebx, 30:24, desc7 , Descriptor #7 107 2, 0, ebx, 31, ebx_invalid , Descriptors 4-7 are invalid if set [all …]
|
/linux/arch/x86/kvm/ |
H A D | cpuid.c | 41 u32 ebx; member 55 cpuid_count(0xD, i, &xs->eax, &xs->ebx, &xs->ecx, &ign); in kvm_init_xstate_sizes() 74 offset = xs->ebx; in xstate_required_size() 205 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal() 226 signature[0] = entry->ebx; in __kvm_get_hypervisor_cpuid() 317 best->ebx = xstate_required_size(vcpu->arch.xcr0, false); in __kvm_update_cpuid_runtime() 322 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in __kvm_update_cpuid_runtime() 367 return is_guest_vendor_amd(entry->ebx, entry->ecx, entry->edx) || in guest_cpuid_is_amd_or_hygon() 368 is_guest_vendor_hygon(entry->ebx, entry->ecx, entry->edx); in guest_cpuid_is_amd_or_hygon() 535 e2[i].ebx = e[i].ebx; in kvm_vcpu_ioctl_set_cpuid() [all …]
|
/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | cpuid_test.c | 19 u32 ebx; 30 u32 eax, ebx, ecx, edx; in test_guest_cpuids() 35 &eax, &ebx, &ecx, &edx); in test_guest_cpuids() 38 GUEST_ASSERT_EQ(ebx, guest_cpuid->entries[i].ebx); in test_guest_cpuids() 77 mask.ebx = 0; in compare_cpuids() 108 (e1->ebx & mask.ebx) == (e2->ebx & mask.ebx) in run_vcpu() 31 u32 eax, ebx, ecx, edx; test_guest_cpuids() local 142 u32 eax, ebx, x; set_cpuid_after_run() local [all...] |
/linux/drivers/cpufreq/ |
H A D | speedstep-lib.c | 257 u32 ebx, msr_lo, msr_hi; in speedstep_detect_processor() local 271 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor() 272 ebx &= 0x000000FF; in speedstep_detect_processor() 274 pr_debug("ebx value is %x, x86_stepping is %x\n", ebx, c->x86_stepping); in speedstep_detect_processor() 282 if ((ebx == 0x0e) || (ebx == 0x0f)) in speedstep_detect_processor() 293 if (ebx == 0x0e) in speedstep_detect_processor() 313 if ((ebx == 0x0e) || in speedstep_detect_processor() 328 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor() 329 pr_debug("ebx is %x\n", ebx); in speedstep_detect_processor() 331 ebx &= 0x000000FF; in speedstep_detect_processor() [all …]
|
/linux/arch/x86/kernel/cpu/microcode/ |
H A D | internal.h | 59 #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/arch/x86/platform/pvh/ |
H A D | head.S | 67 mov (%ebx), %eax 68 leal 4(%ebx), %esp 72 mov %eax, (%ebx) 87 mov %ebx, %esi 114 mov %ebp, %ebx 115 subl rva(xen_elfnote_phys32_entry)(%ebp), %ebx 122 movl %ebx, rva(phys_base)(%ebp) 130 addl %ebx, 0x00(%edi) 138 addl %ebx, 0x00(%edi) 141 addl %ebx, (PAGE_SIZE - 16)(%edi) [all …]
|