Lines Matching full:append
39 append(struct disasm_state *disasm, const char *fmt, ...) in append() function
52 /* FIXME: Do a single append somehow. */ in pad_to()
54 append(disasm, " "); in pad_to()
63 append(disasm, "rf%d", instr->raddr_a); in v3d_qpu_disasm_raddr()
73 append(disasm, "%d", val); in v3d_qpu_disasm_raddr()
75 append(disasm, "0x%08x", val); in v3d_qpu_disasm_raddr()
78 append(disasm, "rf%d", instr->raddr_b); in v3d_qpu_disasm_raddr()
81 append(disasm, "r%d", mux); in v3d_qpu_disasm_raddr()
89 append(disasm, "rf%d", waddr); in v3d_qpu_disasm_waddr()
95 append(disasm, "%s", name); in v3d_qpu_disasm_waddr()
97 append(disasm, "waddr UNKNOWN %d", waddr); in v3d_qpu_disasm_waddr()
107 append(disasm, "%s", v3d_qpu_add_op_name(instr->alu.add.op)); in v3d_qpu_disasm_add()
109 append(disasm, "%s", v3d_qpu_cond_name(instr->flags.ac)); in v3d_qpu_disasm_add()
110 append(disasm, "%s", v3d_qpu_pf_name(instr->flags.apf)); in v3d_qpu_disasm_add()
111 append(disasm, "%s", v3d_qpu_uf_name(instr->flags.auf)); in v3d_qpu_disasm_add()
113 append(disasm, " "); in v3d_qpu_disasm_add()
118 append(disasm, v3d_qpu_pack_name(instr->alu.add.output_pack)); in v3d_qpu_disasm_add()
123 append(disasm, ", "); in v3d_qpu_disasm_add()
125 append(disasm, "%s", in v3d_qpu_disasm_add()
130 append(disasm, ", "); in v3d_qpu_disasm_add()
132 append(disasm, "%s", in v3d_qpu_disasm_add()
145 append(disasm, "; "); in v3d_qpu_disasm_mul()
147 append(disasm, "%s", v3d_qpu_mul_op_name(instr->alu.mul.op)); in v3d_qpu_disasm_mul()
149 append(disasm, "%s", v3d_qpu_cond_name(instr->flags.mc)); in v3d_qpu_disasm_mul()
150 append(disasm, "%s", v3d_qpu_pf_name(instr->flags.mpf)); in v3d_qpu_disasm_mul()
151 append(disasm, "%s", v3d_qpu_uf_name(instr->flags.muf)); in v3d_qpu_disasm_mul()
156 append(disasm, " "); in v3d_qpu_disasm_mul()
161 append(disasm, v3d_qpu_pack_name(instr->alu.mul.output_pack)); in v3d_qpu_disasm_mul()
166 append(disasm, ", "); in v3d_qpu_disasm_mul()
168 append(disasm, "%s", in v3d_qpu_disasm_mul()
173 append(disasm, ", "); in v3d_qpu_disasm_mul()
175 append(disasm, "%s", in v3d_qpu_disasm_mul()
188 append(disasm, ".rf%d", instr->sig_addr); in v3d_qpu_disasm_sig_addr()
192 append(disasm, ".%s", name); in v3d_qpu_disasm_sig_addr()
194 append(disasm, ".UNKNOWN%d", instr->sig_addr); in v3d_qpu_disasm_sig_addr()
221 append(disasm, "; thrsw"); in v3d_qpu_disasm_sig()
223 append(disasm, "; ldvary"); in v3d_qpu_disasm_sig()
227 append(disasm, "; ldvpm"); in v3d_qpu_disasm_sig()
229 append(disasm, "; ldtmu"); in v3d_qpu_disasm_sig()
233 append(disasm, "; ldtlb"); in v3d_qpu_disasm_sig()
237 append(disasm, "; ldtlbu"); in v3d_qpu_disasm_sig()
241 append(disasm, "; ldunif"); in v3d_qpu_disasm_sig()
243 append(disasm, "; ldunifrf"); in v3d_qpu_disasm_sig()
247 append(disasm, "; ldunifa"); in v3d_qpu_disasm_sig()
249 append(disasm, "; ldunifarf"); in v3d_qpu_disasm_sig()
253 append(disasm, "; wrtmuc"); in v3d_qpu_disasm_sig()
269 append(disasm, "b"); in v3d_qpu_disasm_branch()
271 append(disasm, "u"); in v3d_qpu_disasm_branch()
272 append(disasm, "%s", v3d_qpu_branch_cond_name(instr->branch.cond)); in v3d_qpu_disasm_branch()
273 append(disasm, "%s", v3d_qpu_msfign_name(instr->branch.msfign)); in v3d_qpu_disasm_branch()
277 append(disasm, " zero_addr+0x%08x", instr->branch.offset); in v3d_qpu_disasm_branch()
281 append(disasm, " %d", instr->branch.offset); in v3d_qpu_disasm_branch()
285 append(disasm, " lri"); in v3d_qpu_disasm_branch()
289 append(disasm, " rf%d", instr->branch.raddr_a); in v3d_qpu_disasm_branch()
296 append(disasm, ", a:unif"); in v3d_qpu_disasm_branch()
300 append(disasm, ", r:unif"); in v3d_qpu_disasm_branch()
304 append(disasm, ", lri"); in v3d_qpu_disasm_branch()
308 append(disasm, ", rf%d", instr->branch.raddr_a); in v3d_qpu_disasm_branch()