#include "ir3_compiler.h"
#include "ir3_nir.h"
+#include "isa/isa.h"
+
#include "disasm.h"
int
*/
info->size = align(info->size, compiler->instr_align * sizeof(instr_t));
- bin = ir3_assemble(v);
+ bin = isa_assemble(v);
if (!bin)
return NULL;
const_state->immediates[i * 4 + 3]);
}
- disasm_a3xx(bin, so->info.sizedwords, 0, out, ir->compiler->gpu_id);
+ isa_decode(bin, so->info.sizedwords * 4, out, &(struct isa_decode_options){
+ .gpu_id = ir->compiler->gpu_id,
+ .show_errors = true,
+ .branch_labels = true,
+ });
fprintf(out, "; %s: outputs:", type);
for (i = 0; i < so->outputs_count; i++) {
include_directories : [inc_freedreno, inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [no_override_init_args],
gnu_symbol_visibility : 'hidden',
+ link_with: [libir3decode, libir3encode],
dependencies : [idep_nir_headers, dep_dl, idep_mesautil],
build_by_default : false,
)