gallivm: Return true from arch_rounding_available() if NEON is available
authorMatt Turner <mattst88@gmail.com>
Tue, 22 Jan 2019 23:06:38 +0000 (15:06 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 24 Jan 2019 19:07:24 +0000 (11:07 -0800)
commit70a7ece035785978167fe0019b6ff603415b1f3b
tree473c4590a37e5af830a9ecad2e95baf5202f01ab
parent385ee7c3d0536424eb9822fe873d4410b831cbfe
gallivm: Return true from arch_rounding_available() if NEON is available

LLVM uses the single instruction "FRINTI" to implement llvm.nearbyint.
Fixes the rounding tests of lp_test_arit.

Bug: https://bugs.gentoo.org/665570
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/drivers/llvmpipe/lp_test_arit.c