[libcxx-commits] [PATCH] D89506: [benchmark][PowerPC] Rename mftbl to mftb

Steven Wan via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 4 10:56:06 PST 2020


stevewan updated this revision to Diff 302911.
stevewan added a comment.

Recover overwritten commits.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89506/new/

https://reviews.llvm.org/D89506

Files:
  libcxx/utils/google-benchmark/CONTRIBUTORS
  libcxx/utils/google-benchmark/README.LLVM
  libcxx/utils/google-benchmark/src/cycleclock.h
  llvm/utils/benchmark/CONTRIBUTORS
  llvm/utils/benchmark/README.LLVM
  llvm/utils/benchmark/src/cycleclock.h


Index: llvm/utils/benchmark/src/cycleclock.h
===================================================================
--- llvm/utils/benchmark/src/cycleclock.h
+++ llvm/utils/benchmark/src/cycleclock.h
@@ -92,7 +92,7 @@
   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<int32_t>(tbu0 == tbu1);
Index: llvm/utils/benchmark/README.LLVM
===================================================================
--- llvm/utils/benchmark/README.LLVM
+++ llvm/utils/benchmark/README.LLVM
@@ -35,3 +35,5 @@
   fixes formatting issues introduced by the preceding change.
 * https://github.com/google/benchmark/commit/ffe1342eb2faa7d2e7c35b4db2ccf99fab81ec20
   is applied to add the CycleTimer implementation for M680x0
+* https://github.com/google/benchmark/commit/d9abf017632be4a00b92cf4289539b353fcea5d2
+  is applied to rename 'mftbl' to 'mftb'.
Index: llvm/utils/benchmark/CONTRIBUTORS
===================================================================
--- llvm/utils/benchmark/CONTRIBUTORS
+++ llvm/utils/benchmark/CONTRIBUTORS
@@ -58,6 +58,7 @@
 Robert Guo <robert.guo at mongodb.com>
 Roman Lebedev <lebedev.ri at gmail.com>
 Shuo Chen <chenshuo at chenshuo.com>
+Steven Wan <wan.yu at ibm.com>
 Tobias Ulvgård <tobias.ulvgard at dirac.se>
 Tom Madams <tom.ej.madams at gmail.com> <tmadams at google.com>
 Yixuan Qiu <yixuanq at gmail.com>
Index: libcxx/utils/google-benchmark/src/cycleclock.h
===================================================================
--- libcxx/utils/google-benchmark/src/cycleclock.h
+++ libcxx/utils/google-benchmark/src/cycleclock.h
@@ -92,7 +92,7 @@
   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<int32_t>(tbu0 == tbu1);
Index: libcxx/utils/google-benchmark/README.LLVM
===================================================================
--- libcxx/utils/google-benchmark/README.LLVM
+++ libcxx/utils/google-benchmark/README.LLVM
@@ -24,3 +24,5 @@
   preceding change.
 * https://github.com/google/benchmark/commit/ffe1342eb2faa7d2e7c35b4db2ccf99fab81ec20
   is applied to add the CycleTimer implementation for M680x0
+* https://github.com/google/benchmark/commit/d9abf017632be4a00b92cf4289539b353fcea5d2
+  is applied to rename 'mftbl' to 'mftb'.
Index: libcxx/utils/google-benchmark/CONTRIBUTORS
===================================================================
--- libcxx/utils/google-benchmark/CONTRIBUTORS
+++ libcxx/utils/google-benchmark/CONTRIBUTORS
@@ -61,6 +61,7 @@
 Robert Guo <robert.guo at mongodb.com>
 Roman Lebedev <lebedev.ri at gmail.com>
 Shuo Chen <chenshuo at chenshuo.com>
+Steven Wan <wan.yu at ibm.com>
 Tobias Ulvgård <tobias.ulvgard at dirac.se>
 Tom Madams <tom.ej.madams at gmail.com> <tmadams at google.com>
 Yixuan Qiu <yixuanq at gmail.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89506.302911.patch
Type: text/x-patch
Size: 2935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201104/61ad9704/attachment.bin>


More information about the libcxx-commits mailing list