Re: [Mesa-dev] [PATCH 3/8] i965 gen6+: Use 1-wide null operands for IF instructions

2011-12-14 Thread Eric Anholt
On Wed, 14 Dec 2011 08:06:20 -0800, Paul Berry wrote: > On 14 December 2011 02:33, Kenneth Graunke wrote: > > I think the point is that the ARF null register doesn't have a value, so > > null<0,1,0> is just as good as null<4,4,1> or null<8,8,1>. Either way > > you get nothing and write nothing.

Re: [Mesa-dev] [PATCH 3/8] i965 gen6+: Use 1-wide null operands for IF instructions

2011-12-14 Thread Paul Berry
On 14 December 2011 02:33, Kenneth Graunke wrote: > On 12/13/2011 03:35 PM, Paul Berry wrote: > > The Sandy Bridge PRM, volume 4, part 2, section 5.3.10 ("5.3.10 > > Register Region Restrictions") contains the following restriction on > > the execution size and operand width of instructions: > >

Re: [Mesa-dev] [PATCH 3/8] i965 gen6+: Use 1-wide null operands for IF instructions

2011-12-14 Thread Kenneth Graunke
On 12/13/2011 03:35 PM, Paul Berry wrote: > The Sandy Bridge PRM, volume 4, part 2, section 5.3.10 ("5.3.10 > Register Region Restrictions") contains the following restriction on > the execution size and operand width of instructions: > >"3. ExecSize must be equal to or greater than Width." >

[Mesa-dev] [PATCH 3/8] i965 gen6+: Use 1-wide null operands for IF instructions

2011-12-13 Thread Paul Berry
The Sandy Bridge PRM, volume 4, part 2, section 5.3.10 ("5.3.10 Register Region Restrictions") contains the following restriction on the execution size and operand width of instructions: "3. ExecSize must be equal to or greater than Width." When emitting an IF instruction in single program flo