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

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

Issue 1409143002: PPC: Implement Popcnt operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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 9ea1dc05a8daef98a0592d38adf11111d66baca4..cc487ac86d8e5a7154f397e146c00e53917a5a35 100644
--- a/src/ppc/disasm-ppc.cc
+++ b/src/ppc/disasm-ppc.cc
@@ -609,6 +609,10 @@ void Decoder::DecodeExt2(Instruction* instr) {
Format(instr, "stfdux 'rs, 'ra, 'rb");
return;
}
+ case POPCNTW: {
+ Format(instr, "popcntw 'ra, 'rs");
+ return;
+ }
}
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