aco/gfx10: Mitigate VcmpxPermlaneHazard.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 23 Oct 2019 09:24:53 +0000 (11:24 +0200)
committerTimur Kristóf <timur.kristof@gmail.com>
Fri, 25 Oct 2019 08:10:42 +0000 (10:10 +0200)
commite5a8616973d45909a75a708f88dfb9c3cbb5ded8
tree58abe54a28de4e468db324b5836cbcb3d3f04cb0
parent99aed688d346e26b23e2e00cb6f7df9be3415ccb
aco/gfx10: Mitigate VcmpxPermlaneHazard.

Any permlane instruction that follows any VOPC instruction can cause a hazard,
this commit implements a workaround that avoids this causing a 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