[Mesa-dev] [PATCH 4/4] i965/disasm: Show jump count for if/iff/halt.

Matt Turner mattst88 at gmail.com
Mon Aug 25 18:41:57 PDT 2014


These instructions don't have pop count.
---
 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 4374278..5a56591 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));
-- 
1.8.5.5



More information about the mesa-dev mailing list