Home
last modified time | relevance | path

Searched refs:unifa (Results 1 - 2 of 2) sorted by relevance

/third_party/mesa3d/src/broadcom/compiler/
H A Dvir_opt_dead_code.c103 /* If we find a new write to unifa, then this was the last in check_last_ldunifa()
125 struct qinst **unifa) in check_first_ldunifa()
132 /* If we find a write to unifa, then this was the first in check_first_ldunifa()
137 *unifa = scan_inst; in check_first_ldunifa()
148 unreachable("could not find starting unifa for ldunifa sequence"); in check_first_ldunifa()
152 increment_unifa_address(struct v3d_compile *c, struct qinst *unifa) in increment_unifa_address() argument
154 if (unifa->qpu.type == V3D_QPU_INSTR_TYPE_ALU && in increment_unifa_address()
155 unifa->qpu.alu.mul.op == V3D_QPU_M_MOV) { in increment_unifa_address()
156 c->cursor = vir_after_inst(unifa); in increment_unifa_address()
158 vir_ADD_dest(c, unifa_reg, unifa in increment_unifa_address()
122 check_first_ldunifa(struct v3d_compile *c, struct qinst *inst, struct qblock *block, struct qinst **unifa) check_first_ldunifa() argument
220 struct qinst *unifa = NULL; vir_opt_dead_code() local
[all...]
H A Dnir_to_vir.c3112 /* Every ldunifa auto-increments the unifa address by 4 bytes, so our in ntq_emit_load_unifa()
3113 * current unifa offset is 4 bytes ahead of the offset of the last load. in ntq_emit_load_unifa()
3118 /* We can only use unifa if the offset is uniform */ in ntq_emit_load_unifa()
3123 /* We can only use unifa with SSBOs if they are read-only. Otherwise in ntq_emit_load_unifa()
3176 /* We can only keep track of the last unifa address we used with in ntq_emit_load_unifa()
3178 * is close enough to the previous load, we can skip the unifa register in ntq_emit_load_unifa()
3179 * write by emitting dummy ldunifa instructions to update the unifa in ntq_emit_load_unifa()
3206 struct qreg unifa = vir_reg(QFILE_MAGIC, V3D_QPU_WADDR_UNIFA); in ntq_emit_load_unifa() local
3209 vir_MOV_dest(c, unifa, base_offset); in ntq_emit_load_unifa()
3211 vir_ADD_dest(c, unifa, base_offse in ntq_emit_load_unifa()
[all...]

Completed in 7 milliseconds