forked from Bananymous/banan-os
Kernel/userspace: rework floating point math
SSE is now unconditionally enabled any where and most of math.h is now actually implemented. using __builtin_<func> lead to many hangs where the builtin function would just call itself.
This commit is contained in:
@@ -21,9 +21,4 @@ foreach(project ${USERSPACE_TESTS})
|
||||
target_link_options(${project} PRIVATE -nolibc)
|
||||
# Default compile options
|
||||
target_compile_options(${project} PRIVATE -g -O2)
|
||||
|
||||
target_compile_definitions(${project} PRIVATE __enable_sse=${BANAN_ENABLE_SSE})
|
||||
if (NOT BANAN_ENABLE_SSE)
|
||||
target_compile_options(${project} PRIVATE -mno-sse -mno-sse2)
|
||||
endif ()
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user