From 68238732462bb044282ffbeb6cb08b96c7ff7805 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 3 May 2019 03:27:18 +0000 Subject: [PATCH] panfrost/midgard: iabs cannot run on mul Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/midgard/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/panfrost/midgard/helpers.h b/src/gallium/drivers/panfrost/midgard/helpers.h index 2be192a363b..be2a45cd19d 100644 --- a/src/gallium/drivers/panfrost/midgard/helpers.h +++ b/src/gallium/drivers/panfrost/midgard/helpers.h @@ -178,7 +178,7 @@ static struct { /* Incredibly, iadd can run on vmul, etc */ [midgard_alu_op_iadd] = {"iadd", UNITS_MOST | OP_COMMUTES}, - [midgard_alu_op_iabs] = {"iabs", UNITS_MOST}, + [midgard_alu_op_iabs] = {"iabs", UNITS_ADD}, [midgard_alu_op_isub] = {"isub", UNITS_MOST}, [midgard_alu_op_imul] = {"imul", UNITS_MUL | OP_COMMUTES}, [midgard_alu_op_imov] = {"imov", UNITS_MOST | QUIRK_FLIPPED_R24}, -- 2.30.2