[Mesa-dev] [PATCH 3/4] i965/fs: Try to emit LINE instructions on Gen <= 5.

Ian Romanick idr at freedesktop.org
Thu Dec 4 19:04:51 PST 2014


On 12/04/2014 04:37 PM, Matt Turner wrote:
> The LINE instruction performs a multiply-add instruction (a * b + c)
> where b and c are scalar arguments. It reads b and c from offsets in
> src0 such that you can load them (it they're representable) as a
                                    if?

> vector-float immediate with a single instruction.
> 
> Hurts some programs, but that'll all get better once we CSE the
> vector-float MOVs in the next patch.
> 
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77544



More information about the mesa-dev mailing list