Re: [Mesa-dev] [PATCH v2 3/5] nv50/ir: optimize imul/imad to xmads

2018-07-18 Thread Karol Herbst
some nitpicks, but with those fixed: Reviewed-by: Karol Herbst On Wed, Jul 18, 2018 at 7:05 PM, Rhys Perry wrote: > This hits the shader-db numbers a good bit, though a few xmads is way > faster than an imul or imad and the cost is mitigated by the next commit, > which optimizes many

[Mesa-dev] [PATCH v2 3/5] nv50/ir: optimize imul/imad to xmads

2018-07-18 Thread Rhys Perry
This hits the shader-db numbers a good bit, though a few xmads is way faster than an imul or imad and the cost is mitigated by the next commit, which optimizes many multiplications by immediates into shorter and less register heavy instructions than the xmads. total instructions in shared