Searched refs:tbu1 (Results 1 – 2 of 2) sorted by relevance
66 unsigned int tbl, tbu0, tbu1; in get_cpu_clock() local73 tbu1 = mfspr(SPRN_ATBU); in get_cpu_clock()77 tbu1 = mfspr(SPRN_TBRU); in get_cpu_clock()79 } while (tbu0 != tbu1); in get_cpu_clock()
78 int64_t tbl, tbu0, tbu1; in Now()81 asm("mftbu %0" : "=r"(tbu1)); in Now()82 tbl &= -static_cast<int64>(tbu0 == tbu1); in Now()84 return (tbu1 << 32) | tbl; in Now()