Re: [Mesa-dev] [PATCH v3] nvc0/ir: replace cvt instructions with add to improve shader performance

2019-01-28 Thread Ilia Mirkin
On Mon, Jan 28, 2019 at 4:21 PM Karol Herbst wrote: > > gives me an performance boost of 0.2% in pixmark_piano on my gk106, gm204 and > gp107. > > reduces the amount of generated convert instructions by roughly 30% in > shader-db. > > v2: only for 32 bit operations > move some common code out

[Mesa-dev] [PATCH v3] nvc0/ir: replace cvt instructions with add to improve shader performance

2019-01-28 Thread Karol Herbst
gives me an performance boost of 0.2% in pixmark_piano on my gk106, gm204 and gp107. reduces the amount of generated convert instructions by roughly 30% in shader-db. v2: only for 32 bit operations move some common code out of the switch handle OP_SAT with modifiers v3: only for registers