From: Eric Anholt Date: Mon, 12 Mar 2012 19:21:20 +0000 (-0700) Subject: i965: Add disasm for gen6+ UIP/JIP on BREAK/CONT/HALT. X-Git-Tag: mesa-9.0~2767 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bddb2edab616d30f7894cfff7071a70d273a848e;p=platform%2Fupstream%2Fmesa.git i965: Add disasm for gen6+ UIP/JIP on BREAK/CONT/HALT. 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 187bc0a..aebfa73 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++ b/src/mesa/drivers/dri/i965/brw_disasm.c @@ -1118,6 +1118,10 @@ int brw_disasm (FILE *file, struct brw_instruction *inst, int gen) inst->header.opcode == BRW_OPCODE_ENDIF || inst->header.opcode == BRW_OPCODE_WHILE)) { format (file, " %d", inst->bits1.branch_gen6.jump_count); + } else if (gen >= 6 && (inst->header.opcode == BRW_OPCODE_BREAK || + inst->header.opcode == BRW_OPCODE_CONTINUE || + inst->header.opcode == BRW_OPCODE_HALT)) { + format (file, " %d %d", inst->bits3.break_cont.uip, inst->bits3.break_cont.jip); } else if (inst->header.opcode == BRW_OPCODE_JMPI) { format (file, " %d", inst->bits3.d); }