From: Matt Turner Date: Tue, 26 Aug 2014 01:40:24 +0000 (-0700) Subject: i965/disasm: Show jump count for if/iff/halt. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fcefac7531dbf2b17c0dc133ba52505486c936e;p=mesa.git i965/disasm: Show jump count for if/iff/halt. These instructions don't have pop count. Reviewed-by: Kenneth Graunke --- 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));