summaryrefslogtreecommitdiff
path: root/assembler/brw_eu.h
diff options
context:
space:
mode:
Diffstat (limited to 'assembler/brw_eu.h')
-rw-r--r--assembler/brw_eu.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/assembler/brw_eu.h b/assembler/brw_eu.h
index f3e99faa..6d656a4d 100644
--- a/assembler/brw_eu.h
+++ b/assembler/brw_eu.h
@@ -34,6 +34,8 @@
#define BRW_EU_H
#include <stdbool.h>
+#include <stdio.h>
+#include "gen4asm.h"
#include "brw_context.h"
#include "brw_structs.h"
#include "brw_defines.h"
@@ -383,6 +385,20 @@ 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,
+ struct brw_compact_instruction *src);
+bool brw_try_compact_instruction(struct brw_compile *p,
+ struct brw_compact_instruction *dst,
+ struct brw_instruction *src);
+
+void brw_debug_compact_uncompact(struct intel_context *intel,
+ struct brw_instruction *orig,
+ struct brw_instruction *uncompacted);
+
/* brw_optimize.c */
void brw_optimize(struct brw_compile *p);
void brw_remove_duplicate_mrf_moves(struct brw_compile *p);