Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/arch/x86/math-emu/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/arch/x86/lib/
H A 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 …]
H A 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 …]
/openbmc/linux/arch/x86/include/asm/
H A Dcpuid.h12 u32 eax, ebx, ecx, edx; member
30 static inline void native_cpuid(unsigned int *eax, unsigned int *ebx, in native_cpuid() argument
36 "=b" (*ebx), in native_cpuid()
46 unsigned int eax = op, ebx, ecx = 0, edx; \
48 native_cpuid(&eax, &ebx, &ecx, &edx); \
57 native_cpuid_reg(ebx) in native_cpuid_reg() argument
73 unsigned int *eax, unsigned int *ebx, in native_cpuid_reg()
78 __cpuid(eax, ebx, ecx, edx); in native_cpuid_reg()
83 unsigned int *eax, unsigned int *ebx, in cpuid_count() argument
88 __cpuid(eax, ebx, ecx, edx); in cpuid_count()
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Dpvh.S69 mov %esp, %ebx
70 add %ebx, %ecx
77 mov (prot_jump), %ebx
78 add %eax, %ebx
79 movl %ebx, %gs:GS_PROT_JUMP
86 movl (gdt_desc+2), %ebx
87 add %eax, %ebx
88 movl %ebx, %gs:GS_GDT_DESC + 2
99 xor %ebx, %ebx
104 cmp $128, %ebx
[all …]
H A Dmultiboot.S46 mov %esp, %ebx
47 add %ebx, %ecx
54 mov (prot_jump), %ebx
55 add %eax, %ebx
56 movl %ebx, %gs:GS_PROT_JUMP
63 movl (gdt_desc+2), %ebx
64 add %eax, %ebx
65 movl %ebx, %gs:GS_GDT_DESC + 2
91 xor %ebx, %ebx
122 test %ebx, %ebx
[all …]
/openbmc/linux/sound/pci/au88x0/
H A 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 …]
/openbmc/linux/arch/x86/boot/compressed/
H A Defi_mixed.S103 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 Dhead_32.S86 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 Dmem_encrypt.S21 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 …]
/openbmc/linux/arch/x86/kernel/cpu/
H A 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 = max_t(int, 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
110 cpuid_count(leaf, SMT_LEVEL, &eax, &ebx, &ecx, &edx); in detect_extended_topology()
112 core_level_siblings = LEVEL_MAX_SIBLINGS(ebx); in detect_extended_topology()
[all …]
H A Dvmware.c60 #define VMWARE_PORT(cmd, eax, ebx, ecx, edx) \ argument
62 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
68 #define VMWARE_VMCALL(cmd, eax, ebx, ecx, edx) \ argument
70 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
76 #define VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx) \ argument
78 "=a"(eax), "=c"(ecx), "=d"(edx), "=b"(ebx) : \
84 #define VMWARE_CMD(cmd, eax, ebx, ecx, edx) do { \ argument
87 VMWARE_VMCALL(cmd, eax, ebx, ecx, edx); \
90 VMWARE_VMMCALL(cmd, eax, ebx, ecx, edx); \
93 VMWARE_PORT(cmd, eax, ebx, ecx, edx); \
[all …]
/openbmc/qemu/linux-user/i386/
H A Dvdso.S21 mov %ebx, %edx
22 .cfi_register %ebx, %edx
23 mov 4(%esp), %ebx
26 mov %edx, %ebx
35 mov %ebx, %edx
36 .cfi_register %ebx, %edx
37 mov 4(%esp), %ebx
41 mov %edx, %ebx
50 push %ebx
52 .cfi_rel_offset %ebx, 0
[all …]
/openbmc/linux/arch/x86/kernel/
H A Drelocate_kernel_32.S43 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 …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_msg_x86.h62 eax, ebx, ecx, edx, si, di) \ argument
66 "=b"(ebx), \
106 eax, ebx, ecx, edx, si, di) \ argument
117 "=b"(ebx), \
135 eax, ebx, ecx, edx, si, di) \ argument
146 "=b"(ebx), \
173 eax, ebx, ecx, edx, si, di) \ argument
182 "=b"(ebx), \
200 eax, ebx, ecx, edx, si, di) \ argument
209 "=b"(ebx), \
/openbmc/linux/arch/x86/kvm/
H A Dcpuid.c41 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()
309 best->ebx = xstate_required_size(vcpu->arch.xcr0, false); in __kvm_update_cpuid_runtime()
314 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in __kvm_update_cpuid_runtime()
505 e2[i].ebx = e[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
572 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in __kvm_cpu_cap_mask()
881 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dcpuid_test.c31 u32 eax, ebx, ecx, edx; in test_guest_cpuids() local
36 &eax, &ebx, &ecx, &edx); in test_guest_cpuids()
39 GUEST_ASSERT_EQ(ebx, guest_cpuid->entries[i].ebx); in test_guest_cpuids()
94 TEST_ASSERT(e1->eax == e2->eax && e1->ebx == e2->ebx && in compare_cpuids()
98 e1->eax, e1->ebx, e1->ecx, e1->edx, in compare_cpuids()
99 e2->eax, e2->ebx, e2->ecx, e2->edx); in compare_cpuids()
142 u32 eax, ebx, x; in set_cpuid_after_run() local
150 ebx = ent->ebx; in set_cpuid_after_run()
151 ent->ebx--; in set_cpuid_after_run()
154 ent->ebx = ebx; in set_cpuid_after_run()

1234567891011