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