From: Alyssa Rosenzweig Date: Fri, 3 May 2019 03:27:18 +0000 (+0000) Subject: panfrost/midgard: iabs cannot run on mul X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68238732462bb044282ffbeb6cb08b96c7ff7805;p=mesa.git panfrost/midgard: iabs cannot run on mul Signed-off-by: Alyssa Rosenzweig --- 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},