mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
[libc] Disable sqrtl_test on non-x86 platforms.
The added comment explains why it has been disabled for now. We will enable back when we fix the problem.
This commit is contained in:
parent
04570e98c8
commit
74c87a363f
@ -924,18 +924,26 @@ add_fp_unittest(
|
||||
libc.utils.FPUtil.fputil
|
||||
)
|
||||
|
||||
add_fp_unittest(
|
||||
sqrtl_test
|
||||
NEED_MPFR
|
||||
SUITE
|
||||
libc_math_unittests
|
||||
SRCS
|
||||
sqrtl_test.cpp
|
||||
DEPENDS
|
||||
libc.include.math
|
||||
libc.src.math.sqrtl
|
||||
libc.utils.FPUtil.fputil
|
||||
)
|
||||
# The quad precision test for sqrt against MPFR currently suffers
|
||||
# from insufficient precision in MPFR calculations leading to
|
||||
# https://hal.archives-ouvertes.fr/hal-01091186/document. We will
|
||||
# renable after fixing the precision issue.
|
||||
if(${LIBC_TARGET_MACHINE} MATCHES "x86_64")
|
||||
add_fp_unittest(
|
||||
sqrtl_test
|
||||
NEED_MPFR
|
||||
SUITE
|
||||
libc_math_unittests
|
||||
SRCS
|
||||
sqrtl_test.cpp
|
||||
DEPENDS
|
||||
libc.include.math
|
||||
libc.src.math.sqrtl
|
||||
libc.utils.FPUtil.fputil
|
||||
)
|
||||
else()
|
||||
message(STATUS "Skipping sqrtl_test")
|
||||
endif()
|
||||
|
||||
add_fp_unittest(
|
||||
remquof_test
|
||||
|
Loading…
Reference in New Issue
Block a user