simde icon indicating copy to clipboard operation
simde copied to clipboard

neon/{padal,paddl} + clang 9, 10, & 11 on riscv64 test errors

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

/arm/neon/padal/vpadal_u8/native/c   [ ERROR ]
/<<PKGBUILDDIR>>/test/arm/neon/padal.c:219: assertion failed: r[0] == simde_vld1_u16(test_vec[i].r)[0] (45917 == 34167)

/arm/neon/padal/vpadal_u16/native/c  [ ERROR ]
/<<PKGBUILDDIR>>/test/arm/neon/padal.c:276: assertion failed: r[0] == simde_vld1_u32(test_vec[i].r)[0] (535960123 == 3031233243)

/arm/neon/padal/vpadal_u8/native/cpp [ ERROR ]
/<<PKGBUILDDIR>>/clang9_test/arm/neon/padal.cpp:219: assertion failed: r[0] == simde_vld1_u16(test_vec[i].r)[0] (45917 == 34167)

/arm/neon/padal/vpadal_u16/native/cpp[ ERROR ]
/<<PKGBUILDDIR>>/clang9_test/arm/neon/padal.cpp:276: assertion failed: r[0] == simde_vld1_u32(test_vec[i].r)[0] (535960123 == 3031233243)

/arm/neon/paddl/vpaddl_u8/native/c   [ ERROR ]
/<<PKGBUILDDIR>>/test/arm/neon/paddl.c:136: assertion failed: r[0] == simde_vld1_u16(test_vec[i].r)[0] (28866 == 291)

/arm/neon/paddl/vpaddl_u16/native/c  [ ERROR ]
/<<PKGBUILDDIR>>/test/arm/neon/paddl.c:169: assertion failed: r[0] == simde_vld1_u32(test_vec[i].r)[0] (1363397270 == 64615)

(and likewise for the cpp versions and the emulated versions of both)

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

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

This persists with the latest SIMDe development code https://buildd.debian.org/status/fetch.php?pkg=simde&arch=riscv64&ver=0.7.3%7E0git20210814191010.3f186a0-1&stamp=1629143973&raw=0

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

I ran the tests against https://github.com/simd-everywhere/simde/commit/7e70d02dda84bdfb1e97777bdb9622f3f29682b4 and I was unable to reproduce this in a Ubuntu focal container running qemu-riscv64-static version 4.2.1 (Debian 1:4.2-3ubuntu6.24)

  • [x] clang 10.0.0-4ubuntu1 "clang version 10.0.0-4ubuntu1"
  • [x] clang 11.0.0-2 "Ubuntu clang version 11.0.0-2~ubuntu20.04.1"
  • [x] clang 12.0.0-3ubuntu1 "Ubuntu clang version 12.0.0-3ubuntu1~20.04.5"

With clang 9.0.1-12 "clang version 9.0.1-12 ", I do see errors about the test aparatus itself; however clang-9 is rather old, so I'm going to close this issue. If clang-9 is important to someone else and they run into problems, please comment!

mr-c avatar Feb 12 '23 16:02 mr-c