mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
i965: Add disasm for gen6+ UIP/JIP on BREAK/CONT/HALT.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
c0795742a3
commit
bddb2edab6
1 changed files with 4 additions and 0 deletions
|
|
@ -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_ENDIF ||
|
||||||
inst->header.opcode == BRW_OPCODE_WHILE)) {
|
inst->header.opcode == BRW_OPCODE_WHILE)) {
|
||||||
format (file, " %d", inst->bits1.branch_gen6.jump_count);
|
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) {
|
} else if (inst->header.opcode == BRW_OPCODE_JMPI) {
|
||||||
format (file, " %d", inst->bits3.d);
|
format (file, " %d", inst->bits3.d);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue