simde icon indicating copy to clipboard operation
simde copied to clipboard

avx512 madd GCC 8 & 9 & 10 on s390x, sparc64, hppa, powerpc & ppc64 errors

Open mr-c opened this issue 3 years ago • 8 comments

 32/211 Test  #42: /x86/avx512/madd .................***Failed    0.14 sec
Running test suite with seed 0xb4fffd3d...
/x86/avx512/madd/mm_mask_madd_epi16/native/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/native/c[ OK    ] [ 0.00007888 / 0.00007865 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/native/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/native/c[ OK    ] [ 0.00010900 / 0.00010851 CPU ]
/x86/avx512/madd/mm512_madd_epi16/native/c[ OK    ] [ 0.00012419 / 0.00012335 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/native/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/native/c[ OK    ] [ 0.00015459 / 0.00015494 CPU ]
/x86/avx512/madd/mm_mask_madd_epi16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc10_test/x86/avx512/madd.cpp:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/native/cpp[ OK    ] [ 0.00008648 / 0.00008643 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc10_test/x86/avx512/madd.cpp:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/native/cpp[ OK    ] [ 0.00010420 / 0.00010417 CPU ]
/x86/avx512/madd/mm512_madd_epi16/native/cpp[ OK    ] [ 0.00012492 / 0.00012444 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc10_test/x86/avx512/madd.cpp:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/native/cpp[ OK    ] [ 0.00016164 / 0.00016118 CPU ]
/x86/avx512/madd/mm_mask_madd_epi16/emul/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/emul/c[ OK    ] [ 0.00008656 / 0.00008598 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/emul/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/emul/c[ OK    ] [ 0.00011632 / 0.00011611 CPU ]
/x86/avx512/madd/mm512_madd_epi16/emul/c[ OK    ] [ 0.00013306 / 0.00013240 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/emul/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/emul/c[ OK    ] [ 0.00013306 / 0.00013385 CPU ]
/x86/avx512/madd/mm_mask_madd_epi16/emul/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc10_test/x86/avx512/madd.cpp:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/emul/cpp[ OK    ] [ 0.00009046 / 0.00008905 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/emul/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc10_test/x86/avx512/madd.cpp:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/emul/cpp[ OK    ] [ 0.00010692 / 0.00010688 CPU ]
/x86/avx512/madd/mm512_madd_epi16/emul/cpp[ OK    ] [ 0.00011361 / 0.00011267 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/emul/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc10_test/x86/avx512/madd.cpp:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/emul/cpp[ OK    ] [ 0.00013034 / 0.00013023 CPU ]
16 of 28 (57%) tests successful, 0 (0%) test skipped.

Full log at https://buildd.debian.org/status/fetch.php?pkg=simde&arch=sparc64&ver=0.7.0%7Erc-1-1&stamp=1605994787&raw=0

mr-c avatar Nov 21 '20 21:11 mr-c

Looks like similar errors on hppa

Running test suite with seed 0x98b5dd4d...
/x86/avx512/madd/mm_mask_madd_epi16/native/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/native/c[ OK    ] [ 0.00000000 / 0.00024033 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/native/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/native/c[ OK    ] [ 0.00000000 / 0.00046136 CPU ]
/x86/avx512/madd/mm512_madd_epi16/native/c[ OK    ] [ 0.00000000 / 0.00045797 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/native/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/native/c[ OK    ] [ 0.00399997 / 0.00158437 CPU ]
/x86/avx512/madd/mm_mask_madd_epi16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc8_test/x86/avx512/madd.cpp:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/native/cpp[ OK    ] [ 0.00000000 / 0.00017015 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc8_test/x86/avx512/madd.cpp:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/native/cpp[ OK    ] [ 0.00000000 / 0.00031319 CPU ]
/x86/avx512/madd/mm512_madd_epi16/native/cpp[ OK    ] [ 0.00000000 / 0.00079284 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc8_test/x86/avx512/madd.cpp:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/native/cpp[ OK    ] [ 0.00000000 / 0.01260451 CPU ]
/x86/avx512/madd/mm_mask_madd_epi16/emul/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/emul/c[ OK    ] [ 0.00000000 / 0.00049102 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/emul/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/emul/c[ OK    ] [ 0.00000000 / 0.00000000 CPU ]
/x86/avx512/madd/mm512_madd_epi16/emul/c[ OK    ] [ 0.00000000 / 0.00062606 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/emul/c[ ERROR ]
/<<PKGBUILDDIR>>/test/x86/avx512/madd.c:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/emul/c[ OK    ] [ 0.00000000 / 0.00000000 CPU ]
/x86/avx512/madd/mm_mask_madd_epi16/emul/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc8_test/x86/avx512/madd.cpp:89: assertion failed: r[3] == simde_mm_loadu_epi32(test_vec[i].r)[3] (-1731368460 == 1777637581)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm_maskz_madd_epi16/emul/cpp[ OK    ] [ 0.00000000 / 0.00033240 CPU ]
/x86/avx512/madd/mm256_mask_madd_epi16/emul/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc8_test/x86/avx512/madd.cpp:227: assertion failed: r[0] == simde_x_mm256_loadu_epi32(test_vec[i].r)[0] (1053467508 == -1552662838)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm256_maskz_madd_epi16/emul/cpp[ OK    ] [ 0.00000000 / 0.00055607 CPU ]
/x86/avx512/madd/mm512_madd_epi16/emul/cpp[ OK    ] [ 0.00399997 / 0.00038973 CPU ]
/x86/avx512/madd/mm512_mask_madd_epi16/emul/cpp[ ERROR ]
/<<PKGBUILDDIR>>/gcc8_test/x86/avx512/madd.cpp:536: assertion failed: r[1] == simde_mm512_loadu_epi16(test_vec[i].r)[1] (1685384412 == -321100684)
Error: child killed by signal 6 (Aborted)
/x86/avx512/madd/mm512_maskz_madd_epi16/emul/cpp[ OK    ] [ 0.00000000 / 0.00070010 CPU ]
16 of 28 (57%) tests successful, 0 (0%) test skipped.

https://buildd.debian.org/status/fetch.php?pkg=simde&arch=hppa&ver=0.7.0%7Erc-1-1&stamp=1605997767&raw=0

mr-c avatar Nov 22 '20 08:11 mr-c

Likewise for powerpc https://buildd.debian.org/status/fetch.php?pkg=simde&arch=powerpc&ver=0.7.0%7Erc-1-1&stamp=1606006692&raw=0

mr-c avatar Nov 22 '20 08:11 mr-c

Also errors on s390x in the same way, which is currently a release architecture for Debian, so I'm adding this issue to the 0.7.0 milestone

mr-c avatar Nov 27 '20 13:11 mr-c

For s390x the errors also occur with clang-{9,10,11}; this may be the same for the other architectures as well

@nemequ I can get you access to Debian's s390x porterbox if you want it

mr-c avatar Nov 27 '20 13:11 mr-c

I'm taking this off the "must-fix for 0.7.0" list as we don't yet advertise complete AVX512 support.

mr-c avatar Nov 30 '20 07:11 mr-c

Cleaner error logs from using meson+ninja instead of cmake:

https://buildd.debian.org/status/fetch.php?pkg=simde&arch=s390x&ver=0.7.0%7Erc-1-3&stamp=1606657758&raw=0 https://buildd.debian.org/status/fetch.php?pkg=simde&arch=sparc64&ver=0.7.0%7Erc-1-3&stamp=1606664642&raw=0 https://buildd.debian.org/status/fetch.php?pkg=simde&arch=powerpc&ver=0.7.0%7Erc-1-2&stamp=1606126263&raw=0

mr-c avatar Nov 30 '20 08:11 mr-c

Also with 0.7.0-rc2 and s390x, ppc64, sparc64 (all compilers, even the gcc 11 snapshot)

https://buildd.debian.org/status/fetch.php?pkg=simde&arch=ppc64&ver=0.7.0%7Erc-2-1&stamp=1608645889&raw=0 https://buildd.debian.org/status/fetch.php?pkg=simde&arch=sparc64&ver=0.7.0%7Erc-2-1&stamp=1608646572&raw=0

mr-c avatar Dec 22 '20 14:12 mr-c

This is no longer an error with s390x + gcc 10.2.1-6

mr-c avatar Aug 17 '21 08:08 mr-c