[libc-commits] [libc] [libc][math][c23] Add dfma{l, f128} and dsub{l, f128} C23 math functions (PR #101089)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Wed Jul 31 14:04:09 PDT 2024


llvm-ci wrote:

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

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

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)
...
[       OK ] LlvmLibcCeilTest.RoundedNubmers (22 us)
[ RUN      ] LlvmLibcCeilTest.Fractions
[       OK ] LlvmLibcCeilTest.Fractions (43 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[138/700] Running unit test libc.test.src.math.smoke.dfmal_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFmaTest.SpecialNumbers
[       OK ] LlvmLibcFmaTest.SpecialNumbers (101 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[139/700] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ 
cd /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/test/src/math/smoke && /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (53 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
[       OK ] LlvmLibcSubTest.InvalidOperations (19 us)
[ RUN      ] LlvmLibcSubTest.RangeErrors
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:67: FAILURE
Failed to match func(in.min_denormal, in.neg_min_denormal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(zero).
Expected floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)
Actual floating point value: 0x0000000000000001 = (S: 0, E: 0x0000, M: 0x0000000000000001)
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:67: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((8 | 16) ? (8 | 16) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (8 | 16)
      Which is: 24
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:68: FAILURE
      Expected: actual
      Which is: 0
To be equal to: 34
      Which is: 34
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:71: FAILURE
Failed to match func(in.neg_min_denormal, in.min_denormal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(neg_zero).
Expected floating point value: 0x8000000000000000 = (S: 1, E: 0x0000, M: 0x0000000000000000)
Actual floating point value: 0x8000000000000001 = (S: 1, E: 0x0000, M: 0x0000000000000001)
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:71: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((8 | 16) ? (8 | 16) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (8 | 16)
      Which is: 24
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:72: FAILURE
      Expected: actual
      Which is: 0
To be equal to: 34
      Which is: 34
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:84: FAILURE
Failed to match func(in.min_denormal, in.neg_min_denormal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(zero).
Expected floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[       OK ] LlvmLibcCeilTest.RoundedNubmers (22 us)
[ RUN      ] LlvmLibcCeilTest.Fractions
[       OK ] LlvmLibcCeilTest.Fractions (43 us)
Ran 3 tests.  PASS: 3  FAIL: 0
[138/700] Running unit test libc.test.src.math.smoke.dfmal_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN      ] LlvmLibcFmaTest.SpecialNumbers
[       OK ] LlvmLibcFmaTest.SpecialNumbers (101 us)
Ran 1 tests.  PASS: 1  FAIL: 0
[139/700] Running unit test libc.test.src.math.smoke.dsubl_test.__unit__
FAILED: projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/test/src/math/smoke/CMakeFiles/libc.test.src.math.smoke.dsubl_test.__unit__ 
cd /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/test/src/math/smoke && /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/test/src/math/smoke/libc.test.src.math.smoke.dsubl_test.__unit__.__build__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcSubTest.SpecialNumbers
[       OK ] LlvmLibcSubTest.SpecialNumbers (53 us)
[ RUN      ] LlvmLibcSubTest.InvalidOperations
[       OK ] LlvmLibcSubTest.InvalidOperations (19 us)
[ RUN      ] LlvmLibcSubTest.RangeErrors
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:67: FAILURE
Failed to match func(in.min_denormal, in.neg_min_denormal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(zero).
Expected floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)
Actual floating point value: 0x0000000000000001 = (S: 0, E: 0x0000, M: 0x0000000000000001)
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:67: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((8 | 16) ? (8 | 16) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (8 | 16)
      Which is: 24
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:68: FAILURE
      Expected: actual
      Which is: 0
To be equal to: 34
      Which is: 34
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:71: FAILURE
Failed to match func(in.neg_min_denormal, in.min_denormal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(neg_zero).
Expected floating point value: 0x8000000000000000 = (S: 1, E: 0x0000, M: 0x0000000000000000)
Actual floating point value: 0x8000000000000001 = (S: 1, E: 0x0000, M: 0x0000000000000001)
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:71: FAILURE
      Expected: __llvm_libc_19_0_0_git::fputil::test_except((1 | 2 | 4 | 8 | 16)) & ((8 | 16) ? (8 | 16) : (1 | 2 | 4 | 8 | 16))
      Which is: 0
To be equal to: (8 | 16)
      Which is: 24
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:72: FAILURE
      Expected: actual
      Which is: 0
To be equal to: 34
      Which is: 34
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/test/src/math/smoke/SubTest.h:84: FAILURE
Failed to match func(in.min_denormal, in.neg_min_denormal) against LIBC_NAMESPACE::testing::getMatcher< LIBC_NAMESPACE::testing::TestCond::EQ>(zero).
Expected floating point value: 0x0000000000000000 = (S: 0, E: 0x0000, M: 0x0000000000000000)

```

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


More information about the libc-commits mailing list