From 2925e88996c6b819a6c0330fd61760a8be350837 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 4 May 2020 14:38:12 -0400 Subject: [PATCH] pan/bi: Add SUB.v2i16/SUB.v4i8 opcodes to disasm Like their ADD counterparts. Only on ADD. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/disassemble.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panfrost/bifrost/disassemble.c b/src/panfrost/bifrost/disassemble.c index 73d773758ce..b2343ab7e11 100644 --- a/src/panfrost/bifrost/disassemble.c +++ b/src/panfrost/bifrost/disassemble.c @@ -1101,7 +1101,9 @@ static const struct add_op_info add_op_infos[] = { { 0x17880, "ADD.v4i8", ADD_TWO_SRC }, { 0x178c0, "ADD.i32", ADD_TWO_SRC }, { 0x17900, "ADD.v2i16", ADD_TWO_SRC }, + { 0x17a80, "SUB.v4i8", ADD_TWO_SRC }, { 0x17ac0, "SUB.i32", ADD_TWO_SRC }, + { 0x17b00, "SUB.v2i16", ADD_TWO_SRC }, { 0x17c10, "ADDC.i32", ADD_TWO_SRC }, // adds src0 to the bottom bit of src1 { 0x17d80, "ADD.i32.i16.X", ADD_TWO_SRC }, { 0x17d90, "ADD.i32.u16.X", ADD_TWO_SRC }, -- 2.30.2