Lines Matching full:hi

3 M68000 Hi-Performance Microprocessor Division
75 # 0x8(sp) = hi(dividend) #
138 mov.l 0xc(%a6), %d5 # get dividend hi
155 tst.l %d5 # chk sign of hi(dividend)
165 # - is (hi(dividend) == 0 && (divisor <= lo(dividend))) ? (32-bit div)
167 tst.l %d5 # is (hi(dividend) == 0)
186 # - is hi(dividend) >= divisor ? if yes, then overflow
243 mov.l 0xc(%a6), %d5 # get dividend hi
449 # returns 64 bit result in %d5 (hi) %d6(lo).
452 # multiply hi,lo words of each factor to get 4 intermediate products
528 # | hi(mplier) * hi(mplicand)| #
531 # | hi(mplier) * lo(mplicand) | #
534 # | lo(mplier) * hi(mplicand) | #
541 # | hi(result) | lo(result) | #
549 swap %d3 # hi(mr) in lo d3
550 swap %d4 # hi(md) in lo d4
554 mulu.w %d3,%d1 # [2] hi(mr) * lo(md)
555 mulu.w %d4,%d2 # [3] lo(mr) * hi(md)
556 mulu.w %d4,%d3 # [4] hi(mr) * hi(md)
558 # add lo portions of [2],[3] to hi portion of [1].
562 swap %d0 # hi([1]) <==> lo([1])
563 add.w %d1,%d0 # hi([1]) + lo([2])
565 add.w %d2,%d0 # hi([1]) + lo([3])
567 swap %d0 # lo([1]) <==> hi([1])
570 # now, clear lo, put hi in lo reg, and add to [4]
572 clr.w %d2 # clear hi([3])
573 swap %d1 # hi([2]) in lo d1
574 swap %d2 # hi([3]) in lo d2
575 add.l %d2,%d1 # [4] + hi([2])
576 add.l %d3,%d1 # [4] + hi([3])
654 # | hi(mplier) * hi(mplicand)| #
657 # | hi(mplier) * lo(mplicand) | #
660 # | lo(mplier) * hi(mplicand) | #
667 # | hi(result) | lo(result) | #
675 swap %d3 # hi(mr) in lo d3
676 swap %d4 # hi(md) in lo d4
680 mulu.w %d3,%d1 # [2] hi(mr) * lo(md)
681 mulu.w %d4,%d2 # [3] lo(mr) * hi(md)
682 mulu.w %d4,%d3 # [4] hi(mr) * hi(md)
684 # add lo portions of [2],[3] to hi portion of [1].
688 swap %d0 # hi([1]) <==> lo([1])
689 add.w %d1,%d0 # hi([1]) + lo([2])
691 add.w %d2,%d0 # hi([1]) + lo([3])
693 swap %d0 # lo([1]) <==> hi([1])
696 # now, clear lo, put hi in lo reg, and add to [4]
698 clr.w %d2 # clear hi([3])
699 swap %d1 # hi([2]) in lo d1
700 swap %d2 # hi([3]) in lo d2
701 add.l %d2,%d1 # [4] + hi([2])
702 add.l %d3,%d1 # [4] + hi([3])
712 not.l %d1 # negate hi(result) bits
714 addx.l %d4,%d1 # add carry to hi(result)
804 extb.l %d1 # sign extend hi bnd
823 ext.l %d1 # sign extend hi bnd
858 extb.l %d1 # sign extend hi bnd
881 ext.l %d1 # sign extend hi bnd
906 # (2) save 'Z' and 'N' bits from ((hi - lo) - (Rn - hi))
914 sub.l %d0, %d1 # (hi - lo)
915 cmp.l %d1,%d2 # ((hi - lo) - (Rn - hi))