mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:05:48 +00:00
[MSVCRTEX] Add some floating point functions for CLang build
Clang makes optimisations requiring functions not present in msvcrt
This commit is contained in:
parent
3936c3f19e
commit
15c9f63b65
2 changed files with 47 additions and 0 deletions
|
@ -58,6 +58,15 @@ if(ARCH STREQUAL "i386")
|
|||
math/i386/cipow.c
|
||||
math/i386/cisin.c
|
||||
math/i386/cisqrt.c)
|
||||
if (GCC AND CLANG)
|
||||
# CLang performs some optimisations requiring those funtions
|
||||
list(APPEND MSVCRTEX_ASM_SOURCE
|
||||
math/i386/ceilf.S
|
||||
math/i386/exp2_asm.s
|
||||
math/i386/floorf.S)
|
||||
list(APPEND MSVCRTEX_SOURCE
|
||||
math/i386/sqrtf.c)
|
||||
endif()
|
||||
elseif(ARCH STREQUAL "amd64")
|
||||
list(APPEND MSVCRTEX_ASM_SOURCE
|
||||
except/amd64/chkstk_ms.s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue