Re: [Mesa-dev] [PATCH 1/6] nir: Convert ineg(b2i(a)) to a if it's a boolean.

2016-08-10 Thread Kenneth Graunke
On Wednesday, August 10, 2016 10:53:17 AM PDT Ian Romanick wrote: > My most "recent" work in this area is in my appropriately named > assume-CMS-in-precompile branch. I should just rename all my branches > idr-got-distracted-#. Thanks, I tried to look for your recent work on this, but in addition

Re: [Mesa-dev] [PATCH 1/6] nir: Convert ineg(b2i(a)) to a if it's a boolean.

2016-08-10 Thread Ian Romanick
My most "recent" work in this area is in my appropriately named assume-CMS-in-precompile branch. I should just rename all my branches idr-got-distracted-#. On 08/09/2016 07:30 PM, Kenneth Graunke wrote: > On Haswell (GL 3.3): > > total instructions in shared programs: 6211678 -> 6211584 (-0.00%)

Re: [Mesa-dev] [PATCH 1/6] nir: Convert ineg(b2i(a)) to a if it's a boolean.

2016-08-10 Thread Erik Faye-Lund
On Wed, Aug 10, 2016 at 5:40 PM, Jason Ekstrand wrote: > On Aug 10, 2016 1:00 AM, "Erik Faye-Lund" wrote: >> >> On Wed, Aug 10, 2016 at 4:30 AM, Kenneth Graunke >> wrote: >> > On Haswell (GL 3.3): >> > >> > total instructions in shared programs: 6211678 -> 6211584 (-0.00%) >> > instructions in a

Re: [Mesa-dev] [PATCH 1/6] nir: Convert ineg(b2i(a)) to a if it's a boolean.

2016-08-10 Thread Jason Ekstrand
On Aug 10, 2016 1:00 AM, "Erik Faye-Lund" wrote: > > On Wed, Aug 10, 2016 at 4:30 AM, Kenneth Graunke wrote: > > On Haswell (GL 3.3): > > > > total instructions in shared programs: 6211678 -> 6211584 (-0.00%) > > instructions in affected programs: 18968 -> 18874 (-0.50%) > > helped: 62 > > HURT:

Re: [Mesa-dev] [PATCH 1/6] nir: Convert ineg(b2i(a)) to a if it's a boolean.

2016-08-10 Thread Erik Faye-Lund
On Wed, Aug 10, 2016 at 4:30 AM, Kenneth Graunke wrote: > On Haswell (GL 3.3): > > total instructions in shared programs: 6211678 -> 6211584 (-0.00%) > instructions in affected programs: 18968 -> 18874 (-0.50%) > helped: 62 > HURT: 0 > LOST: 0 > GAINED: 4 > > On Broadwell (GL 4.4): > > total ins

[Mesa-dev] [PATCH 1/6] nir: Convert ineg(b2i(a)) to a if it's a boolean.

2016-08-09 Thread Kenneth Graunke
On Haswell (GL 3.3): total instructions in shared programs: 6211678 -> 6211584 (-0.00%) instructions in affected programs: 18968 -> 18874 (-0.50%) helped: 62 HURT: 0 LOST: 0 GAINED: 4 On Broadwell (GL 4.4): total instructions in shared programs: 11638930 -> 11638181 (-0.01%) instructions in af