[Mesa-dev] [PATCH 4/6] i965/fs: Implement SIMD16 integer multiplies on Gen 7.
Ian Romanick
idr at freedesktop.org
Tue Sep 30 16:43:09 PDT 2014
On 09/30/2014 03:04 PM, Matt Turner wrote:
> 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.
Okay. There probably isn't value in doing something generic, then.
> 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