Re: [Mesa-dev] [PATCH 2/6] i965/fs: Recognize nop-MOV instructions early.

2014-04-20 Thread Eric Anholt
Matt Turner writes: > And avoid rewriting other instructions unnecessarily. Removes a few > self-moves we weren't able to handle because they were components of a > large VGRF. > > instructions in affected programs: 830 -> 826 (-0.48%) > --- > src/mesa/drivers/dri/i965/brw_fs_register_coales

Re: [Mesa-dev] [PATCH 2/6] i965/fs: Recognize nop-MOV instructions early.

2014-04-17 Thread Kenneth Graunke
On 04/17/2014 02:45 PM, Matt Turner wrote: > On Thu, Apr 17, 2014 at 2:25 PM, Kenneth Graunke > wrote: >> On 04/16/2014 11:07 AM, Matt Turner wrote: >>> And avoid rewriting other instructions unnecessarily. Removes a few >>> self-moves we weren't able to handle because they were components of a >

Re: [Mesa-dev] [PATCH 2/6] i965/fs: Recognize nop-MOV instructions early.

2014-04-17 Thread Matt Turner
On Thu, Apr 17, 2014 at 2:25 PM, Kenneth Graunke wrote: > On 04/16/2014 11:07 AM, Matt Turner wrote: >> And avoid rewriting other instructions unnecessarily. Removes a few >> self-moves we weren't able to handle because they were components of a >> large VGRF. >> >> instructions in affected progra

Re: [Mesa-dev] [PATCH 2/6] i965/fs: Recognize nop-MOV instructions early.

2014-04-17 Thread Kenneth Graunke
On 04/16/2014 11:07 AM, Matt Turner wrote: > And avoid rewriting other instructions unnecessarily. Removes a few > self-moves we weren't able to handle because they were components of a > large VGRF. > > instructions in affected programs: 830 -> 826 (-0.48%) > --- > src/mesa/drivers/dri/i965/

[Mesa-dev] [PATCH 2/6] i965/fs: Recognize nop-MOV instructions early.

2014-04-16 Thread Matt Turner
And avoid rewriting other instructions unnecessarily. Removes a few self-moves we weren't able to handle because they were components of a large VGRF. instructions in affected programs: 830 -> 826 (-0.48%) --- src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp | 16 +--- 1 fil