i965: Rename brw_disasm/gen8_disassemble to brw/gen8_disassemble_inst.
We're going to use "disassemble" for the function that disassembles the whole program. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
4a2f0e305c
commit
4b04152db0
|
@ -1573,7 +1573,8 @@ void brw_fs_alloc_reg_sets(struct intel_screen *screen);
|
|||
void brw_vec4_alloc_reg_set(struct intel_screen *screen);
|
||||
|
||||
/* brw_disasm.c */
|
||||
int brw_disasm (FILE *file, struct brw_instruction *inst, int gen, bool is_compacted);
|
||||
int brw_disassemble_inst(FILE *file, struct brw_instruction *inst,
|
||||
int gen, bool is_compacted);
|
||||
|
||||
/* brw_vs.c */
|
||||
gl_clip_plane *brw_select_clip_planes(struct gl_context *ctx);
|
||||
|
|
|
@ -1119,7 +1119,9 @@ static int qtr_ctrl(FILE *file, struct brw_instruction *inst)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int brw_disasm (FILE *file, struct brw_instruction *inst, int gen, bool is_compacted)
|
||||
int
|
||||
brw_disassemble_inst(FILE *file,
|
||||
struct brw_instruction *inst, int gen, bool is_compacted)
|
||||
{
|
||||
int err = 0;
|
||||
int space = 0;
|
||||
|
|
|
@ -286,6 +286,6 @@ brw_dump_compile(struct brw_context *brw, void *assembly, int start, int end, FI
|
|||
offset += 16;
|
||||
}
|
||||
|
||||
brw_disasm(out, insn, brw->gen, compacted);
|
||||
brw_disassemble_inst(out, insn, brw->gen, compacted);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -585,10 +585,10 @@ void brw_debug_compact_uncompact(struct brw_context *brw,
|
|||
brw->gen);
|
||||
|
||||
fprintf(stderr, " before: ");
|
||||
brw_disasm(stderr, orig, brw->gen, true);
|
||||
brw_disassemble_inst(stderr, orig, brw->gen, true);
|
||||
|
||||
fprintf(stderr, " after: ");
|
||||
brw_disasm(stderr, uncompacted, brw->gen, false);
|
||||
brw_disassemble_inst(stderr, uncompacted, brw->gen, false);
|
||||
|
||||
uint32_t *before_bits = (uint32_t *)orig;
|
||||
uint32_t *after_bits = (uint32_t *)uncompacted;
|
||||
|
|
|
@ -806,7 +806,7 @@ qtr_ctrl(FILE *file, struct gen8_instruction *inst)
|
|||
}
|
||||
|
||||
int
|
||||
gen8_disassemble(FILE *file, struct gen8_instruction *inst, int gen)
|
||||
gen8_disassemble_inst(FILE *file, struct gen8_instruction *inst, int gen)
|
||||
{
|
||||
int err = 0;
|
||||
int space = 0;
|
||||
|
|
|
@ -638,6 +638,6 @@ gen8_dump_compile(struct brw_context *brw, void *assembly,
|
|||
((uint32_t *) inst)[0]);
|
||||
}
|
||||
|
||||
gen8_disassemble(stderr, inst, brw->gen);
|
||||
gen8_disassemble_inst(stderr, inst, brw->gen);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -367,7 +367,7 @@ void gen8_set_dp_scratch_message(const struct brw_context *brw,
|
|||
bool end_of_thread);
|
||||
|
||||
/** Disassemble the instruction. */
|
||||
int gen8_disassemble(FILE *file, struct gen8_instruction *inst, int gen);
|
||||
int gen8_disassemble_inst(FILE *file, struct gen8_instruction *inst, int gen);
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue