From 5f48caf98ba536b9ed753f445ebf5488dc465f46 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 1 Apr 2020 16:51:17 -0400 Subject: [PATCH] pan/bi: Fix duplicated source in ADD.v2f16 Typo. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_pack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 9ec31044f71..8e83358e546 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -551,7 +551,7 @@ bi_pack_fma_addmin_f16(bi_instruction *ins, struct bi_registers *regs) unsigned abs_0 = ins->src_abs[0], abs_1 = ins->src_abs[1]; unsigned src_0 = bi_get_src(ins, regs, 0, true); - unsigned src_1 = bi_get_src(ins, regs, 0, true); + unsigned src_1 = bi_get_src(ins, regs, 1, true); bool l = false; if (!abs_0 && !abs_1) { -- 2.30.2