[RISCV][NFC] Remove Redundant Inline Asm Logic (#124202)
[llvm-project.git] / libc / test / src / __support / FPUtil / CMakeLists.txt
blob1e64e9ba425a581632bb12921d996cf639376d49
1 add_custom_target(libc-fputil-tests)
3 add_fp_unittest(
4   dyadic_float_test
5   NEED_MPFR
6   SUITE
7     libc-fputil-tests
8   SRCS
9     dyadic_float_test.cpp
10   DEPENDS
11     libc.src.__support.FPUtil.dyadic_float
12     libc.src.__support.macros.properties.types
13   COMPILE_OPTIONS
14     # Prevent constant folding with a default rounding mode.
15     "-frounding-math"
18 add_libc_test(
19   fpbits_test
20   SUITE
21     libc-fputil-tests
22   SRCS
23     fpbits_test.cpp
24   DEPENDS
25     libc.src.__support.FPUtil.fp_bits
26     libc.src.__support.FPUtil.fpbits_str
27     libc.src.__support.integer_literals
28     libc.src.__support.macros.properties.types
29     libc.src.__support.sign
32 add_fp_unittest(
33   rounding_mode_test
34   SUITE
35     libc-fputil-tests
36   SRCS
37     rounding_mode_test.cpp
38   DEPENDS
39     libc.src.__support.FPUtil.rounding_mode