Re: [Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-30 Thread Francisco Jerez
Ian Romanick writes: > On 06/30/2016 03:33 PM, Francisco Jerez wrote: >> Matt Turner writes: >> >>> On Wed, Jun 29, 2016 at 2:04 PM, Ian Romanick wrote: From: Ian Romanick This uses one

Re: [Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-30 Thread Ian Romanick
On 06/30/2016 03:33 PM, Francisco Jerez wrote: > Matt Turner writes: > >> On Wed, Jun 29, 2016 at 2:04 PM, Ian Romanick wrote: >>> From: Ian Romanick >>> >>> This uses one less instruction. >> >> Add FBH to the list of stupid

Re: [Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-30 Thread Ian Romanick
On 06/30/2016 03:33 PM, Francisco Jerez wrote: > Matt Turner writes: > >> On Wed, Jun 29, 2016 at 2:04 PM, Ian Romanick wrote: >>> From: Ian Romanick >>> >>> This uses one less instruction. >> >> Add FBH to the list of stupid

Re: [Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-30 Thread Matt Turner
On Thu, Jun 30, 2016 at 3:33 PM, Francisco Jerez wrote: > Matt Turner writes: > >> On Wed, Jun 29, 2016 at 2:04 PM, Ian Romanick wrote: >>> From: Ian Romanick >>> >>> This uses one less instruction. >>

Re: [Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-30 Thread Francisco Jerez
Matt Turner writes: > On Wed, Jun 29, 2016 at 2:04 PM, Ian Romanick wrote: >> From: Ian Romanick >> >> This uses one less instruction. > > Add FBH to the list of stupid instructions. > >> Signed-off-by: Ian Romanick

Re: [Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-30 Thread Matt Turner
On Wed, Jun 29, 2016 at 2:04 PM, Ian Romanick wrote: > From: Ian Romanick > > This uses one less instruction. Add FBH to the list of stupid instructions. > Signed-off-by: Ian Romanick > --- >

[Mesa-dev] [PATCH 15/24] i965: Use LZD to implement nir_op_ufind_msb

2016-06-29 Thread Ian Romanick
From: Ian Romanick This uses one less instruction. Signed-off-by: Ian Romanick --- src/mesa/drivers/dri/i965/brw_fs.h | 4 src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 3 +++