Mesa (master): aco: rework barriers and replace can_reorder

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jul 28 17:17:22 UTC 2020


Module: Mesa
Branch: master
Commit: d1f992f3c2d138faa0c89a2486c4252a06886106
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d1f992f3c2d138faa0c89a2486c4252a06886106

Author: Rhys Perry <pendingchaos02 at gmail.com>
Date:   Fri Jun 26 15:54:22 2020 +0100

aco: rework barriers and replace can_reorder

fossil-db (Navi):
Totals from 273 (0.21% of 132058) affected shaders:
CodeSize: 937472 -> 936556 (-0.10%)
Instrs: 158874 -> 158648 (-0.14%)
Cycles: 13563516 -> 13562612 (-0.01%)
VMEM: 85246 -> 85244 (-0.00%)
SMEM: 21407 -> 21310 (-0.45%); split: +0.05%, -0.50%
VClause: 9321 -> 9317 (-0.04%)

Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4905>

---

 src/amd/compiler/aco_dead_code_analysis.cpp    |   2 +-
 src/amd/compiler/aco_insert_waitcnt.cpp        | 116 ++++++------
 src/amd/compiler/aco_instruction_selection.cpp | 182 ++++++++++---------
 src/amd/compiler/aco_ir.cpp                    |  22 +++
 src/amd/compiler/aco_ir.h                      | 138 ++++++++++-----
 src/amd/compiler/aco_lower_to_hw_instr.cpp     |  13 ++
 src/amd/compiler/aco_opcodes.py                |  15 +-
 src/amd/compiler/aco_opt_value_numbering.cpp   |  23 ++-
 src/amd/compiler/aco_optimizer.cpp             |   3 +-
 src/amd/compiler/aco_print_ir.cpp              |  97 +++++++---
 src/amd/compiler/aco_scheduler.cpp             | 234 +++++++++++++------------
 src/amd/compiler/aco_spill.cpp                 |  15 +-
 12 files changed, 520 insertions(+), 340 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=d1f992f3c2d138faa0c89a2486c4252a06886106


More information about the mesa-commit mailing list