Index: MicroBenchmarks/libs/benchmark-1.3.0/AUTHORS =================================================================== --- MicroBenchmarks/libs/benchmark-1.3.0/AUTHORS +++ MicroBenchmarks/libs/benchmark-1.3.0/AUTHORS @@ -39,3 +39,4 @@ Yixuan Qiu Yusuke Suzuki Zbigniew Skowron +Min-Yih Hsu Index: MicroBenchmarks/libs/benchmark-1.3.0/CONTRIBUTORS =================================================================== --- MicroBenchmarks/libs/benchmark-1.3.0/CONTRIBUTORS +++ MicroBenchmarks/libs/benchmark-1.3.0/CONTRIBUTORS @@ -59,3 +59,4 @@ Yixuan Qiu Yusuke Suzuki Zbigniew Skowron +Min-Yih Hsu Index: MicroBenchmarks/libs/benchmark-1.3.0/README.llvm =================================================================== --- MicroBenchmarks/libs/benchmark-1.3.0/README.llvm +++ MicroBenchmarks/libs/benchmark-1.3.0/README.llvm @@ -18,3 +18,5 @@ are applied on top of v1.3.0 to fix timestamp-related inline asm issues and 32-bit RISC-V build failures. The second cherrypicked commit fixes formatting issues introduced by the first one. +* https://github.com/google/benchmark/commit/ffe1342eb2faa7d2e7c35b4db2ccf99fab81ec20 + is applited on top of v1.3.0 to add the CycleTimer implementation for M680x0 Index: MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h =================================================================== --- MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h +++ MicroBenchmarks/libs/benchmark-1.3.0/src/cycleclock.h @@ -161,7 +161,7 @@ struct timeval tv; gettimeofday(&tv, nullptr); return static_cast(tv.tv_sec) * 1000000 + tv.tv_usec; -#elif defined(__mips__) +#elif defined(__mips__) || defined(__m68k__) // mips apparently only allows rdtsc for superusers, so we fall // back to gettimeofday. It's possible clock_gettime would be better. struct timeval tv;