Home
last modified time | relevance | path

Searched refs:ebx (Results 1 – 25 of 165) sorted by relevance

1234567

/Linux-v4.19/arch/x86/math-emu/
Dreg_norm.S28 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 …]
Dwm_shrx.S46 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 …]
Dreg_u_sub.S41 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 …]
Dround_Xsig.S29 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 …]
Dreg_u_div.S87 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 …]
Ddiv_Xsig.S87 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 …]
Dreg_u_add.S40 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 …]
Dreg_round.S117 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 …]
Dwm_sqrt.S86 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 …]
Dreg_u_mul.S57 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-v4.19/arch/x86/lib/
Dchecksum_32.S55 pushl %ebx
67 movzbl (%esi), %ebx
68 adcl %ebx, %eax
87 1: movl (%esi), %ebx
88 adcl %ebx, %eax
89 movl 4(%esi), %ebx
90 adcl %ebx, %eax
91 movl 8(%esi), %ebx
92 adcl %ebx, %eax
93 movl 12(%esi), %ebx
[all …]
Datomic64_cx8_32.S16 movl %ebx, %eax
50 pushl %ebx
60 movl %eax, %ebx
62 \ins\()l %esi, %ebx
69 movl %ebx, %eax
73 popl %ebx
84 pushl %ebx
88 movl %eax, %ebx
90 \ins\()l $1, %ebx
97 movl %ebx, %eax
[all …]
/Linux-v4.19/arch/x86/um/
Dchecksum_32.S55 pushl %ebx
74 1: movl (%esi), %ebx
75 adcl %ebx, %eax
76 movl 4(%esi), %ebx
77 adcl %ebx, %eax
78 movl 8(%esi), %ebx
79 adcl %ebx, %eax
80 movl 12(%esi), %ebx
81 adcl %ebx, %eax
82 movl 16(%esi), %ebx
[all …]
/Linux-v4.19/sound/pci/au88x0/
Dau88x0_eq.c114 int i = 0, ebx; in vortex_EqHw_SetLeftStates() local
119 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetLeftStates()
131 int i = 0, ebx; in vortex_EqHw_SetRightStates() local
136 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetRightStates()
224 int ebx; in vortex_EqHw_SetLeftGainsTarget() local
226 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetLeftGainsTarget()
227 hwwrite(vortex->mmio, 0x2b02c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetLeftGainsTarget()
234 int ebx; in vortex_EqHw_SetRightGainsTarget() local
236 for (ebx = 0; ebx < eqhw->this04; ebx++) { in vortex_EqHw_SetRightGainsTarget()
237 hwwrite(vortex->mmio, 0x2b20c + ebx * 0x30, a[ebx]); in vortex_EqHw_SetRightGainsTarget()
[all …]
/Linux-v4.19/arch/x86/boot/compressed/
Dhead_32.S102 movl %ebp, %ebx
105 addl %eax, %ebx
107 andl %eax, %ebx
108 cmpl $LOAD_PHYSICAL_ADDR, %ebx
111 movl $LOAD_PHYSICAL_ADDR, %ebx
117 addl %eax, %ebx
120 leal boot_stack_end(%ebx), %esp
132 leal (_bss-4)(%ebx), %edi
143 leal relocated(%ebx), %eax
218 leal _bss(%ebx), %edi
[all …]
/Linux-v4.19/arch/x86/kernel/cpu/
Dtopology.c23 #define LEVEL_MAX_SIBLINGS(ebx) ((ebx) & 0xffff) 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()
47 smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); 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()
71 core_level_siblings = smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology()
76 cpuid_count(0xb, sub_index, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
82 core_level_siblings = LEVEL_MAX_SIBLINGS(ebx); 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()
61 return eax != (uint32_t)-1 && ebx == VMWARE_HYPERVISOR_MAGIC; 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()
141 if (ebx != UINT_MAX) { in vmware_platform_setup()
142 lpj = tsc_khz = eax | (((uint64_t)ebx) << 32); in vmware_platform_setup()
202 uint32_t eax, ebx, ecx, edx; in vmware_legacy_x2apic_available() local
[all …]
/Linux-v4.19/arch/x86/kernel/
Drelocate_kernel_32.S44 pushl %ebx
61 movl 20+4(%esp), %ebx /* page_list */
78 movl %ebx, CP_PA_BACKUP_PAGES_MAP(%edi)
138 pushl %ebx
159 xorl %ebx, %ebx
176 popl %ebx
177 subl $(1b - relocate_kernel), %ebx
178 movl CP_VA_CONTROL_PAGE(%ebx), %edi
179 lea PAGE_SIZE(%ebx), %esp
180 movl CP_PA_SWAP_PAGE(%ebx), %eax
[all …]
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.h58 eax, ebx, ecx, edx, si, di) \ argument
62 "=b"(ebx), \
102 eax, ebx, ecx, edx, si, di) \ argument
109 "=b"(ebx), \
127 eax, ebx, ecx, edx, si, di) \ argument
134 "=b"(ebx), \
161 eax, ebx, ecx, edx, si, di) \ argument
170 "=b"(ebx), \
188 eax, ebx, ecx, edx, si, di) \ argument
197 "=b"(ebx), \
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()
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()
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()
185 eax, ebx, ecx, edx, si, di); in vmw_send_msg()
187 if ((HIGH_WORD(ebx) & MESSAGE_STATUS_SUCCESS) != 0) { in vmw_send_msg()
189 } else if ((HIGH_WORD(ebx) & MESSAGE_STATUS_CPT) != 0) { in vmw_send_msg()
214 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_recv_msg() local
[all …]
/Linux-v4.19/drivers/cpufreq/
Dspeedstep-lib.c258 u32 ebx, msr_lo, msr_hi; in speedstep_detect_processor() local
272 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
273 ebx &= 0x000000FF; in speedstep_detect_processor()
275 pr_debug("ebx value is %x, x86_stepping is %x\n", ebx, c->x86_stepping); in speedstep_detect_processor()
283 if ((ebx == 0x0e) || (ebx == 0x0f)) in speedstep_detect_processor()
294 if (ebx == 0x0e) in speedstep_detect_processor()
314 if ((ebx == 0x0e) || in speedstep_detect_processor()
329 ebx = cpuid_ebx(0x00000001); in speedstep_detect_processor()
330 pr_debug("ebx is %x\n", ebx); in speedstep_detect_processor()
332 ebx &= 0x000000FF; in speedstep_detect_processor()
[all …]
/Linux-v4.19/arch/x86/include/asm/
Dmicrocode.h91 #define CPUID_IS(a, b, c, ebx, ecx, edx) \ argument
92 (!((ebx ^ (a))|(edx ^ (b))|(ecx ^ (c))))
106 u32 ebx, ecx = 0, edx; in x86_cpuid_vendor() local
108 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_cpuid_vendor()
110 if (CPUID_IS(CPUID_INTEL1, CPUID_INTEL2, CPUID_INTEL3, ebx, ecx, edx)) in x86_cpuid_vendor()
113 if (CPUID_IS(CPUID_AMD1, CPUID_AMD2, CPUID_AMD3, ebx, ecx, edx)) in x86_cpuid_vendor()
122 u32 ebx, ecx = 0, edx; in x86_cpuid_family() local
124 native_cpuid(&eax, &ebx, &ecx, &edx); in x86_cpuid_family()
Dprocessor.h141 u32 eax, ebx, ecx, edx; member
205 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument
211 "=b" (*ebx), in native_cpuid()
221 unsigned int eax = op, ebx, ecx = 0, edx; \
223 native_cpuid(&eax, &ebx, &ecx, &edx); \
232 native_cpuid_reg(ebx) in native_cpuid_reg() argument
605 unsigned int *eax, unsigned int *ebx, in cpuid() argument
610 __cpuid(eax, ebx, ecx, edx); in cpuid()
615 unsigned int *eax, unsigned int *ebx, in cpuid_count() argument
620 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
[all …]
/Linux-v4.19/arch/x86/boot/
Dpmjump.S29 xorl %ebx, %ebx
31 shll $4, %ebx
32 addl %ebx, 2f
60 addl %ebx, %esp
69 xorl %ebx, %ebx
/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()
40 offset = compacted ? ret : ebx; in xstate_required_size()
118 vcpu->arch.guest_xstate_size = best->ebx = in kvm_update_cpuid()
124 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in kvm_update_cpuid()
219 vcpu->arch.cpuid_entries[i].ebx = cpuid_entries[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
291 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_cpuid_1_ent()
481 entry->ebx = 0; in __do_cpuid_ent()
489 entry->ebx &= kvm_cpuid_7_0_ebx_x86_features; in __do_cpuid_ent()
490 cpuid_mask(&entry->ebx, CPUID_7_0_EBX); in __do_cpuid_ent()
[all …]

1234567