You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
744 B

  1. From 76c0cfea70f78586231d7994492396eebfb12d5f Mon Sep 17 00:00:00 2001
  2. From: Carl Hurd <carl.m.hurd@gmail.com>
  3. Date: Fri, 29 Nov 2019 14:46:11 -0500
  4. Subject: [PATCH] Fixed missed #ifndef for __mips_soft_float (#442)
  5. Thank you!
  6. ---
  7. src/mips/o32.S | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/src/mips/o32.S b/src/mips/o32.S
  10. index 44e74cb9..799139b2 100644
  11. --- a/src/mips/o32.S
  12. +++ b/src/mips/o32.S
  13. @@ -282,9 +282,11 @@ $LCFI12:
  14. li $13, 1 # FFI_O32
  15. bne $16, $13, 1f # Skip fp save if FFI_O32_SOFT_FLOAT
  16. +#ifndef __mips_soft_float
  17. # Store all possible float/double registers.
  18. s.d $f12, FA_0_0_OFF2($fp)
  19. s.d $f14, FA_1_0_OFF2($fp)
  20. +#endif
  21. 1:
  22. # prepare arguments for ffi_closure_mips_inner_O32
  23. REG_L a0, 4($15) # cif