i965/disasm: Show jump count for if/iff/halt.
authorMatt Turner <mattst88@gmail.com>
Tue, 26 Aug 2014 01:40:24 +0000 (18:40 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 29 Aug 2014 02:06:27 +0000 (19:06 -0700)
These instructions don't have pop count.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_disasm.c

index 4374278bfa5ca932424af50afcf2ab5a3e35ac37..5a56591f0ad07c11eb0c19bece704a9cec6f5af8 100644 (file)
@@ -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));