From 5c03340fd1a12c42fce43ba4060f39706663d541 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 4 May 2020 11:02:33 -0400 Subject: pan/bi: Fix DISCARD ops in disasm Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/disassemble.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/panfrost/bifrost/disassemble.c') diff --git a/src/panfrost/bifrost/disassemble.c b/src/panfrost/bifrost/disassemble.c index 6205128ee6e..38fcb8adc85 100644 --- a/src/panfrost/bifrost/disassemble.c +++ b/src/panfrost/bifrost/disassemble.c @@ -1107,12 +1107,15 @@ static const struct add_op_info add_op_infos[] = { { 0x17d90, "ADD.i32.u16.X", ADD_TWO_SRC }, { 0x17dc0, "ADD.i32.i16.Y", ADD_TWO_SRC }, { 0x17dd0, "ADD.i32.u16.Y", ADD_TWO_SRC }, - { 0x18000, "LD_VAR_ADDR", ADD_VARYING_ADDRESS, true }, - { 0x19181, "DISCARD.FEQ.f32", ADD_TWO_SRC, true }, - { 0x19189, "DISCARD.FNE.f32", ADD_TWO_SRC, true }, - { 0x1918C, "DISCARD.GL.f32", ADD_TWO_SRC, true }, /* Consumes ICMP.GL/etc with fixed 0 argument */ - { 0x19190, "DISCARD.FLE.f32", ADD_TWO_SRC, true }, - { 0x19198, "DISCARD.FLT.f32", ADD_TWO_SRC, true }, + { 0x18000, "LD_VAR_ADDR", ADD_VARYING_ADDRESS, false }, + { 0x19100, "DISCARD.FEQ.f16", ADD_TWO_SRC, false }, + { 0x19188, "DISCARD.FNE.f16", ADD_TWO_SRC, false }, + { 0x19110, "DISCARD.FLE.f16", ADD_TWO_SRC, false }, + { 0x19118, "DISCARD.FLT.f16", ADD_TWO_SRC, false }, + { 0x19180, "DISCARD.FEQ.f32", ADD_TWO_SRC, false }, + { 0x19188, "DISCARD.FNE.f32", ADD_TWO_SRC, false }, + { 0x19190, "DISCARD.FLE.f32", ADD_TWO_SRC, false }, + { 0x19198, "DISCARD.FLT.f32", ADD_TWO_SRC, false }, { 0x191e8, "ATEST.f32", ADD_TWO_SRC, true }, { 0x191f0, "ATEST.X.f16", ADD_TWO_SRC, true }, { 0x191f8, "ATEST.Y.f16", ADD_TWO_SRC, true }, -- cgit v1.2.3