Re: [Mesa-dev] [PATCH 0/2] i965: Simulate MAD opcode with gen<6

2014-05-07 Thread Juha-Pekka Heikkilä
On Tue, May 6, 2014 at 7:32 PM, Eric Anholt wrote: > Juha-Pekka Heikkila writes: > >> These patches allow MAD opcode to be used with pre gen6 hardware. >> Instead of failing on emitting MAD there will be emitted MUL and ADD >> to simulate MAD. >> >> I tried this with piglit on ILK (gen5) and did

Re: [Mesa-dev] [PATCH 0/2] i965: Simulate MAD opcode with gen<6

2014-05-06 Thread Eric Anholt
Juha-Pekka Heikkila writes: > These patches allow MAD opcode to be used with pre gen6 hardware. > Instead of failing on emitting MAD there will be emitted MUL and ADD > to simulate MAD. > > I tried this with piglit on ILK (gen5) and did not see regression. This hides the MUL and ADD from instru

[Mesa-dev] [PATCH 0/2] i965: Simulate MAD opcode with gen<6

2014-05-06 Thread Juha-Pekka Heikkila
These patches allow MAD opcode to be used with pre gen6 hardware. Instead of failing on emitting MAD there will be emitted MUL and ADD to simulate MAD. I tried this with piglit on ILK (gen5) and did not see regression. Juha-Pekka Heikkila (2): i965/fs: Simulate MAD opcode with gen<6 i965/vec