aco/gfx10: Mitigate LdsBranchVmemWARHazard.
authorTimur Kristóf <timur.kristof@gmail.com>
Thu, 24 Oct 2019 16:55:07 +0000 (18:55 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Fri, 25 Oct 2019 08:10:42 +0000 (10:10 +0200)
commitc037ba1bb7aba99bd15e063bbdbc6d4c68cf2384
treefb4333e1c5c0d29ee7d761710d38a0f9eb87d0c2
parent09d676d81ab6e604f73f65ad696a9996312f93a4
aco/gfx10: Mitigate LdsBranchVmemWARHazard.

There is a hazard caused by there is a branch between a
VMEM/GLOBAL/SCRATCH instruction and a DS instruction.
This commit adds a workaround that avoids the problem.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/README
src/amd/compiler/aco_insert_NOPs.cpp