[libc-commits] [libc] [libc][math][c23] Add expf16 C23 math function (PR #100632)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 09:40:41 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-aarch64-ubuntu-dbg` running on `libc-aarch64-ubuntu` while building `libc` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/104/builds/3378

Here is the relevant piece of the build log for the reference:
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[871/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.nextafterl_test.__unit__.__build__
[872/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT.__build__.dir/expf16_test.cpp.o
[873/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpl_test.__unit__.__build__.dir/fromfpl_test.cpp.o
[874/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpxf_test.__unit__.__build__
[875/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.exp10_test.__unit__.__NO_ROUND_OPT.__build__.dir/exp10_test.cpp.o
[876/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.copysignf_test.__unit__.__build__
[877/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.copysignl_test.__unit__.__build__.dir/copysignl_test.cpp.o
[878/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT.__build__
[879/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpl_test.__unit__.__build__
[880/2171] Running unit test libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT.__build__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcExpf16Test.SpecialNumbers
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/expf16_test.cpp:24: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((1) ? (1) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (1)
      Which is: 1
[  FAILED  ] LlvmLibcExpf16Test.SpecialNumbers
[ RUN      ] LlvmLibcExpf16Test.Overflow
[       OK ] LlvmLibcExpf16Test.Overflow (1 us)
[ RUN      ] LlvmLibcExpf16Test.Underflow
[       OK ] LlvmLibcExpf16Test.Underflow (1 us)
Ran 3 tests.  PASS: 2  FAIL: 1
[881/2171] Running unit test libc.test.src.math.smoke.copysignf_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcCopySignTest.SpecialNumbers
[       OK ] LlvmLibcCopySignTest.SpecialNumbers (3 us)
[ RUN      ] LlvmLibcCopySignTest.Range
[       OK ] LlvmLibcCopySignTest.Range (29 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[882/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fmaxf_test.__unit__.__build__.dir/fmaxf_test.cpp.o
[883/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.exp2f_test.__unit__.__NO_ROUND_OPT.__build__.dir/exp2f_test.cpp.o
[884/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.exp10_test.__unit__.__NO_ROUND_OPT.__build__
[885/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpx_test.__unit__.__build__.dir/fromfpx_test.cpp.o
[886/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.copysignl_test.__unit__.__build__
[887/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.logb_test.__unit__.__build__.dir/logb_test.cpp.o
[888/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.exp10f_test.__unit__.__build__.dir/exp10f_test.cpp.o
[889/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.log1p_test.__unit__.__build__.dir/log1p_test.cpp.o
[890/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.f16div_test.__unit__.__build__.dir/f16div_test.cpp.o
[891/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fabsf_test.__unit__.__build__.dir/fabsf_test.cpp.o
[892/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.frexpf_test.__unit__.__build__.dir/frexpf_test.cpp.o
[893/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fsqrtl_test.__unit__.__build__.dir/fsqrtl_test.cpp.o
[894/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.expf_test.__unit__.__build__.dir/expf_test.cpp.o
[895/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.frexpf128_test.__unit__.__build__.dir/frexpf128_test.cpp.o
[896/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.lrintl_test.__unit__.__build__.dir/lrintl_test.cpp.o
[897/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fmodf128_test.__unit__.__build__.dir/fmodf128_test.cpp.o
ninja: build stopped: subcommand failed.
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[871/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.nextafterl_test.__unit__.__build__
[872/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT.__build__.dir/expf16_test.cpp.o
[873/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpl_test.__unit__.__build__.dir/fromfpl_test.cpp.o
[874/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpxf_test.__unit__.__build__
[875/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.exp10_test.__unit__.__NO_ROUND_OPT.__build__.dir/exp10_test.cpp.o
[876/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.copysignf_test.__unit__.__build__
[877/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.copysignl_test.__unit__.__build__.dir/copysignl_test.cpp.o
[878/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT.__build__
[879/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.fromfpl_test.__unit__.__build__
[880/2171] Running unit test libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT 
cd /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke && /home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.expf16_test.__unit__.__NO_ROUND_OPT.__build__
[==========] Running 3 tests from 1 test suite.
[ RUN      ] LlvmLibcExpf16Test.SpecialNumbers
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/test/src/math/smoke/expf16_test.cpp:24: FAILURE
      Expected: __llvm_libc_18_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((1) ? (1) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (1)
      Which is: 1
[  FAILED  ] LlvmLibcExpf16Test.SpecialNumbers
[ RUN      ] LlvmLibcExpf16Test.Overflow
[       OK ] LlvmLibcExpf16Test.Overflow (1 us)
[ RUN      ] LlvmLibcExpf16Test.Underflow
[       OK ] LlvmLibcExpf16Test.Underflow (1 us)
Ran 3 tests.  PASS: 2  FAIL: 1
[881/2171] Running unit test libc.test.src.math.smoke.copysignf_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN      ] LlvmLibcCopySignTest.SpecialNumbers
[       OK ] LlvmLibcCopySignTest.SpecialNumbers (3 us)
[ RUN      ] LlvmLibcCopySignTest.Range
[       OK ] LlvmLibcCopySignTest.Range (29 ms)
Ran 2 tests.  PASS: 2  FAIL: 0
[882/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fmaxf_test.__unit__.__build__.dir/fmaxf_test.cpp.o
[883/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.exp2f_test.__unit__.__NO_ROUND_OPT.__build__.dir/exp2f_test.cpp.o
[884/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.exp10_test.__unit__.__NO_ROUND_OPT.__build__
[885/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fromfpx_test.__unit__.__build__.dir/fromfpx_test.cpp.o
[886/2171] Linking CXX executable projects/libc/test/src/math/smoke/libc.test.src.math.smoke.copysignl_test.__unit__.__build__
[887/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.logb_test.__unit__.__build__.dir/logb_test.cpp.o
[888/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.exp10f_test.__unit__.__build__.dir/exp10f_test.cpp.o
[889/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.log1p_test.__unit__.__build__.dir/log1p_test.cpp.o
[890/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.f16div_test.__unit__.__build__.dir/f16div_test.cpp.o
[891/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fabsf_test.__unit__.__build__.dir/fabsf_test.cpp.o
[892/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.frexpf_test.__unit__.__build__.dir/frexpf_test.cpp.o
[893/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fsqrtl_test.__unit__.__build__.dir/fsqrtl_test.cpp.o
[894/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.expf_test.__unit__.__build__.dir/expf_test.cpp.o
[895/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.frexpf128_test.__unit__.__build__.dir/frexpf128_test.cpp.o
[896/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.lrintl_test.__unit__.__build__.dir/lrintl_test.cpp.o
[897/2171] Building CXX object projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.fmodf128_test.__unit__.__build__.dir/fmodf128_test.cpp.o
ninja: build stopped: subcommand failed.

```

https://github.com/llvm/llvm-project/pull/100632


More information about the libc-commits mailing list