Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Unified Diff: src/ppc/disasm-ppc.cc

Issue 1413833013: PPC64: Implemented the Word64Popcnt TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ppc/constants-ppc.h ('k') | src/ppc/simulator-ppc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ppc/disasm-ppc.cc
diff --git a/src/ppc/disasm-ppc.cc b/src/ppc/disasm-ppc.cc
index cc487ac86d8e5a7154f397e146c00e53917a5a35..7e869770c1ea438c500d1cff612713383b184a9c 100644
--- a/src/ppc/disasm-ppc.cc
+++ b/src/ppc/disasm-ppc.cc
@@ -613,6 +613,12 @@ void Decoder::DecodeExt2(Instruction* instr) {
Format(instr, "popcntw 'ra, 'rs");
return;
}
+#if V8_TARGET_ARCH_PPC64
+ case POPCNTD: {
+ Format(instr, "popcntd 'ra, 'rs");
+ return;
+ }
+#endif
}
switch (instr->Bits(10, 2) << 2) {
« no previous file with comments | « src/ppc/constants-ppc.h ('k') | src/ppc/simulator-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698