Lines Matching refs:l0
692 GET_NATIVE_TIME(%l0, %l3, %l6) ! current native time
693 stx %l0, [%l4 + %lo(hres_last_tick)]! prev = current
695 NATIVE_TIME_TO_NSEC_SCALE(%l0, %l5, %l2, NSEC_SHIFT)
697 sub %l0, %g1, %i1 ! get accurate nsec delta
700 cmp %l1, %l0
704 stx %l0, [%l4 + %lo(hrtime_base)] ! update hrtime_base
709 ldx [%l4 + %lo(hrestime_adj)], %l0 ! %l0 = hrestime_adj
710 brz %l0, 2f
714 tst %l0 ! is hrestime_adj >= 0 ?
718 addcc %l0, %l5, %g0 ! hrestime_adj < -adj ?
722 mov %l0, %l5 ! no, so set adj = hrestime_adj
724 subcc %l0, %l5, %g0 ! hrestime_adj < adj ?
726 mov %l0, %l5 ! delay: adj = hrestime_adj
728 ldx [%l4 + %lo(timedelta)], %l0 ! %l0 = timedelta
729 sub %l0, %l5, %l0 ! timedelta -= adj
731 stx %l0, [%l4 + %lo(timedelta)] ! store new timedelta
732 stx %l0, [%l4 + %lo(hrestime_adj)] ! hrestime_adj = timedelta