From: Iago Toral Quiroga Date: Mon, 30 May 2016 11:36:30 +0000 (+0200) Subject: i965/vec4: dump the instruction execution size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29dd5cf9d64ac998cb313db8a908272a6154ec46;p=mesa.git i965/vec4: dump the instruction execution size Reviewed-by: Francisco Jerez Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 65438f702d7..7bdfc4edcab 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -1437,7 +1437,8 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) pred_ctrl_align16[inst->predicate]); } - fprintf(file, "%s", brw_instruction_name(devinfo, inst->opcode)); + fprintf(file, "%s(%d)", brw_instruction_name(devinfo, inst->opcode), + inst->exec_size); if (inst->saturate) fprintf(file, ".sat"); if (inst->conditional_mod) {