aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/midgard/midgard_print.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-12-30 19:02:23 -0500
committerAlyssa Rosenzweig <[email protected]>2019-12-31 03:26:24 +0000
commita0d65d860db892352ee5848ed28c5d5b75798df7 (patch)
tree3897fb28308b805b54505acfd4e11e23e5472f74 /src/panfrost/midgard/midgard_print.c
parent02f503ef008f22786e7466a20b33b6d13dbc7ce7 (diff)
pan/midgard: Remove prepacked_branch
It's an ugly hack that's no longer used. Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/midgard/midgard_print.c')
-rw-r--r--src/panfrost/midgard/midgard_print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/midgard_print.c b/src/panfrost/midgard/midgard_print.c
index 4f3a52ebb91..227b88c7055 100644
--- a/src/panfrost/midgard/midgard_print.c
+++ b/src/panfrost/midgard/midgard_print.c
@@ -112,7 +112,7 @@ mir_print_instruction(midgard_instruction *ins)
"goto", "break", "continue", "discard"
};
- if (ins->compact_branch && !ins->prepacked_branch)
+ if (ins->compact_branch)
name = branch_target_names[ins->branch.target_type];
if (ins->unit)
@@ -140,7 +140,7 @@ mir_print_instruction(midgard_instruction *ins)
assert(0);
}
- if (ins->invert || (ins->compact_branch && !ins->prepacked_branch && ins->branch.invert_conditional))
+ if (ins->invert || (ins->compact_branch && ins->branch.invert_conditional))
printf(".not");
printf(" ");