summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorItalo Nicola <italonicola@collabora.com>2020-09-19 10:36:08 +0000
committerMarge Bot <eric+marge@anholt.net>2020-10-02 12:12:50 +0000
commitc9192d1083e609e2299cd6a0e58494582ad01e22 (patch)
tree3577e17a2d21f0bda3fe2859f5ca16ba40725919 /src/panfrost/midgard
parentcea032a3459f5702e214456966b63758c8f76476 (diff)
pan/mdg: map uabs_i/usub to i/uabsdiff
Signed-off-by: Italo Nicola <italonicola@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6823>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index 25df8b0a2a4..c8d8961f405 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -900,6 +900,9 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
/* Zero shoved as second-arg */
ALU_CASE(iabs, iabsdiff);
+ ALU_CASE(uabs_isub, iabsdiff);
+ ALU_CASE(uabs_usub, uabsdiff);
+
ALU_CASE(mov, imov);
ALU_CASE_CMP(feq32, feq);