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.

24 lines
667 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. --- a/src/mips/o32.S
  10. +++ b/src/mips/o32.S
  11. @@ -282,9 +282,11 @@ $LCFI12:
  12. li $13, 1 # FFI_O32
  13. bne $16, $13, 1f # Skip fp save if FFI_O32_SOFT_FLOAT
  14. +#ifndef __mips_soft_float
  15. # Store all possible float/double registers.
  16. s.d $f12, FA_0_0_OFF2($fp)
  17. s.d $f14, FA_1_0_OFF2($fp)
  18. +#endif
  19. 1:
  20. # prepare arguments for ffi_closure_mips_inner_O32
  21. REG_L a0, 4($15) # cif