Re: [Mesa-dev] [PATCH 04/10] i965: Don't convert if/else to conditional adds on Gen6.

2011-12-06 Thread Eric Anholt
On Mon, 5 Dec 2011 14:24:08 -0800, Paul Berry wrote: > On 5 December 2011 11:54, Kenneth Graunke wrote: > > > On 12/05/2011 09:40 AM, Paul Berry wrote: > > > Normally when outputting instructions in SPF (single program flow) > > > mode, we convert IF and ELSE instructions to conditional ADD > >

Re: [Mesa-dev] [PATCH 04/10] i965: Don't convert if/else to conditional adds on Gen6.

2011-12-05 Thread Paul Berry
On 5 December 2011 11:54, Kenneth Graunke wrote: > On 12/05/2011 09:40 AM, Paul Berry wrote: > > Normally when outputting instructions in SPF (single program flow) > > mode, we convert IF and ELSE instructions to conditional ADD > > instructions applied to the IP register, since this lets us avoi

Re: [Mesa-dev] [PATCH 04/10] i965: Don't convert if/else to conditional adds on Gen6.

2011-12-05 Thread Kenneth Graunke
On 12/05/2011 09:40 AM, Paul Berry wrote: > Normally when outputting instructions in SPF (single program flow) > mode, we convert IF and ELSE instructions to conditional ADD > instructions applied to the IP register, since this lets us avoid > having to emit an ENDIF instruction (and, in Gen4, lets

[Mesa-dev] [PATCH 04/10] i965: Don't convert if/else to conditional adds on Gen6.

2011-12-05 Thread Paul Berry
Normally when outputting instructions in SPF (single program flow) mode, we convert IF and ELSE instructions to conditional ADD instructions applied to the IP register, since this lets us avoid having to emit an ENDIF instruction (and, in Gen4, lets us avoid using up precious space in the MaskStack