broadcom/compiler: update one TMUWT restriction for v71

TMUWT not allowed in the final instruction restriction doesn't apply
for v71.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
Alejandro Piñeiro
2021-10-19 11:16:43 +02:00
committed by Marge Bot
parent c9fcd5d786
commit a3aba3f352
+3 -1
View File
@@ -1700,8 +1700,10 @@ qpu_inst_valid_in_thrend_slot(struct v3d_compile *c,
if (inst->type == V3D_QPU_INSTR_TYPE_ALU) {
/* GFXH-1625: TMUWT not allowed in the final instruction. */
if (slot == 2 && inst->alu.add.op == V3D_QPU_A_TMUWT)
if (c->devinfo->ver <= 42 && slot == 2 &&
inst->alu.add.op == V3D_QPU_A_TMUWT) {
return false;
}
/* No writing physical registers at the end. */
bool add_is_nop = inst->alu.add.op == V3D_QPU_A_NOP;