summaryrefslogtreecommitdiffstats
path: root/src/amd/compiler/README
diff options
context:
space:
mode:
authorTimur Kristóf <[email protected]>2019-10-23 11:24:53 +0200
committerTimur Kristóf <[email protected]>2019-10-25 10:10:42 +0200
commite5a8616973d45909a75a708f88dfb9c3cbb5ded8 (patch)
tree58abe54a28de4e468db324b5836cbcb3d3f04cb0 /src/amd/compiler/README
parent99aed688d346e26b23e2e00cb6f7df9be3415ccb (diff)
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 <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]>
Diffstat (limited to 'src/amd/compiler/README')
-rw-r--r--src/amd/compiler/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/amd/compiler/README b/src/amd/compiler/README
index 630f1fcd42a..d3ecc896bc4 100644
--- a/src/amd/compiler/README
+++ b/src/amd/compiler/README
@@ -173,3 +173,11 @@ The 12-bit immediate OFFSET field of FLAT instructions must always be 0.
GLOBAL and SCRATCH are unaffected.
ACO doesn't use FLAT load/store on GFX10, so is unaffected.
+
+### VcmpxPermlaneHazard
+
+Triggered by:
+Any permlane instruction that follows any VOPC instruction.
+Confirmed by AMD devs that despite the name, this doesn't only affect v_cmpx.
+
+Mitigated by: any VALU instruction except `v_nop`.