On Tue, Sep 30, 2014 at 2:26 PM, Ian Romanick <i...@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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev