Re: [Mesa-dev] [PATCH] nir: lower fexp2(fmul(flog2(a), 2)) to fmul(a, a)

2018-02-21 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Wed, Feb 7, 2018 at 10:29 AM, Samuel Pitoiset wrote: > > > On 02/06/2018 12:29 AM, Ian Romanick wrote: > >> Do you have any data from shader-db for this change (and the other patch)? >> > > We didn't see any changes for this patch on ivy bridge, but it helps wh

Re: [Mesa-dev] [PATCH] nir: lower fexp2(fmul(flog2(a), 2)) to fmul(a, a)

2018-02-07 Thread Samuel Pitoiset
On 02/06/2018 12:29 AM, Ian Romanick wrote: Do you have any data from shader-db for this change (and the other patch)? We didn't see any changes for this patch on ivy bridge, but it helps when fpow is lowered. shader-db results for the other patch https://hastebin.com/gajajodebo.hs on ivy

Re: [Mesa-dev] [PATCH] nir: lower fexp2(fmul(flog2(a), 2)) to fmul(a, a)

2018-02-05 Thread Ian Romanick
Do you have any data from shader-db for this change (and the other patch)? On 02/05/2018 06:08 AM, Samuel Pitoiset wrote: > Similar for the 4 case. > > Suggested by Bas. > > Signed-off-by: Samuel Pitoiset > --- > src/compiler/nir/nir_opt_algebraic.py | 2 ++ > 1 file changed, 2 insertions(+) >

[Mesa-dev] [PATCH] nir: lower fexp2(fmul(flog2(a), 2)) to fmul(a, a)

2018-02-05 Thread Samuel Pitoiset
Similar for the 4 case. Suggested by Bas. Signed-off-by: Samuel Pitoiset --- src/compiler/nir/nir_opt_algebraic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/nir/nir_opt_algebraic.py b/src/compiler/nir/nir_opt_algebraic.py index 6dc19d9b12..b30d1df199 100644 --- a/src/c