Lines Matching full:ebx
53 pushl %ebx
54 movl 24(%esp), %ebx // Find the index i of the leading bit in b.
55 bsrl %ebx, %ecx // If the high word of b is zero, jump to
65 shll %cl, %ebx // (low word of b) >> (1 + i)
66 orl %eax, %ebx //
69 cmpl %ebx, %edx // to avoid overflowing the upcoming divide.
74 divl %ebx // eax <-- qs, edx <-- r such that ahi:alo = bs*qs + r
82 movl 16(%esp), %ebx
83 movl 20(%esp), %ecx // ECX:EBX = a
84 subl %eax, %ebx
85 sbbl %edx, %ecx // ECX:EBX = a - q*blo
88 subl %eax, %ecx // ECX:EBX = a - q*b
91 addl 24(%esp), %ebx // otherwise
92 adcl 28(%esp), %ecx // ECX:EBX = a - (q-1)*b = result
93 1: movl %ebx, %eax
101 popl %ebx
107 subl %ebx, %edx // subtract bhi from ahi so that divide will not
108 divl %ebx // overflow, and find q and r such that
122 movl 16(%esp), %ebx
123 movl 20(%esp), %ecx // ECX:EBX = a
124 subl %eax, %ebx
125 sbbl %edx, %ecx // ECX:EBX = a - q*blo
128 subl %eax, %ecx // ECX:EBX = a - q*b
131 addl 24(%esp), %ebx // otherwise
132 adcl 28(%esp), %ecx // ECX:EBX = a - (q-1)*b = result
133 3: movl %ebx, %eax
141 popl %ebx
151 movl %eax, %ebx //
155 popl %ebx //