2021-07-17 12:53:17 +00:00
|
|
|
|
|
|
|
list(APPEND LIBCNTPR_FLOAT_SOURCE
|
|
|
|
float/isnan.c
|
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND CRT_FLOAT_SOURCE
|
|
|
|
${LIBCNTPR_FLOAT_SOURCE}
|
|
|
|
float/chgsign.c
|
2023-08-06 06:50:39 +00:00
|
|
|
float/_controlfp_s.c
|
2021-07-17 12:53:17 +00:00
|
|
|
float/copysign.c
|
|
|
|
float/fpclass.c
|
|
|
|
float/fpecode.c
|
|
|
|
float/nafter.c
|
|
|
|
float/scalb.c
|
|
|
|
)
|
|
|
|
|
|
|
|
if(ARCH STREQUAL "i386")
|
|
|
|
list(APPEND CRT_FLOAT_SOURCE
|
|
|
|
float/i386/clearfp.c
|
|
|
|
float/i386/cntrlfp.c
|
|
|
|
float/i386/fpreset.c
|
|
|
|
float/i386/logb.c
|
|
|
|
float/i386/statfp.c
|
|
|
|
)
|
|
|
|
elseif(ARCH STREQUAL "amd64")
|
|
|
|
list(APPEND CRT_FLOAT_SOURCE
|
2022-07-13 18:27:42 +00:00
|
|
|
float/amd64/_clearfp.c
|
|
|
|
float/amd64/_control87.c
|
|
|
|
float/amd64/_controlfp.c
|
|
|
|
float/amd64/_fpreset.c
|
|
|
|
float/amd64/_statusfp.c
|
|
|
|
float/amd64/machfpcw.c
|
2021-07-17 12:53:17 +00:00
|
|
|
)
|
|
|
|
list(APPEND CRT_FLOAT_ASM_SOURCE
|
|
|
|
float/amd64/getsetfpcw.S
|
|
|
|
)
|
|
|
|
elseif(ARCH STREQUAL "arm")
|
2021-08-01 14:30:41 +00:00
|
|
|
list(APPEND CRT_FLOAT_SOURCE
|
|
|
|
float/arm/_clearfp.c
|
|
|
|
float/arm/_controlfp.c
|
|
|
|
float/arm/_fpreset.c
|
|
|
|
float/arm/_statusfp.c
|
|
|
|
)
|
2023-05-03 18:56:06 +00:00
|
|
|
list(APPEND LIBCNTPR_FLOAT_SOURCE
|
|
|
|
float/arm/_controlfp.c
|
|
|
|
)
|
2021-07-17 12:53:17 +00:00
|
|
|
list(APPEND CRT_FLOAT_ASM_SOURCE
|
2021-08-01 14:30:41 +00:00
|
|
|
float/arm/__getfp.s
|
|
|
|
float/arm/__setfp.s
|
2021-07-17 12:53:17 +00:00
|
|
|
)
|
2023-05-03 18:56:06 +00:00
|
|
|
list(APPEND LIBCNTPR_FLOAT_ASM_SOURCE
|
|
|
|
float/arm/__getfp.s
|
|
|
|
float/arm/__setfp.s
|
|
|
|
)
|
2021-07-17 12:53:17 +00:00
|
|
|
endif()
|