Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ option(SLEEF_BUILD_STATIC_TEST_BINS "Build statically linked test executables" O
option(SLEEF_ENABLE_LTO "Enable LTO on GCC or ThinLTO on clang" OFF)
option(SLEEF_BUILD_LIBM "libsleef will be built." ON)
option(SLEEF_BUILD_DFT "libsleefdft will be built." OFF)
option(SLEEF_BUILD_QUAD "libsleefquad will be built." ON)
option(SLEEF_BUILD_QUAD "libsleefquad will be built." OFF)
option(SLEEF_BUILD_GNUABI_LIBS "libsleefgnuabi will be built." ON)
option(SLEEF_BUILD_SCALAR_LIB "libsleefscalar will be built." OFF)
option(SLEEF_BUILD_TESTS "Tests will be built." ON)
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pipeline {
bat """
call "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"
if not %ERRORLEVEL% == 0 exit /b %ERRORLEVEL%
call "winbuild-clang.bat" -DCMAKE_BUILD_TYPE=Release -DSLEEF_SHOW_CONFIG=1 -DSLEEF_BUILD_DFT=True -DSLEEF_ENFORCE_DFT=TRUE -DSLEEF_BUILD_QUAD=TRUE -DSLEEF_ENFORCE_SSE2=TRUE -DSLEEF_ENFORCE_SSE4=TRUE -DSLEEF_ENFORCE_AVX=TRUE -DSLEEF_ENFORCE_AVX2=TRUE -DSLEEF_ENFORCE_AVX512F=TRUE -DSLEEF_ENABLE_TESTER4=False -DSLEEF_DISABLE_SSL=True
call "winbuild-clang.bat" -DCMAKE_BUILD_TYPE=Release -DSLEEF_SHOW_CONFIG=1 -DSLEEF_BUILD_DFT=True -DSLEEF_ENFORCE_DFT=TRUE -DSLEEF_BUILD_QUAD=TRUE -DSLEEF_ENFORCE_SSE2=TRUE -DSLEEF_ENFORCE_SSE4=TRUE -DSLEEF_ENFORCE_AVX=TRUE -DSLEEF_ENFORCE_AVX2=TRUE -DSLEEF_ENFORCE_AVX512F=TRUE -DSLEEF_ENABLE_TESTER4=True -DSLEEF_ENFORCE_TESTER4=True -DSLEEF_DISABLE_SSL=True
if not %ERRORLEVEL% == 0 exit /b %ERRORLEVEL%
ctest -j 4 --output-on-failure
exit /b %ERRORLEVEL%
Expand Down
14 changes: 7 additions & 7 deletions src/libm-tester/tester4simd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1562,13 +1562,13 @@ int main2(int argc, char **argv) {
-1000, 1000, 0.2, 1.0, false) && success;

cout << "copysign" << endl;
success = check_d_d_d<tlfloat_quad>("copysign", xcopysign, tlfloat_copysignq,
ad, sizeof(ad)/sizeof(ad[0]), ad, sizeof(ad)/sizeof(ad[0]),
0.0, true) && success;
success = check_d_d_d<tlfloat_quad>("copysign", xcopysign, tlfloat_copysignq,
-10, 10, 0.15, -10, 10, 0.15, 0.0, false) && success;
success = check_d_d_d<tlfloat_quad>("copysign", xcopysign, tlfloat_copysignq,
-1e+10, 1e+10, 1.51e+8, -1e+10, 1e+10, 1.51e+8, 0.0, false) && success;
success = check_d_d_d<double>("copysign", xcopysign, tlfloat_copysign,
ad, sizeof(ad)/sizeof(ad[0]), ad, sizeof(ad)/sizeof(ad[0]),
0.0, true) && success;
success = check_d_d_d<double>("copysign", xcopysign, tlfloat_copysign,
-10, 10, 0.15, -10, 10, 0.15, 0.0, false) && success;
success = check_d_d_d<double>("copysign", xcopysign, tlfloat_copysign,
-1e+10, 1e+10, 1.51e+8, -1e+10, 1e+10, 1.51e+8, 0.0, false) && success;

cout << "fmax" << endl;
success = check_d_d_d<tlfloat_quad>("fmax", xfmax, tlfloat_fmaxq,
Expand Down