From 73715124ea53df1a3ef8cae6097556b98611dbb4 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 27 Mar 2020 15:55:03 -0400 Subject: pan/bi: Pack outmod and roundmode with FMA The fields got missed. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bi_pack.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 92014d2187e..270ddecfce1 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -458,6 +458,8 @@ bi_pack_fma_fma(bi_instruction *ins, struct bi_registers *regs) .src2_abs = ins->src_abs[2], .src0_neg = negate_mul, .src2_neg = ins->src_neg[2], + .outmod = ins->outmod, + .roundmode = ins->roundmode, .op = BIFROST_FMA_OP_FMA }; @@ -472,6 +474,8 @@ bi_pack_fma_fma(bi_instruction *ins, struct bi_registers *regs) .swizzle_2 = bi_swiz16(ins, 2), .src0_neg = negate_mul, .src2_neg = ins->src_neg[2], + .outmod = ins->outmod, + .roundmode = ins->roundmode, .op = BIFROST_FMA_OP_FMA16 }; -- cgit v1.2.3