llvmpipe: Use lp_build_round_arch on IBM Z (s390x)

LLVM has all the required intrinsics available on IBM Z, so use them for
rounding operations (they will be implemented as a single instruction).
This change makes the test case lp_test_arit pass, because it avoids
using the buggy generic code.

v2: update .gitlab-ci/cross-xfail-s390x to reflect passing lp_test_arit

Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13927>
This commit is contained in:
Marius Hillenbrand
2021-11-18 18:27:35 +01:00
committed by Marge Bot
parent 82b261417e
commit c5d6e57e42
3 changed files with 5 additions and 2 deletions

View File

@@ -1,2 +1 @@
lp_test_arit
lp_test_format