Skip to content
Snippets Groups Projects
Commit c9d2f45b authored by Rhys Perry's avatar Rhys Perry Committed by Dylan Baker
Browse files

aco: fix LdsBranchVmemWARHazard with 2+ branch chains


For example, "DS -> branch -> VMEM -> branch -> DS".

fossil-db (navi10):
Totals from 639 (0.40% of 161220) affected shaders:
Instrs: 629090 -> 628254 (-0.13%); split: -0.19%, +0.06%
CodeSize: 3410164 -> 3406748 (-0.10%); split: -0.14%, +0.04%
Latency: 7834755 -> 7821011 (-0.18%); split: -0.70%, +0.52%
InvThroughput: 1369698 -> 1374495 (+0.35%); split: -0.12%, +0.47%

A lot of the fossil-db changes are noise.
threekingdoms.8db138826c386a62.1.foz/0b222ed175eebad0 is an example of a
shader that actually has this issue.

Signed-off-by: default avatarRhys Perry <pendingchaos02@gmail.com>
Reviewed-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
Fixes: c037ba1b ("aco/gfx10: Mitigate LdsBranchVmemWARHazard.")
Part-of: <mesa/mesa!17697>
(cherry picked from commit b17e59a0)
parent 2c7c5cc0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment