Lines Matching refs:body
98 ${body.strip()}
301 body = ""
304 body += build_lut(mnemonic, desc, test)
308 body += lut_template.render(field = mod, table = pretty_mods(opts, default), pos = pos, width = width) + "\n"
311 body += ' fputs("{}", fp);\n'.format(mnemonic)
320 body += disasm_mod(mod, skip_mods)
322 body += ' fputs(" ", fp);\n'
323 body += ' bi_disasm_dest_{}(fp, next_regs, last);\n'.format('fma' if is_fma else 'add')
328 body += ' fputs(", ", fp);\n'
329 body += ' dump_src(fp, _BITS(bits, {}, 3), *srcs, branch_offset, consts, {});\n'.format(pos, "true" if is_fma else "false")
333 body += ' if (!({} & (1 << _BITS(bits, {}, 3)))) fputs("(INVALID)", fp);\n'.format(hex(mask), pos, 3)
338 body += disasm_mod(mod, skip_mods)
342 body += ' fprintf(fp, ", {}:%u", _BITS(bits, {}, {}));\n'.format(imm, pos, width)
346 body += ' fprintf(fp, ", @r%u", staging_register);\n'
348 return disasm_op_template.render(c_name = opname_to_c(name), body = body)