[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 11:24:01 PST 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG296c2f31f0c5: [PowerPC] Rename mftbl to mftb (authored by stevewan).

Changed prior to commit:
  https://reviews.llvm.org/D89506?vs=302911&id=302921#toc

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/src/cycleclock.h
  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: 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);


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


More information about the libcxx-commits mailing list