mesa/src/amd
Tony Wasserka 6650799ea5 aco/spill: Prefer unordered_map over map for next use distances
This changes the iteration order of next use distances, so some "random"
changes to shader metrics are expected.

fossil-db for Navi14:
Totals from 1239 (0.82% of 150305) affected shaders:
SpillSGPRs: 10559 -> 10562 (+0.03%); split: -0.05%, +0.08%
SpillVGPRs: 1632 -> 1863 (+14.15%)
CodeSize: 19321468 -> 19304164 (-0.09%); split: -0.09%, +0.01%
Instrs: 3593957 -> 3591647 (-0.06%); split: -0.07%, +0.01%
Latency: 103120695 -> 102475647 (-0.63%); split: -0.63%, +0.01%
InvThroughput: 23897614 -> 23575320 (-1.35%); split: -1.36%, +0.02%
VClause: 66406 -> 66943 (+0.81%); split: -0.01%, +0.81%
SClause: 118559 -> 118548 (-0.01%)
Copies: 310871 -> 308950 (-0.62%); split: -0.69%, +0.08%
Branches: 123386 -> 123413 (+0.02%); split: -0.00%, +0.03%

These numbers mostly come from parallel-rdp ubershaders. Small changes are
also found in the rdr2 and rage2 shader metrics, whereas others are not
significantly affected.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11925>
2021-10-01 09:39:13 +00:00
..
addrlib amd/addrlib: expose CMASK address equations to drivers on GFX10+ 2021-08-05 06:37:09 +00:00
ci radv/ci: mark some tests as flaky on gfx9 2021-10-01 08:21:39 +00:00
common ac/gpu_info: fix the comment for the NGG->legacy transition bug 2021-09-28 17:30:06 +00:00
compiler aco/spill: Prefer unordered_map over map for next use distances 2021-10-01 09:39:13 +00:00
llvm radeonsi: implement shader-based culling for lines 2021-09-28 17:30:06 +00:00
registers python: drop python2 support 2021-08-14 21:44:32 +00:00
vulkan radv: Disable shader disassembly when no disassembler is available 2021-10-01 10:40:18 +02:00
.clang-format radv: Add clang-format for AMD code. 2021-04-10 03:31:32 +02:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00