Re: [Mesa-dev] [PATCH 03/23] i965/fs: Use MOV.nz instead of AND.nz to generate flag on GEN6+

2015-04-09 Thread Ian Romanick
On 04/06/2015 11:35 AM, Matt Turner wrote: > On Fri, Mar 20, 2015 at 1:58 PM, Ian Romanick wrote: >> From: Ian Romanick >> >> On SNB+, the Boolean result is always 0 or ~0, so MOV.nz produces the >> same effect as AND.nz. However, later cmod propagation passes can >> handle the MOV.nz, but they

Re: [Mesa-dev] [PATCH 03/23] i965/fs: Use MOV.nz instead of AND.nz to generate flag on GEN6+

2015-04-06 Thread Ian Romanick
On 04/06/2015 11:35 AM, Matt Turner wrote: > On Fri, Mar 20, 2015 at 1:58 PM, Ian Romanick wrote: >> From: Ian Romanick >> >> On SNB+, the Boolean result is always 0 or ~0, so MOV.nz produces the >> same effect as AND.nz. However, later cmod propagation passes can >> handle the MOV.nz, but they

Re: [Mesa-dev] [PATCH 03/23] i965/fs: Use MOV.nz instead of AND.nz to generate flag on GEN6+

2015-04-06 Thread Matt Turner
On Fri, Mar 20, 2015 at 1:58 PM, Ian Romanick wrote: > From: Ian Romanick > > On SNB+, the Boolean result is always 0 or ~0, so MOV.nz produces the > same effect as AND.nz. However, later cmod propagation passes can > handle the MOV.nz, but they cannot handle the AND.nz because the source > is n

[Mesa-dev] [PATCH 03/23] i965/fs: Use MOV.nz instead of AND.nz to generate flag on GEN6+

2015-03-20 Thread Ian Romanick
From: Ian Romanick On SNB+, the Boolean result is always 0 or ~0, so MOV.nz produces the same effect as AND.nz. However, later cmod propagation passes can handle the MOV.nz, but they cannot handle the AND.nz because the source is not generated by a CMP. It's worth noting that this commit was a