Home
last modified time | relevance | path

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

12345678

/linux-6.6.21/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-6.6.21/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 …]
Dcsum-copy_64.S154 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-6.6.21/arch/x86/include/asm/
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 …]
/linux-6.6.21/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-6.6.21/arch/x86/kernel/cpu/
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 …]
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 …]
/linux-6.6.21/arch/x86/boot/compressed/
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 …]
Defi_mixed.S96 movl %ebx, 0x18(%rsp)
127 movl %ebx, %ss
129 movl %ebx, %es
131 movl %ebx, %ds
133 xorl %ebx, %ebx
134 movl %ebx, %fs
135 movl %ebx, %gs
204 lidtl 16(%ebx)
205 lgdtl (%ebx)
247 1: pop %ebx
[all …]
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 …]
/linux-6.6.21/arch/x86/kernel/
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 …]
/linux-6.6.21/drivers/gpu/drm/vmwgfx/
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), \
Dvmwgfx_msg_arm64.h51 unsigned long *eax, unsigned long *ebx, in vmw_port() argument
73 *ebx = x1; in vmw_port()
84 unsigned long *eax, unsigned long *ebx, in vmw_port_hb() argument
106 *ebx = x1; in vmw_port_hb()
113 #define VMW_PORT(cmd, in_ebx, in_si, in_di, flags, magic, eax, ebx, ecx, edx, \ argument
115 vmw_port(cmd, in_ebx, in_si, in_di, flags, magic, &eax, &ebx, &ecx, \
118 #define VMW_PORT_HB_OUT(cmd, in_ecx, in_si, in_di, flags, magic, bp, eax, ebx, \ argument
121 0, &eax, &ebx, &ecx, &edx, &si, &di)
123 #define VMW_PORT_HB_IN(cmd, in_ecx, in_si, in_di, flags, magic, bp, eax, ebx, \ argument
126 X86_IO_W7_DIR, &eax, &ebx, &ecx, &edx, &si, &di)
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
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()
/linux-6.6.21/arch/x86/kvm/
Dcpuid.c47 u32 eax, ebx, ecx, edx, offset; in xstate_required_size() local
48 cpuid_count(0xD, feature_bit, &eax, &ebx, &ecx, &edx); in xstate_required_size()
53 offset = ebx; in xstate_required_size()
184 e2[i].eax != orig->eax || e2[i].ebx != orig->ebx || in kvm_cpuid_check_equal()
205 signature[0] = entry->ebx; in kvm_get_hypervisor_cpuid()
288 best->ebx = xstate_required_size(vcpu->arch.xcr0, false); in __kvm_update_cpuid_runtime()
293 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in __kvm_update_cpuid_runtime()
483 e2[i].ebx = e[i].ebx; in kvm_vcpu_ioctl_set_cpuid()
550 &entry.eax, &entry.ebx, &entry.ecx, &entry.edx); in __kvm_cpu_cap_mask()
854 &entry->eax, &entry->ebx, &entry->ecx, &entry->edx); in do_host_cpuid()
[all …]

12345678