[Mesa-dev] [PATCH 4/6] i965/fs: Implement SIMD16 integer multiplies on Gen 7.

Matt Turner mattst88 at gmail.com
Tue Sep 30 15:04:09 PDT 2014


On Tue, Sep 30, 2014 at 2:26 PM, Ian Romanick <idr at freedesktop.org> wrote:
> Are there a bunch of cases where we double emit things for SIMD16?
> Would it make more sense to have a generic function that took a list of
> instructions, duplicated them, and did the force_uncompressed /
> force_sechalf modification?

Not many. Other than these, the only other things are the 3-src
instructions on SNB+IVB, and BFI instructions on Haswell. In those
cases, we can just double emit instructions in the generator.

These (addc, subb, integer multiplies) are weird and have to be
handled in the visitor because they use the accumulator and on Gen7
the accumulator doesn't handle integer data in SIMD16.

I'm going to have to rebase the last three on Jason's changes though,
so I'll resend them.


More information about the mesa-dev mailing list