On Wednesday, August 10, 2016 10:58:49 AM PDT Ian Romanick wrote:
> On 08/09/2016 07:30 PM, Kenneth Graunke wrote:
> > On Haswell (GL 3.3):
> > 
> > total instructions in shared programs: 6211485 -> 6211427 (-0.00%)
> > instructions in affected programs: 16260 -> 16202 (-0.36%)
> > helped: 25
> > HURT: 37
> > 
> > On Broadwell (GL 4.4):
> > 
> > total instructions in shared programs: 11640288 -> 11640218 (-0.00%)
> > instructions in affected programs: 16313 -> 16243 (-0.43%)
> > helped: 27
> > HURT: 37
> 
> Interesting... I had a similar version of this that worked on arbitrary
> length sequences of (b2f(a_0) + .. b2f(a_n)), but I didn't get any
> benefit.  I also had tests for a couple other relational operators with
> 0 that didn't see benefit.  Maybe one of us should try to revive my old,
> more generic series at some point.
> 
> For now, this patch is
> 
> Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>

I believe I first saw this sequence after my bcsel -1.0 -0.0 optimization.

I also imported over 11,000 more shaders recently - probably after
you last did this experiment.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to