From 4fcefac7531dbf2b17c0dc133ba52505486c936e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 25 Aug 2014 18:40:24 -0700 Subject: [PATCH] i965/disasm: Show jump count for if/iff/halt. These instructions don't have pop count. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.30.2