Mesa (master): i965/disasm: Show jump count for if/iff/halt.
Matt Turner
mattst88 at kemper.freedesktop.org
Fri Aug 29 02:07:26 UTC 2014
Module: Mesa
Branch: master
Commit: 4fcefac7531dbf2b17c0dc133ba52505486c936e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4fcefac7531dbf2b17c0dc133ba52505486c936e
Author: Matt Turner <mattst88 at gmail.com>
Date: Mon Aug 25 18:40:24 2014 -0700
i965/disasm: Show jump count for if/iff/halt.
These instructions don't have pop count.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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));
More information about the mesa-commit
mailing list