| add_custom_target(libc-mathvec-unittests) | |
| add_header_library( | |
| unit_test_wrappers | |
| HDRS | |
| UnitTestWrappers.h | |
| DEPENDS | |
| libc.src.__support.CPP.simd | |
| ) | |
| add_fp_unittest( | |
| acosf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| acosf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.acosf | |
| libc.src.mathvec.acosf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| acoshf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| acoshf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.acoshf | |
| libc.src.mathvec.acoshf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| acospif_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| acospif_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.acospif | |
| libc.src.mathvec.acospif | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| asinf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| asinf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.asinf | |
| libc.src.mathvec.asinf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| asinhf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| asinhf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.asinhf | |
| libc.src.mathvec.asinhf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| asinpif_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| asinpif_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.asinpif | |
| libc.src.mathvec.asinpif | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| atanf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| atanf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.atanf | |
| libc.src.mathvec.atanf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| atanhf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| atanhf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.atanhf | |
| libc.src.mathvec.atanhf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| cbrtf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| cbrtf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.cbrtf | |
| libc.src.mathvec.cbrtf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| cosf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| cosf_test.cpp | |
| HDRS | |
| ../math/sdcomp26094.h | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.cosf | |
| libc.src.mathvec.cosf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| coshf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| coshf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.coshf | |
| libc.src.mathvec.coshf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| cospif_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| cospif_test.cpp | |
| HDRS | |
| ../math/sdcomp26094.h | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.cospif | |
| libc.src.mathvec.cospif | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| erff_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| erff_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.erff | |
| libc.src.mathvec.erff | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| exp2f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| exp2f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.exp2f | |
| libc.src.mathvec.exp2f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| exp2m1f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| exp2m1f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.exp2m1f | |
| libc.src.mathvec.exp2m1f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| exp10f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| exp10f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.exp10f | |
| libc.src.mathvec.exp10f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| exp10m1f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| exp10m1f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.exp10m1f | |
| libc.src.mathvec.exp10m1f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| expf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| expf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.expf | |
| libc.src.mathvec.expf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| expm1f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| expm1f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.expm1f | |
| libc.src.mathvec.expm1f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| log10f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| log10f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.log10f | |
| libc.src.mathvec.log10f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| log1pf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| log1pf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.log1pf | |
| libc.src.mathvec.log1pf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| log2f_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| log2f_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.log2f | |
| libc.src.mathvec.log2f | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| logf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| logf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.logf | |
| libc.src.mathvec.logf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| rsqrtf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| rsqrtf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.rsqrtf | |
| libc.src.mathvec.rsqrtf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| sinf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| sinf_test.cpp | |
| HDRS | |
| ../math/sdcomp26094.h | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.sinf | |
| libc.src.mathvec.sinf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| sinhf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| sinhf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.sinhf | |
| libc.src.mathvec.sinhf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| sinpif_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| sinpif_test.cpp | |
| HDRS | |
| ../math/sdcomp26094.h | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.sinpif | |
| libc.src.mathvec.sinpif | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| sqrtf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| sqrtf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.sqrtf | |
| libc.src.mathvec.sqrtf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| tanf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| tanf_test.cpp | |
| HDRS | |
| ../math/sdcomp26094.h | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.tanf | |
| libc.src.mathvec.tanf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| tanhf_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| tanhf_test.cpp | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.tanhf | |
| libc.src.mathvec.tanhf | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| add_fp_unittest( | |
| tanpif_test | |
| SUITE | |
| libc-mathvec-unittests | |
| SRCS | |
| tanpif_test.cpp | |
| HDRS | |
| ../math/sdcomp26094.h | |
| DEPENDS | |
| .unit_test_wrappers | |
| libc.src.math.tanpif | |
| libc.src.mathvec.tanpif | |
| libc.src.__support.FPUtil.fp_bits | |
| libc.src.__support.CPP.simd | |
| FLAGS | |
| ROUND_OPT | |
| FMA_OPT | |
| ) | |
| if(NOT LLVM_LIBC_FULL_BUILD) | |
| add_subdirectory(exhaustive) | |
| endif() |