Index: src/ppc/macro-assembler-ppc.h |
diff --git a/src/ppc/macro-assembler-ppc.h b/src/ppc/macro-assembler-ppc.h |
index 6b7ef9402d6c5f4da66ad671d3635db2ee243d7b..9176431b189943db89d33aa529bc9bc5f2cae542 100644 |
--- a/src/ppc/macro-assembler-ppc.h |
+++ b/src/ppc/macro-assembler-ppc.h |
@@ -403,6 +403,15 @@ class MacroAssembler : public Assembler { |
const Register dst, const DoubleRegister double_dst, |
FPRoundingMode rounding_mode = kRoundToZero); |
+#if V8_TARGET_ARCH_PPC64 |
+ // Converts the double_input to an unsigned integer. Note that, upon return, |
+ // the contents of double_dst will also hold the fixed point representation. |
+ void ConvertDoubleToUnsignedInt64( |
+ const DoubleRegister double_input, const Register dst, |
+ const DoubleRegister double_dst, |
+ FPRoundingMode rounding_mode = kRoundToZero); |
+#endif |
+ |
// Generates function and stub prologue code. |
void StubPrologue(int prologue_offset = 0); |
void Prologue(bool code_pre_aging, int prologue_offset = 0); |