Module: Mesa
Branch: master
Commit: 07f1df51aa3524a10f2fd70ed80dc15516d0ff97
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=07f1df51aa3524a10f2fd70ed80dc15516d0ff97

Author: Boris Brezillon <[email protected]>
Date:   Wed Oct 28 09:21:05 2020 +0100

pan/bi: s/t0/t1/ in bi_disasm_dest_add()

The ADD unit stores its result in t1 not t0.

Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7408>

---

 src/panfrost/bifrost/disassemble.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/panfrost/bifrost/disassemble.c 
b/src/panfrost/bifrost/disassemble.c
index df1874635a2..1bc33de2636 100644
--- a/src/panfrost/bifrost/disassemble.c
+++ b/src/panfrost/bifrost/disassemble.c
@@ -226,10 +226,10 @@ bi_disasm_dest_add(FILE *fp, struct bifrost_regs 
*next_regs, bool last)
     struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, *next_regs, last);
 
     if (ctrl.slot23.slot3 >= BIFROST_OP_WRITE && !ctrl.slot23.slot3_fma) {
-        fprintf(fp, "r%u:t0", next_regs->reg3);
+        fprintf(fp, "r%u:t1", next_regs->reg3);
         bi_disasm_dest_mask(fp, ctrl.slot23.slot3);
     } else
-        fprintf(fp, "t0");
+        fprintf(fp, "t1");
 }
 
 static void dump_const_imm(FILE *fp, uint32_t imm)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to