Lines Matching refs:l0
538 GET_NATIVE_TIME(%l0,%l3,%l6,__LINE__) ! current native time
539 stx %l0, [%l4 + %lo(hres_last_tick)]! prev = current
541 NATIVE_TIME_TO_NSEC_SCALE(%l0, %l5, %l2, NSEC_SHIFT)
543 sub %l0, %g1, %i1 ! get accurate nsec delta
546 cmp %l1, %l0
550 stx %l0, [%l4 + %lo(hrtime_base)] ! update hrtime_base
555 ldx [%l4 + %lo(hrestime_adj)], %l0 ! %l0 = hrestime_adj
556 brz %l0, 2f
560 tst %l0 ! is hrestime_adj >= 0 ?
564 addcc %l0, %l5, %g0 ! hrestime_adj < -adj ?
568 mov %l0, %l5 ! no, so set adj = hrestime_adj
570 subcc %l0, %l5, %g0 ! hrestime_adj < adj ?
572 mov %l0, %l5 ! delay: adj = hrestime_adj
574 ldx [%l4 + %lo(timedelta)], %l0 ! %l0 = timedelta
575 sub %l0, %l5, %l0 ! timedelta -= adj
577 stx %l0, [%l4 + %lo(timedelta)] ! store new timedelta
578 stx %l0, [%l4 + %lo(hrestime_adj)] ! hrestime_adj = timedelta