void-packages/srcpkgs/mozjs17/patches/mips.patch

19 lines
887 B
Diff

--- js/src/assembler/assembler/MacroAssemblerMIPS.h 2013-02-11 23:33:22.000000000 +0100
+++ js/src/assembler/assembler/MacroAssemblerMIPS.h 2017-11-09 11:16:28.215891360 +0100
@@ -2335,6 +2335,7 @@
m_assembler.lwc1(dest, addrTempRegister, address.offset);
m_assembler.lwc1(FPRegisterID(dest + 1), addrTempRegister, address.offset + 4);
} else {
+ /*
sll addrTemp, address.index, address.scale
addu addrTemp, addrTemp, address.base
li immTemp, address.offset
@@ -2349,6 +2350,7 @@
immTempRegister);
m_assembler.lwc1(dest, addrTempRegister, 0);
m_assembler.lwc1(FPRegisterID(dest + 1), addrTempRegister, 4);
+ }
#else
if (address.offset >= -32768 && address.offset <= 32767
&& !m_fixedWidth) {