i965/sched: write-after-read dependencies are free
authorConnor Abbott <cwabbott0@gmail.com>
Sun, 7 Jun 2015 04:37:27 +0000 (00:37 -0400)
committerConnor Abbott <cwabbott0@gmail.com>
Fri, 30 Oct 2015 06:18:56 +0000 (02:18 -0400)
commit85fce2d2f50335b1d204dbaedc36cdd37164a9c0
treefc3742849ce9a717691feaf453ce56aab126cdb2
parent6f231fddff1661c2ca2cfb7bb7a0e6a970bcbf40
i965/sched: write-after-read dependencies are free

Although write-after-write dependencies have the same latency as
read-after-write dependencies due to how the register scoreboard works,
write-after-read dependencies aren't checked by the EU at all, so
they're purely a constraint on how the scheduler can order the
instructions.

v2: fix accumulator dependencies too.

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp