Home
last modified time | relevance | path

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

1234567

/Linux-v5.4/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-v5.4/arch/x86/lib/
Dchecksum_32.S51 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 …]
Datomic64_cx8_32.S12 movl %ebx, %eax
46 pushl %ebx
56 movl %eax, %ebx
58 \ins\()l %esi, %ebx
65 movl %ebx, %eax
69 popl %ebx
80 pushl %ebx
84 movl %eax, %ebx
86 \ins\()l $1, %ebx
93 movl %ebx, %eax
[all …]
/Linux-v5.4/arch/x86/um/
Dchecksum_32.S51 pushl %ebx
70 1: movl (%esi), %ebx
71 adcl %ebx, %eax
72 movl 4(%esi), %ebx
73 adcl %ebx, %eax
74 movl 8(%esi), %ebx
75 adcl %ebx, %eax
76 movl 12(%esi), %ebx
77 adcl %ebx, %eax
78 movl 16(%esi), %ebx
[all …]
/Linux-v5.4/arch/x86/kernel/cpu/
Dvmware.c51 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument
53 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
59 #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \ argument
61 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
67 #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \ argument
69 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
75 #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ argument
78 VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \
81 VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \
84 VMWARE_PORT(cmd, eax, ebx, ecx, edx); \
[all …]
Dtopology.c26 #define LEVEL_MAX_SIBLINGS(ebx) ((ebx) & 0xffff) argument
37 unsigned int eax, ebx, ecx, edx; in check_extended_topology_leaf() local
39 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in check_extended_topology_leaf()
41 if (ebx == 0 || (LEAFB_SUBTYPE(ecx) != SMT_TYPE)) in check_extended_topology_leaf()
68 unsigned int eax, ebx, ecx, edx; in detect_extended_topology_early() local
77 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology_early()
82 smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology_early()
95 unsigned int eax, ebx, ecx, edx, sub_index; in detect_extended_topology() local
108 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
110 core_level_siblings = smp_num_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology()
[all …]
/Linux-v5.4/sound/pci/au88x0/
Dau88x0_eq.c102 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-v5.4/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 .Lrelocated(%ebx), %eax
218 leal _bss(%ebx), %edi
[all …]
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c89 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
95 eax, ebx, ecx, edx, si, di); in vmw_open_channel()
118 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
128 eax, ebx, ecx, edx, si, di); in vmw_close_channel()
148 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_out() local
163 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out()
165 return ebx; in vmw_port_hb_out()
184 eax, ebx, ecx, edx, si, di); in vmw_port_hb_out()
203 unsigned long si, di, eax, ebx, ecx, edx; in vmw_port_hb_in() local
216 eax, ebx, ecx, edx, si, di); in vmw_port_hb_in()
[all …]
Dvmwgfx_msg.h59 eax, ebx, ecx, edx, si, di) \ argument
63 "=b"(ebx), \
103 eax, ebx, ecx, edx, si, di) \ argument
110 "=b"(ebx), \
128 eax, ebx, ecx, edx, si, di) \ argument
135 "=b"(ebx), \
162 eax, ebx, ecx, edx, si, di) \ argument
171 "=b"(ebx), \
189 eax, ebx, ecx, edx, si, di) \ argument
198 "=b"(ebx), \
/Linux-v5.4/arch/x86/kernel/
Drelocate_kernel_32.S42 pushl %ebx
59 movl 20+4(%esp), %ebx /* page_list */
76 movl %ebx, CP_PA_BACKUP_PAGES_MAP(%edi)
136 pushl %ebx
157 xorl %ebx, %ebx
174 popl %ebx
175 subl $(1b - relocate_kernel), %ebx
176 movl CP_VA_CONTROL_PAGE(%ebx), %edi
177 lea PAGE_SIZE(%ebx), %esp
178 movl CP_PA_SWAP_PAGE(%ebx), %eax
[all …]
/Linux-v5.4/drivers/cpufreq/
Dspeedstep-lib.c257 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-v5.4/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.h131 u32 eax, ebx, ecx, edx; member
197 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument
203 "=b" (*ebx), in native_cpuid()
213 unsigned int eax = op, ebx, ecx = 0, edx; \
215 native_cpuid(&eax, &ebx, &ecx, &edx); \
224 native_cpuid_reg(ebx) in native_cpuid_reg() argument
590 unsigned int *eax, unsigned int *ebx, in cpuid() argument
595 __cpuid(eax, ebx, ecx, edx); in cpuid()
600 unsigned int *eax, unsigned int *ebx, in cpuid_count() argument
605 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
[all …]
/Linux-v5.4/arch/x86/kvm/
Dcpuid.c35 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local
36 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
37 offset = compacted ? ret : ebx; in xstate_required_size()
112 vcpu->arch.guest_xstate_size = best->ebx = in kvm_update_cpuid()
118 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in kvm_update_cpuid()
223 vcpu->arch.cpuid_entries[i].ebx = cpuid_entries[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
297 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid()
384 entry->ebx &= kvm_cpuid_7_0_ebx_x86_features; in do_cpuid_7_mask()
385 cpuid_mask(&entry->ebx, CPUID_7_0_EBX); in do_cpuid_7_mask()
387 entry->ebx |= F(TSC_ADJUST); in do_cpuid_7_mask()
[all …]
/Linux-v5.4/arch/x86/boot/
Dpmjump.S27 xorl %ebx, %ebx
29 shll $4, %ebx
30 addl %ebx, 2f
58 addl %ebx, %esp
67 xorl %ebx, %ebx

1234567