mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 06:13:04 +00:00
assembler: Import brw_eu_compact.c
To be able to import brw_eu.c and brw_eu_emit.c later on. This could be used to get the assembler generate compact instructions at some point. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user