[Mesa-dev] [PATCH 2/4] i965/fs: Disable CSE on instructions writing to HW_REG.

2013-09-26 Thread Matt Turner
CSE would otherwise combine the two mul(8) emitted by [iu]mulExtended: mul(8) acc0 x y mach(8) null x y mov(8) lsb acc0 ... mul(8) acc0 x y mach(8) msb x y Into: mul(8) temp x y mov(8) acc0 temp mach(8) null x y

Re: [Mesa-dev] [PATCH 2/4] i965/fs: Disable CSE on instructions writing to HW_REG.

2013-09-26 Thread Eric Anholt
Matt Turner matts...@gmail.com writes: CSE would otherwise combine the two mul(8) emitted by [iu]mulExtended: mul(8) acc0 x y mach(8) null x y mov(8) lsb acc0 ... mul(8) acc0 x y mach(8) msb x y Into: mul(8) temp x y mov(8) acc0

Re: [Mesa-dev] [PATCH 2/4] i965/fs: Disable CSE on instructions writing to HW_REG.

2013-09-26 Thread Kenneth Graunke
On 09/26/2013 03:00 PM, Matt Turner wrote: CSE would otherwise combine the two mul(8) emitted by [iu]mulExtended: mul(8) acc0 x y mach(8) null x y mov(8) lsb acc0 ... mul(8) acc0 x y mach(8) msb x y Into: mul(8) temp x y mov(8)