aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-08-25 18:40:24 -0700
committerMatt Turner <[email protected]>2014-08-28 19:06:27 -0700
commit4fcefac7531dbf2b17c0dc133ba52505486c936e (patch)
treecbe8739a724efd1d70fe48f1a7b4c3b8f91df9e0 /src/mesa/drivers/dri
parentfb2fddefce75078bf6b1a904a65efc46c9ee6088 (diff)
i965/disasm: Show jump count for if/iff/halt.
These instructions don't have pop count. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 4374278bfa5..5a56591f0ad 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1259,7 +1259,7 @@ brw_disassemble_inst(FILE *file, struct brw_context *brw, brw_inst *inst,
opcode == BRW_OPCODE_IFF ||
opcode == BRW_OPCODE_HALT)) {
pad(file, 16);
- format(file, "Jump: %d", brw_inst_gen4_pop_count(brw, inst));
+ format(file, "Jump: %d", brw_inst_gen4_jump_count(brw, inst));
} else if (brw->gen < 6 && opcode == BRW_OPCODE_ENDIF) {
pad(file, 16);
format(file, "Pop: %d", brw_inst_gen4_pop_count(brw, inst));