Bug 1279524: Implement dummy copysign on MIPS; r?jonco draft
authorBenjamin Bouvier <benj@benj.me>
Fri, 10 Jun 2016 16:58:34 +0200
changeset 377521 77fae7ad12a9bb3896ee5cd373aebbcc0b9861c3
parent 377479 28bfa4fe563397ff2ec1c7cc14c11b3631e90474
child 523368 a413716715b9f1f5620bb690103f0c53b5d77672
push id20811
push userbenj@benj.me
push dateFri, 10 Jun 2016 14:59:21 +0000
reviewersjonco
bugs1279524
milestone50.0a1
Bug 1279524: Implement dummy copysign on MIPS; r?jonco DONTBUILD MozReview-Commit-ID: 1ADS4Sh9yl6
js/src/jit/mips-shared/Lowering-mips-shared.cpp
js/src/jit/mips-shared/Lowering-mips-shared.h
--- a/js/src/jit/mips-shared/Lowering-mips-shared.cpp
+++ b/js/src/jit/mips-shared/Lowering-mips-shared.cpp
@@ -577,16 +577,22 @@ LIRGeneratorMIPSShared::visitAtomicTyped
                                                    /* valueTemp= */ temp(), /* offsetTemp= */ temp(),
                                                    /* maskTemp= */ temp());
     define(lir, ins);
 }
 
 void
 LIRGeneratorMIPSShared::visitWasmTruncateToInt64(MWasmTruncateToInt64* ins)
 {
-    MOZ_CRASH("NY");
+    MOZ_CRASH("NYI");
 }
 
 void
 LIRGeneratorMIPSShared::visitInt64ToFloatingPoint(MInt64ToFloatingPoint* ins)
 {
-    MOZ_CRASH("NY");
+    MOZ_CRASH("NYI");
 }
+
+void
+LIRGeneratorMIPSShared::visitCopySign(MCopySign* ins)
+{
+    MOZ_CRASH("NYI");
+}
--- a/js/src/jit/mips-shared/Lowering-mips-shared.h
+++ b/js/src/jit/mips-shared/Lowering-mips-shared.h
@@ -90,14 +90,15 @@ class LIRGeneratorMIPSShared : public LI
     void visitAsmJSLoadFuncPtr(MAsmJSLoadFuncPtr* ins);
     void visitStoreTypedArrayElementStatic(MStoreTypedArrayElementStatic* ins);
     void visitCompareExchangeTypedArrayElement(MCompareExchangeTypedArrayElement* ins);
     void visitAtomicExchangeTypedArrayElement(MAtomicExchangeTypedArrayElement* ins);
     void visitAtomicTypedArrayElementBinop(MAtomicTypedArrayElementBinop* ins);
     void visitSubstr(MSubstr* ins);
     void visitWasmTruncateToInt64(MWasmTruncateToInt64* ins);
     void visitInt64ToFloatingPoint(MInt64ToFloatingPoint* ins);
+    void visitCopySign(MCopySign* ins);
 };
 
 } // namespace jit
 } // namespace js
 
 #endif /* jit_mips_shared_Lowering_mips_shared_h */