i965: Add support for instruction compaction on Gen7.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 11 Feb 2012 00:32:56 +0000 (16:32 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 17 Sep 2012 19:32:52 +0000 (12:32 -0700)
commitbce72170ea2bf6b9bab09fd0febb71475dcb5609
treed1292cc648625a139d48bc341206bdea7337785b
parentf25aefcebe9534a4cc711c35d77d5da8e82d6343
i965: Add support for instruction compaction on Gen7.

Reduces l4d2 program size from 1195kb to 919kb.  Improves performance by 0.22%
+/- 0.11% (n=70).

v2: Rebase on compaction v2, fix up flag reg handling (by anholt).
v3: Fix uncompaction of the flag register number.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_compact.c