Commit 76c0cfea70f78586231d7994492396eebfb12d5f

Carl Hurd 2019-11-29T14:46:11

Fixed missed #ifndef for __mips_soft_float (#442) Thank you!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/mips/o32.S b/src/mips/o32.S
index 44e74cb..799139b 100644
--- a/src/mips/o32.S
+++ b/src/mips/o32.S
@@ -282,9 +282,11 @@ $LCFI12:
 	li	$13, 1		# FFI_O32
 	bne	$16, $13, 1f	# Skip fp save if FFI_O32_SOFT_FLOAT
 	
+#ifndef __mips_soft_float
 	# Store all possible float/double registers.
 	s.d	$f12, FA_0_0_OFF2($fp)
 	s.d	$f14, FA_1_0_OFF2($fp)
+#endif
 1:
 	# prepare arguments for ffi_closure_mips_inner_O32
 	REG_L	a0, 4($15)	 # cif