aboutsummaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/vir.c
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2019-07-05 09:47:05 +0200
committerIago Toral Quiroga <[email protected]>2019-07-12 09:16:38 +0200
commit83a66e10dee84d3a2608550455cdc6411fec5e17 (patch)
treefdd871a75fdc2d618cd19660ff22f8225086771e /src/broadcom/compiler/vir.c
parent08f4dc3adc307a5947cab7ce05bbbd6f47950a4b (diff)
v3d: tlb loads cannot be removed
Loads from the tile buffer are emitted in ordered sequences so we cannot eliminate or reorder any of them. Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/broadcom/compiler/vir.c')
-rw-r--r--src/broadcom/compiler/vir.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c
index 45a6cc9ed2b..8de582792b7 100644
--- a/src/broadcom/compiler/vir.c
+++ b/src/broadcom/compiler/vir.c
@@ -75,6 +75,8 @@ vir_has_side_effects(struct v3d_compile *c, struct qinst *inst)
if (inst->qpu.sig.ldtmu ||
inst->qpu.sig.ldvary ||
+ inst->qpu.sig.ldtlbu ||
+ inst->qpu.sig.ldtlb ||
inst->qpu.sig.wrtmuc ||
inst->qpu.sig.thrsw) {
return true;