[Mesa-dev] [PATCH] i965/fs: Use regs_read/written for post-RA scheduling in calculate_deps

Matt Turner mattst88 at gmail.com
Fri Nov 6 12:22:56 PST 2015


On Fri, Nov 6, 2015 at 10:59 AM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> Previously, we were assuming that everything read/wrote exactly 1 logical
> GRF (1 in SIMD8 and 2 in SIMD16).  This isn't actually true.  In
> particular, the PLN instruction reads 2 logical registers in one of the
> components.  This commit changes post-RA scheduling to use regs_read and
> regs_written instead so that we add enough dependencies.

Yep, this looks spot on.

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list