Bug 1445658 - [MIPS32] Implement BaseCompiler::pop2xI64ForMulI64; r=lth
authordragan.mladjenovic <dragan.mladjenovic@rt-rk.com>
Wed, 14 Mar 2018 22:09:22 +0200
changeset 408156 93307191f758aafdda95cee611153b49c513fc23
parent 408155 bbc2321850f8d4c95bff6fe9d609bd0f0aba362b
child 408157 c32a186097a2f27ceb4e9e532bb00739309a61fd
push id100875
push userarchaeopteryx@coole-files.de
push dateWed, 14 Mar 2018 20:15:38 +0000
treeherdermozilla-inbound@c32a186097a2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslth
bugs1445658
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1445658 - [MIPS32] Implement BaseCompiler::pop2xI64ForMulI64; r=lth
js/src/wasm/WasmBaselineCompile.cpp
--- a/js/src/wasm/WasmBaselineCompile.cpp
+++ b/js/src/wasm/WasmBaselineCompile.cpp
@@ -4680,16 +4680,19 @@ class BaseCompiler final : public BaseCo
 #elif defined(JS_CODEGEN_X86)
         // As for x64, though edx is part of r0.
         need2xI32(specific.eax, specific.edx);
         *r1 = popI64();
         *r0 = popI64ToSpecific(specific.edx_eax);
         *temp = needI32();
 #elif defined(JS_CODEGEN_MIPS64)
         pop2xI64(r0, r1);
+#elif defined(JS_CODEGEN_MIPS32)
+        pop2xI64(r0, r1);
+        *temp = needI32();
 #elif defined(JS_CODEGEN_ARM)
         pop2xI64(r0, r1);
         *temp = needI32();
 #elif defined(JS_CODEGEN_ARM64)
         pop2xI64(r0, r1);
 #else
         MOZ_CRASH("BaseCompiler porting interface: pop2xI64ForMulI64");
 #endif