$ ./build/linux-x86_64-debug/bin/lp_test_arit -v neg(-inf): ref = inf, out = inf, precision = 24.000000 bits, PASS neg(-60): ref = 60, out = 60, precision = 24.000000 bits, PASS neg(-4): ref = 4, out = 4, precision = 24.000000 bits, PASS neg(-2): ref = 2, out = 2, precision = 24.000000 bits, PASS neg(-1): ref = 1, out = 1, precision = 24.000000 bits, PASS neg(-1.00000001e-07): ref = 1.00000001e-07, out = 1.00000001e-07, precision = 24.000000 bits, PASS neg(0): ref = -0, out = -0, precision = 24.000000 bits, PASS neg(1.00000001e-07): ref = -1.00000001e-07, out = -1.00000001e-07, precision = 24.000000 bits, PASS neg(0.00999999978): ref = -0.00999999978, out = -0.00999999978, precision = 24.000000 bits, PASS neg(0.100000001): ref = -0.100000001, out = -0.100000001, precision = 24.000000 bits, PASS neg(0.899999976): ref = -0.899999976, out = -0.899999976, precision = 24.000000 bits, PASS neg(0.99000001): ref = -0.99000001, out = -0.99000001, precision = 24.000000 bits, PASS neg(1): ref = -1, out = -1, precision = 24.000000 bits, PASS neg(2): ref = -2, out = -2, precision = 24.000000 bits, PASS neg(4): ref = -4, out = -4, precision = 24.000000 bits, PASS neg(60): ref = -60, out = -60, precision = 24.000000 bits, PASS neg(inf): ref = -inf, out = -inf, precision = 24.000000 bits, PASS LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse41.round.ps
I'm actually not seeing this by default, apparently because we already pass in +avx if that's available precisely because llvm couldn't handle it on its own (so setting LP_NATIVE_VECTOR_WIDTH=128 causes it to show up as that disables avx). I think we can extend that rather easily.
mesa: 74388dd24bc7fdb9e62ec18096163f5426e03fbf (master 10.3.0-devel) lp_test_arit is still failing with llvm-3.5.0svn.
Fixed by cad60420d5ea36a4b6fa2e6c91317f71423aa63e.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.