Re: [Mesa-dev] [PATCH] nv50/ir: optimise slct(t, f, set) to mov(set) or not(set)

2018-03-27 Thread Karol Herbst
just noticed I sent out the wrong version of that patch... On Tue, Mar 27, 2018 at 10:50 PM, Karol Herbst wrote: > From: Karol Herbst > > helps mainly Feral-ported games > > changes in shader-db: > total instructions in shared programs : 3940749 ->

Re: [Mesa-dev] [PATCH] nv50/ir: optimise slct(t, f, set) to mov(set) or not(set)

2018-03-27 Thread Karol Herbst
On Tue, Mar 27, 2018 at 11:04 PM, Ilia Mirkin wrote: > On Tue, Mar 27, 2018 at 4:50 PM, Karol Herbst wrote: >> From: Karol Herbst >> >> helps mainly Feral-ported games >> >> changes in shader-db: >> total instructions in shared

Re: [Mesa-dev] [PATCH] nv50/ir: optimise slct(t, f, set) to mov(set) or not(set)

2018-03-27 Thread Karol Herbst
On Tue, Mar 27, 2018 at 11:19 PM, Ian Romanick wrote: > It will be interesting to see if this still occurs after nouveau > finishes switching to NIR. There's a pattern in nir_opt_algebraic for this. > well there is no plan to switch to NIR for everything where we can use

Re: [Mesa-dev] [PATCH] nv50/ir: optimise slct(t, f, set) to mov(set) or not(set)

2018-03-27 Thread Ian Romanick
It will be interesting to see if this still occurs after nouveau finishes switching to NIR. There's a pattern in nir_opt_algebraic for this. On 03/27/2018 01:50 PM, Karol Herbst wrote: > From: Karol Herbst > > helps mainly Feral-ported games > > changes in shader-db: >

Re: [Mesa-dev] [PATCH] nv50/ir: optimise slct(t, f, set) to mov(set) or not(set)

2018-03-27 Thread Ilia Mirkin
On Tue, Mar 27, 2018 at 4:50 PM, Karol Herbst wrote: > From: Karol Herbst > > helps mainly Feral-ported games > > changes in shader-db: > total instructions in shared programs : 3940749 -> 3935015 (-0.15%) > total gprs used in shared programs:

[Mesa-dev] [PATCH] nv50/ir: optimise slct(t, f, set) to mov(set) or not(set)

2018-03-27 Thread Karol Herbst
From: Karol Herbst helps mainly Feral-ported games changes in shader-db: total instructions in shared programs : 3940749 -> 3935015 (-0.15%) total gprs used in shared programs: 481460 -> 481433 (-0.01%) total local used in shared programs : 27481 -> 27513 (0.12%)