Home | History | Annotate | Download | only in sparc

Lines Matching defs:dividend

47  * Input: dividend and divisor in %o0 and %o1 respectively.
64 * R the remainder so far, initially the dividend
71 * Current estimate for non-large dividend is
73 * A large dividend is one greater than 2^(31-TOPBITS) and takes a
83 define(dividend, `%o0')
133 orcc divisor, dividend, %g0 ! either negative?
136 `xor divisor, dividend, SIGN',
137 `mov dividend, SIGN') ! compute sign in any case
140 tst dividend
141 ! divisor is definitely negative; dividend might also be negative
142 bge 2f ! if dividend not negative...
144 1: ! dividend is negative, divisor is nonnegative
145 neg dividend ! make dividend nonnegative
151 mov dividend, R
160 cmp R, V ! if divisor exceeds dividend, done
168 ! `Here the dividend is >= 2^(31-N) or so. We must be careful here,