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

Eric Anholt eric at anholt.net
Tue May 6 09:32:27 PDT 2014


Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com> 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 instruction scheduling, which I expect
to make performance worse.  What was the motivation for this?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140506/3e9e0698/attachment.sig>


More information about the mesa-dev mailing list