From bce72170ea2bf6b9bab09fd0febb71475dcb5609 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 10 Feb 2012 16:32:56 -0800 Subject: 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 --- src/mesa/drivers/dri/i965/brw_eu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/dri/i965/brw_eu.h') diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 21967bd0cd7..c9e7590a495 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -1108,6 +1108,7 @@ void brw_set_uip_jip(struct brw_compile *p); uint32_t brw_swap_cmod(uint32_t cmod); /* brw_eu_compact.c */ +void brw_init_compaction_tables(struct intel_context *intel); void brw_compact_instructions(struct brw_compile *p); void brw_uncompact_instruction(struct intel_context *intel, struct brw_instruction *dst, -- cgit v1.2.3