i965/fs: Keep track of flag dependencies with byte granularity during scheduling.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 19 May 2016 05:13:52 +0000 (22:13 -0700)
committerFrancisco Jerez <currojerez@riseup.net>
Sat, 28 May 2016 06:29:04 +0000 (23:29 -0700)
commitecd7a7255aa1d6c313ead14e1b472c073c7111ac
treebb4b0b92bad47f89218304954818ae63f5da6c3e
parent0fec265373f269d116f6d4de900b208fffabe2a1
i965/fs: Keep track of flag dependencies with byte granularity during scheduling.

This prevents false dependencies from being created between
instructions that write disjoint 8-bit portions of the flag register
and OTOH should make sure that the scheduler considers dependencies
between instructions that write or read multiple flag subregisters
at once (e.g. 32-wide predication or conditional mods).

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp