Skip to content

Commit 9f70a79

Browse files
resistordavidchisnall
authored andcommitted
Set __SOFTFP__ in order to use soft expansions for higher-level FP operations in our soft-float library.
This both gets us better expansions, and is more compatible for the f64-in-cap-registers change.
1 parent d844cd5 commit 9f70a79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/lib/softfloat/xmake.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ function softfloat_library(size, name)
99
set_default(false)
1010
add_cxflags("-include " .. softfloatheader)
1111
add_files("../../third_party/compiler-rt/fp_mode.c")
12+
add_defines("__SOFTFP__")
1213
end
1314

1415
function softfloat_op_library(op)

0 commit comments

Comments
 (0)