Re: [Mesa-dev] [PATCH 07/12] intel/compiler: More peephole select

2018-07-02 Thread Ian Romanick
On 06/28/2018 03:25 PM, Caio Marcelo de Oliveira Filho wrote: > Hi, > >> diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c >> index 67c062d91f5..6a0d4090fa7 100644 >> --- a/src/intel/compiler/brw_nir.c >> +++ b/src/intel/compiler/brw_nir.c >> @@ -557,7 +557,22 @@ brw_nir_opt

Re: [Mesa-dev] [PATCH 07/12] intel/compiler: More peephole select

2018-06-28 Thread Caio Marcelo de Oliveira Filho
Hi, > diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c > index 67c062d91f5..6a0d4090fa7 100644 > --- a/src/intel/compiler/brw_nir.c > +++ b/src/intel/compiler/brw_nir.c > @@ -557,7 +557,22 @@ brw_nir_optimize(nir_shader *nir, const struct > brw_compiler *compiler, >

[Mesa-dev] [PATCH 07/12] intel/compiler: More peephole select

2018-06-27 Thread Ian Romanick
From: Ian Romanick Shader-db results: The one shader hurt for instructions is a compute shader that had both spills and fills hurt. The other shader that had spill hurt also had fills helped by more. Skylake, Broadwell, and Haswell had similar results. (Skylake shown) total instructions in sha