Re: [Mesa-dev] [PATCH v2 1/3] i965: add FS_OPCODE_OVERWRITE_DST

2013-10-16 Thread Chia-I Wu
On Wed, Oct 16, 2013 at 6:26 AM, Eric Anholt wrote: > Chia-I Wu writes: > >> From: Chia-I Wu >> >> FS_OPCODE_OVERWRITE_DST is used to indicate that the destination register is >> (completely) overwritten. No code is emitted, but the liveness analysis can >> use it as a hint to add the destinati

Re: [Mesa-dev] [PATCH v2 1/3] i965: add FS_OPCODE_OVERWRITE_DST

2013-10-16 Thread Chia-I Wu
On Wed, Oct 16, 2013 at 2:08 AM, Ian Romanick wrote: > On 10/09/2013 12:06 AM, Chia-I Wu wrote: >> From: Chia-I Wu >> >> FS_OPCODE_OVERWRITE_DST is used to indicate that the destination register is >> (completely) overwritten. No code is emitted, but the liveness analysis can >> use it as a hint

Re: [Mesa-dev] [PATCH v2 1/3] i965: add FS_OPCODE_OVERWRITE_DST

2013-10-15 Thread Eric Anholt
Chia-I Wu writes: > From: Chia-I Wu > > FS_OPCODE_OVERWRITE_DST is used to indicate that the destination register is > (completely) overwritten. No code is emitted, but the liveness analysis can > use it as a hint to add the destination register to DEF bitset. This is > needed because it is ha

Re: [Mesa-dev] [PATCH v2 1/3] i965: add FS_OPCODE_OVERWRITE_DST

2013-10-15 Thread Ian Romanick
On 10/09/2013 12:06 AM, Chia-I Wu wrote: > From: Chia-I Wu > > FS_OPCODE_OVERWRITE_DST is used to indicate that the destination register is > (completely) overwritten. No code is emitted, but the liveness analysis can > use it as a hint to add the destination register to DEF bitset. This is > n

[Mesa-dev] [PATCH v2 1/3] i965: add FS_OPCODE_OVERWRITE_DST

2013-10-09 Thread Chia-I Wu
From: Chia-I Wu FS_OPCODE_OVERWRITE_DST is used to indicate that the destination register is (completely) overwritten. No code is emitted, but the liveness analysis can use it as a hint to add the destination register to DEF bitset. This is needed because it is hard to figure out if some partia