Index: src/ppc/assembler-ppc.cc |
diff --git a/src/ppc/assembler-ppc.cc b/src/ppc/assembler-ppc.cc |
index 5021b387913034bd22aff8b72d978fe5f87ee7a1..e2d258d61d845af63ff52833ce7c9a144ebb751e 100644 |
--- a/src/ppc/assembler-ppc.cc |
+++ b/src/ppc/assembler-ppc.cc |
@@ -1476,6 +1476,11 @@ void Assembler::cntlzd_(Register ra, Register rs, RCBit rc) { |
} |
+void Assembler::popcntd(Register ra, Register rs) { |
+ emit(EXT2 | POPCNTD | rs.code() * B21 | ra.code() * B16); |
+} |
+ |
+ |
void Assembler::mulld(Register dst, Register src1, Register src2, OEBit o, |
RCBit r) { |
xo_form(EXT2 | MULLD, dst, src1, src2, o, r); |