Lines Matching refs:d1
298 clr.l %d1
305 mov.w %d5, %d1 # first quotient word
311 swap %d1
312 mov.w %d5, %d1 # 2nd quotient 'digit'
315 mov.l %d1, %d6 # and quotient
329 clr.l %d1 # %d1 will hold trial quotient
348 mov.w &0xffff, %d1 # use max trial quotient word
351 mov.l %d5, %d1
353 divu.w %d3, %d1 # use quotient of mslw/msw
355 andi.l &0x0000ffff, %d1 # zero any remainder
365 mov.l %d1, %d2
368 mulu.w %d1, %d3 # V1q
384 subq.l &0x1, %d1 # yes, decrement and recheck
390 mov.l %d1, %d6
401 subq.l &0x1, %d1 # q is one too large
420 mov.w %d1, DDQUOTIENT(%a6)
421 clr.l %d1
430 mov.w %d1, DDQUOTIENT+2(%a6)
522 mov.l 0xc(%a6),%d1 # get multiplicand in d1
548 mov.l %d1,%d4 # md in d4
553 mulu.w %d1,%d0 # [1] lo(mr) * lo(md)
554 mulu.w %d3,%d1 # [2] hi(mr) * lo(md)
563 add.w %d1,%d0 # hi([1]) + lo([2])
571 clr.w %d1 # clear lo([2])
573 swap %d1 # hi([2]) in lo d1
575 add.l %d2,%d1 # [4] + hi([2])
576 add.l %d3,%d1 # [4] + hi([3])
582 tst.l %d1 # may set 'N' bit
588 # here, the result is in d1 and d0. the current strategy is to save
592 exg %d1,%d0
607 clr.l %d1
633 mov.l 0xc(%a6),%d1 # get multiplicand in d1
645 tst.l %d1 # is multiplicand negative?
647 neg.l %d1 # make multiplicand positive
674 mov.l %d1,%d4 # md in d4
679 mulu.w %d1,%d0 # [1] lo(mr) * lo(md)
680 mulu.w %d3,%d1 # [2] hi(mr) * lo(md)
689 add.w %d1,%d0 # hi([1]) + lo([2])
697 clr.w %d1 # clear lo([2])
699 swap %d1 # hi([2]) in lo d1
701 add.l %d2,%d1 # [4] + hi([2])
702 add.l %d3,%d1 # [4] + hi([3])