Home | History | Annotate | Download | only in i386

Lines Matching full:ebx

54 	pushl		%ebx
55 movl 24(%esp), %ebx // Find the index i of the leading bit in b.
56 bsrl %ebx, %ecx // If the high word of b is zero, jump to
66 shll %cl, %ebx // (low word of b) >> (1 + i)
67 orl %eax, %ebx //
70 cmpl %ebx, %edx // to avoid overflowing the upcoming divide.
75 divl %ebx // eax <-- qs, edx <-- r such that ahi:alo = bs*qs + r
83 movl 16(%esp), %ebx
84 movl 20(%esp), %ecx // ECX:EBX = a
85 subl %eax, %ebx
86 sbbl %edx, %ecx // ECX:EBX = a - q*blo
89 subl %eax, %ecx // ECX:EBX = a - q*b
99 popl %ebx
106 subl %ebx, %edx // subtract bhi from ahi so that divide will not
107 divl %ebx // overflow, and find q and r such that
121 movl 16(%esp), %ebx
122 movl 20(%esp), %ecx // ECX:EBX = a
123 subl %eax, %ebx
124 sbbl %edx, %ecx // ECX:EBX = a - q*blo
127 subl %eax, %ecx // ECX:EBX = a - q*b
137 popl %ebx
148 movl %eax, %ebx //
151 movl %ebx, %edx // rhi:alo = qlo*b + rlo with 0 ? rlo < b
157 popl %ebx // Restore callee-save registers