Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index bfca9b36506e7b7a2b6548dd988eef649a549627..5231f4ae4be4e7050c5bed137ec464be6b96e774 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -602,7 +602,7 @@ MemOperand MacroAssembler::SafepointRegistersAndDoublesSlot(Register reg) { |
void MacroAssembler::CanonicalizeNaN(const DoubleRegister dst, |
const DoubleRegister src) { |
// Turn potential sNaN into qNaN. |
- fadd(dst, src, kDoubleRegZero); |
+ fsub(dst, src, kDoubleRegZero); |
} |