Searched refs:tbu0 (Results 1 – 3 of 3) sorted by relevance
72 unsigned int tbl, tbu0, tbu1; in get_cpu_clock() local77 tbu0 = mfspr(SPRN_ATBU); in get_cpu_clock()81 tbu0 = mfspr(SPRN_TBRU); in get_cpu_clock()85 } while (tbu0 != tbu1); in get_cpu_clock()87 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()
87 int64_t tbl, tbu0, tbu1; in Now()88 asm("mftbu %0" : "=r"(tbu0)); in Now()91 tbl &= -static_cast<int64_t>(tbu0 == tbu1); in Now()