diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 802ce0dc..b5e1aa4f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -74,6 +74,7 @@ Robert Guo Roman Lebedev Sayan Bhattacharjee Shuo Chen +Steven Wan Tobias Ulvgård Tom Madams Yixuan Qiu diff --git a/src/cycleclock.h b/src/cycleclock.h index 77be7b92..89de86fa 100644 --- a/src/cycleclock.h +++ b/src/cycleclock.h @@ -92,7 +92,7 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() { uint32_t tbl, tbu0, tbu1; asm volatile( "mftbu %0\n" - "mftbl %1\n" + "mftb %1\n" "mftbu %2" : "=r"(tbu0), "=r"(tbl), "=r"(tbu1)); tbl &= -static_cast(tbu0 == tbu1);