Lines Matching refs:d5
148 mov.l 0xc(%a6), %d5 # get dividend hi
165 tst.l %d5 # chk sign of hi(dividend)
171 negx.l %d5
177 tst.l %d5 # is (hi(dividend) == 0)
186 exg %d5,%d6 # q = 0, r = dividend
190 tdivu.l %d7, %d5:%d6 # it's only a 32/32 bit div!
197 cmp.l %d7,%d5
211 neg.l %d5 # sgn(rem) = sgn(dividend)
253 mov.l 0xc(%a6), %d5 # get dividend hi
285 # The most sig. longword of the 64 bit dividend must be in %d5, least #
288 # The quotient is returned in %d6, remainder in %d5, unless the #
309 swap %d5 # same as r*b if previous step rqd
311 mov.w %d6, %d5 # rb + u3
313 divu.w %d7, %d5
315 mov.w %d5, %d1 # first quotient word
317 mov.w %d6, %d5 # rb + u4
319 divu.w %d7, %d5
322 mov.w %d5, %d1 # 2nd quotient 'digit'
323 clr.w %d5
324 swap %d5 # now remainder
346 roxl.l &0x1, %d5 # shift u1,u2
353 mov.l %d5, %d2 # dividend mslw
361 mov.l %d5, %d1
379 mov.l %d5, %d4 # U1U2
399 mov.l %d5, -(%sp) # save %d5 (%d6 already saved)
402 mov.l %d7, %d5
404 mov.l %d5, %d2 # now %d2,%d3 are trial*divisor
406 mov.l (%sp)+, %d5 # restore dividend
409 subx.l %d2, %d5 # subtract double precision
420 addx.l %d2, %d5
424 add.l %d3, %d5
432 swap %d5
434 mov.w %d6, %d5
442 mov.w %d5, %d6
444 swap %d5
449 lsr.l &0x1, %d5 # shift into %d6
453 mov.l %d6, %d5 # remainder
458 # factors for the 32X32->64 multiplication are in %d5 and %d6.
459 # returns 64 bit result in %d5 (hi) %d6(lo).
465 mov.l %d5, %d4
468 mulu.w %d5, %d6 # %d6 <- lsw*lsw
469 mulu.w %d3, %d5 # %d5 <- msw-dest*lsw-source
475 add.w %d5, %d6 # add msw of l*l to lsw of m*l product
480 clr.w %d5
482 swap %d5 # now use msws of longwords
484 add.l %d2, %d5
485 add.l %d3, %d5 # %d5 now ms 32 bits of final product
634 movm.l &0x3c00,-(%sp) # save d2-d5
646 clr.b %d5 # clear sign tag
651 ori.b &0x1,%d5 # save multiplier sgn
659 eori.b &0x1,%d5 # calculate correct sign
714 tst.b %d5 # should result be signed?
744 movm.l (%sp)+,&0x003c # restore d2-d5