Mesa (main): pan/bi: Imply round mode most of the time
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 18:25:32 UTC 2022
Module: Mesa
Branch: main
Commit: 1fb4427a7aeeca7ada1ff57faad69a56da1c53cd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1fb4427a7aeeca7ada1ff57faad69a56da1c53cd
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Sun Feb 27 15:46:17 2022 -0500
pan/bi: Imply round mode most of the time
Much less noisy, and provides a path to further improvements. There is a slight
behaviour change: int-to-float conversions now use RTE instead of RTZ. For
32-bit opcodes, this affects conversions of integers with magnitude greater than
2^23 by at most 1 ulp. As this behaviour is unspecified in GLSL, this change is
believed to be acceptable.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15187>
---
src/panfrost/bifrost/bi_builder.h.py | 18 ++-
src/panfrost/bifrost/bifrost_compile.c | 140 ++++++++++-----------
src/panfrost/bifrost/bifrost_isa.py | 1 +
src/panfrost/bifrost/test/test-constant-fold.cpp | 4 +-
src/panfrost/bifrost/test/test-optimizer.cpp | 134 ++++++++++----------
.../bifrost/test/test-scheduler-predicates.cpp | 8 +-
src/panfrost/bifrost/valhall/test/test-add-imm.cpp | 40 +++---
.../bifrost/valhall/test/test-lower-isel.cpp | 2 +-
src/panfrost/bifrost/valhall/test/test-packing.cpp | 31 +++--
.../bifrost/valhall/test/test-validate-fau.cpp | 40 +++---
10 files changed, 209 insertions(+), 209 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=1fb4427a7aeeca7ada1ff57faad69a56da1c53cd
More information about the mesa-commit
mailing list