vc4: Add separate write-after-read dependency tracking for pairing.
authorEric Anholt <eric@anholt.net>
Tue, 2 Dec 2014 23:42:58 +0000 (15:42 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 5 Dec 2014 18:53:53 +0000 (10:53 -0800)
commit6f32deb538b1b62ff6d5d1212105bbe8d6adce72
tree28075bce544580b13856aa78b00e49c3bc48be68
parent042962df2d058c4dd4e45b7deaa3b4519141758e
vc4: Add separate write-after-read dependency tracking for pairing.

If an operation is the last one to read a register, the instruction
containing it can also include the op that has the next write to that
register.

total instructions in shared programs: 57486 -> 56995 (-0.85%)
instructions in affected programs:     43004 -> 42513 (-1.14%)
src/gallium/drivers/vc4/vc4_qpu_schedule.c