From fef203bd021bad019421abf5785a4ae89bd6ea15 Mon Sep 17 00:00:00 2001 From: guray Date: Mon, 30 Jan 2017 21:50:21 +0100 Subject: [PATCH] Fix typename for powerpc (#337) --- src/cycleclock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cycleclock.h b/src/cycleclock.h index e4825d4b..ca26cca9 100644 --- a/src/cycleclock.h +++ b/src/cycleclock.h @@ -79,7 +79,7 @@ inline BENCHMARK_ALWAYS_INLINE int64_t Now() { asm("mftbu %0" : "=r"(tbu0)); asm("mftb %0" : "=r"(tbl)); asm("mftbu %0" : "=r"(tbu1)); - tbl &= -static_cast(tbu0 == tbu1); + tbl &= -static_cast(tbu0 == tbu1); // high 32 bits in tbu1; low 32 bits in tbl (tbu0 is garbage) return (tbu1 << 32) | tbl; #elif defined(__sparc__)