[Mesa-dev] [PATCH 39/95] i965/vec4: dump the instruction execution size

Francisco Jerez currojerez at riseup.net
Wed Aug 3 22:06:49 UTC 2016


Reviewed-by: Francisco Jerez <currojerez at riseup.net>

Iago Toral Quiroga <itoral at igalia.com> writes:

> ---
>  src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> index c55d594..8316691 100644
> --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
> @@ -1410,7 +1410,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) {
> -- 
> 2.7.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160803/619546c3/attachment.sig>


More information about the mesa-dev mailing list