Re: [Mesa-dev] [PATCH 06/57] i965/vec4: Add wrapper functions for vec4_instruction::regs_read and ::regs_written.

2016-09-09 Thread Iago Toral
On Thu, 2016-09-08 at 18:32 -0700, Francisco Jerez wrote: > Iago Toral writes: > > > > > On Wed, 2016-09-07 at 18:48 -0700, Francisco Jerez wrote: > > > > > > This is in preparation for dropping vec4_instruction::regs_read > > > and > > > ::regs_written in favor of more

Re: [Mesa-dev] [PATCH 06/57] i965/vec4: Add wrapper functions for vec4_instruction::regs_read and ::regs_written.

2016-09-08 Thread Francisco Jerez
Iago Toral writes: > On Wed, 2016-09-07 at 18:48 -0700, Francisco Jerez wrote: >> This is in preparation for dropping vec4_instruction::regs_read and >> ::regs_written in favor of more accurate alternatives expressed in >> byte units.  The main reason these wrappers are useful

Re: [Mesa-dev] [PATCH 06/57] i965/vec4: Add wrapper functions for vec4_instruction::regs_read and ::regs_written.

2016-09-08 Thread Iago Toral
On Wed, 2016-09-07 at 18:48 -0700, Francisco Jerez wrote: > This is in preparation for dropping vec4_instruction::regs_read and > ::regs_written in favor of more accurate alternatives expressed in > byte units.  The main reason these wrappers are useful is that a > number of optimization passes

[Mesa-dev] [PATCH 06/57] i965/vec4: Add wrapper functions for vec4_instruction::regs_read and ::regs_written.

2016-09-07 Thread Francisco Jerez
This is in preparation for dropping vec4_instruction::regs_read and ::regs_written in favor of more accurate alternatives expressed in byte units. The main reason these wrappers are useful is that a number of optimization passes implement dataflow analysis with register granularity, so these