Skip to content

Commit

Permalink
Fixed missed #ifndef for __mips_soft_float (#442)
Browse files Browse the repository at this point in the history
Thank you!
  • Loading branch information
Knight-Ops authored and atgreen committed Nov 29, 2019
1 parent 98da256 commit 76c0cfe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mips/o32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76c0cfe

Please sign in to comment.