aco/gfx10: Mitigate VcmpxExecWARHazard.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 23 Oct 2019 19:43:50 +0000 (21:43 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Fri, 25 Oct 2019 08:10:42 +0000 (10:10 +0200)
commitd6dfce02d074d615a3b88a3fccd8ee8c7e13c010
tree0c4e5d7fcc55cf22019ea609817bec37a51188e6
parente5a8616973d45909a75a708f88dfb9c3cbb5ded8
aco/gfx10: Mitigate VcmpxExecWARHazard.

There is a hazard when a non-VALU instruction reads the EXEC mask
and then a VALU instruction writes the EXEC mask.
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