aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-05-04 14:38:12 -0400
committerMarge Bot <[email protected]>2020-05-04 18:45:15 +0000
commit2925e88996c6b819a6c0330fd61760a8be350837 (patch)
tree673eba9bdd99607299b7eac5ef85d13295246808 /src/panfrost/bifrost
parent10c18c6f69ed6ea8d82b300dc93c55e3180c1c74 (diff)
pan/bi: Add SUB.v2i16/SUB.v4i8 opcodes to disasm
Like their ADD counterparts. Only on ADD. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4890>
Diffstat (limited to 'src/panfrost/bifrost')
-rw-r--r--src/panfrost/bifrost/disassemble.c2
1 files changed, 2 insertions, 0 deletions
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 },