Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index 3d99b06eb91efb400042fb2f456b1830ab6718f2..47d4f2b7dc6769e33ac5bbd018aabeb558f1014c 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -1076,6 +1076,14 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
#endif |
DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
break; |
+#if V8_TARGET_ARCH_PPC64 |
+ case kPPC_BitcastDL: |
+ __ mffprd(i.OutputRegister(), i.InputDoubleRegister(0)); |
+ break; |
+ case kPPC_BitcastLD: |
+ __ mtfprd(i.OutputDoubleRegister(), i.InputRegister(0)); |
+ break; |
+#endif |
case kPPC_LoadWordU8: |
ASSEMBLE_LOAD_INTEGER(lbz, lbzx); |
break; |