From 07f1df51aa3524a10f2fd70ed80dc15516d0ff97 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Wed, 28 Oct 2020 09:21:05 +0100 Subject: [PATCH] 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 Reviewed-by: Alyssa Rosenzweig Part-of: --- 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)