Re: [Mesa-dev] [PATCH v5] i965: add opportunistic behaviour to opt_vector_float()

2016-03-04 Thread Matt Turner
On Wed, Mar 2, 2016 at 4:21 AM, Juan A. Suarez Romero wrote: > opt_vector_float() transforms several scalar MOV operations to a single > vectorial MOV. > > This is done when those MOV covers all the components of the destination > register. So something like: > > mov vgrf3.0.xy:D, 0D > mov vgrf3.0

Re: [Mesa-dev] [PATCH v5] i965: add opportunistic behaviour to opt_vector_float()

2016-03-02 Thread Juan A. Suarez Romero
On Wed, 2016-03-02 at 13:21 +0100, Juan A. Suarez Romero wrote: > opt_vector_float() transforms several scalar MOV operations to a > single > vectorial MOV. > I had sent this patch a couple of months ago, but seems I lost its track. So I've rebased it, check it still gets some improvement, and up

[Mesa-dev] [PATCH v5] i965: add opportunistic behaviour to opt_vector_float()

2016-03-02 Thread Juan A. Suarez Romero
opt_vector_float() transforms several scalar MOV operations to a single vectorial MOV. This is done when those MOV covers all the components of the destination register. So something like: mov vgrf3.0.xy:D, 0D mov vgrf3.0.w:D, 1065353216D mov vgrf3.0.z:D, 0D is transformed in: mov vgrf3.0:F, [0