MetaScale/nt2 — Issue #109: Several tests fail with LLVM (be it llvm-gcc or clang)
Author: mgaunard
Created: 2011-11-23 14:34:58+00:00
State: open

On Darwin, the following 21 tests fail with llvm-gcc
http://cdash.lri.fr/viewTest.php?onlyfailed&buildid=100

And 27 tests fail with clang (19 of which are the same as llvm-gcc)
http://cdash.lri.fr/viewTest.php?onlyfailed&buildid=101

7 of the same fails are also present on Windows.
http://cdash.lri.fr/viewTest.php?onlyfailed&buildid=102

I've tried looking into the rol/ror/rrol ones, and simply displaying intermediate values in the tests make them pass. Same with adds. So it looks like an optimization bug in llvm (those tests seem to pass when optimization is disabled).
any/none seems to be a problem with clang and _mm_test_all_zeros. It just doesn't make sense.
Some other problems seem to be that some built-in scalar functions don't all deals with special values correctly.

The trigonometric failures are worth investigating, however.

In any case LLVM-based compilers are still not really usable.