i965/vec4: dump the instruction execution size
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 30 May 2016 11:36:30 +0000 (13:36 +0200)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:51 +0000 (11:26 +0100)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp

index 65438f702d776af3cad8ea9f8d68f429532ee43f..7bdfc4edcab5beef3d888dd5eb11d4ff416e9b49 100644 (file)
@@ -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) {