Lines Matching defs:format

768 format(FILE *f, const char *format, ...) PRINTFLIKE(2, 3);
771 format(FILE *f, const char *format, ...)
775 va_start(args, format);
777 vsnprintf(buf, sizeof(buf) - 1, format, args);
824 format(file, "*** invalid opcode value %d ", id);
846 format(file, "a%d", _reg_nr & 0x0f);
849 format(file, "acc%d", _reg_nr & 0x0f);
852 format(file, "f%d", _reg_nr & 0x0f);
855 format(file, "mask%d", _reg_nr & 0x0f);
858 format(file, "ms%d", _reg_nr & 0x0f);
861 format(file, "msd%d", _reg_nr & 0x0f);
864 format(file, "sr%d", _reg_nr & 0x0f);
867 format(file, "cr%d", _reg_nr & 0x0f);
870 format(file, "n%d", _reg_nr & 0x0f);
877 format(file, "tdr0");
880 format(file, "tm%d", _reg_nr & 0x0f);
883 format(file, "ARF%d", _reg_nr);
888 format(file, "%d", _reg_nr);
914 format(file, ".%u", subreg_nr);
919 format(file, ".%"PRIu64, brw_inst_dst_ia_subreg_nr(devinfo, inst) /
922 format(file, " %d", brw_inst_send_dst_ia16_addr_imm(devinfo, inst));
933 format(file, ".%"PRIu64, brw_inst_dst_da1_subreg_nr(devinfo, inst) /
943 format(file, ".%"PRIu64, brw_inst_dst_ia_subreg_nr(devinfo, inst) /
946 format(file, " %d", brw_inst_dst_ia1_addr_imm(devinfo, inst));
960 format(file, ".%u", 16 / elem_size);
1010 format(file, ".%u", subreg_nr);
1061 format(file, ".%d", sub_reg_num / elem_size); /* use formal style like spec */
1090 format(file, ".%d", _addr_subreg_nr);
1092 format(file, " %d", _addr_imm);
1151 format(file, ".%d", 16 / elem_size);
1279 format(file, "%dW", imm_val);
1281 format(file, "0x%04xUW", imm_val);
1283 format(file, "0x%04xHF", imm_val);
1326 format(file, ".%d", subreg_nr);
1400 format(file, ".%d", subreg_nr);
1437 format(file, "%dW", imm_val);
1439 format(file, "0x%04xUW", imm_val);
1441 format(file, "0x%04xHF", imm_val);
1488 format(file, ".%d", subreg_nr);
1504 format(file, "0x%016"PRIx64"UQ", brw_inst_imm_uq(devinfo, inst));
1507 format(file, "0x%016"PRIx64"Q", brw_inst_imm_uq(devinfo, inst));
1510 format(file, "0x%08xUD", brw_inst_imm_ud(devinfo, inst));
1513 format(file, "%dD", brw_inst_imm_d(devinfo, inst));
1516 format(file, "0x%04xUW", (uint16_t) brw_inst_imm_ud(devinfo, inst));
1519 format(file, "%dW", (int16_t) brw_inst_imm_d(devinfo, inst));
1522 format(file, "0x%08xUV", brw_inst_imm_ud(devinfo, inst));
1525 format(file, "0x%"PRIx64"VF", brw_inst_bits(inst, 127, 96));
1527 format(file, "/* [%-gF, %-gF, %-gF, %-gF]VF */",
1534 format(file, "0x%08xV", brw_inst_imm_ud(devinfo, inst));
1541 format(file, "0x%"PRIx64"F", brw_inst_bits(inst, 127, 64));
1543 format(file, "/* %-gF */", brw_inst_imm_df(devinfo, inst));
1545 format(file, "0x%"PRIx64"F", brw_inst_bits(inst, 127, 96));
1547 format(file, " /* %-gF */", brw_inst_imm_f(devinfo, inst));
1551 format(file, "0x%016"PRIx64"DF", brw_inst_bits(inst, 127, 64));
1553 format(file, "/* %-gDF */", brw_inst_imm_df(devinfo, inst));
1561 format(file, "*** invalid immediate type %d ", type);
1580 format(file, ".1");
1595 format(file, ".1");
1597 format(file, " %d", _addr_imm);
1611 format(file, ".%d", _addr_subreg_nr);
1612 format(file, "<0>UD");
1770 format(file, " %dN", qtr_ctl * 2 + nib_ctl + 1);
1803 format(file, " %s@%d",
1810 format(file, " $%d%s", swsb.sbid,
1838 format(file, " LABEL%d", label->number);
1852 format(file, "base_offset %u ",
1857 format(file, "surface_state_index %u ",
1861 format(file, "BTI %u ",
1863 format(file, "base_offset %u ",
1867 format(file, "unsupported address surface type %d", addr_type);
1904 format(file, "f%"PRIu64".%"PRIu64,
1949 format(file, ".f%"PRIu64".%"PRIu64,
1963 format(file, " %"PRIu64, brw_inst_base_mrf(devinfo, inst));
1989 format(file, "Jump: %d", brw_inst_gfx4_jump_count(devinfo, inst));
1991 format(file, "Pop: %"PRIu64, brw_inst_gfx4_pop_count(devinfo, inst));
1997 format(file, "Jump: %d", brw_inst_gfx4_jump_count(devinfo, inst));
2000 format(file, "Pop: %"PRIu64, brw_inst_gfx4_pop_count(devinfo, inst));
2085 format(file, " indirect");
2113 format(file, " Surface = %u Sampler = %u",
2117 format(file, " (bti %u, sampler %u, msg_type %u, ",
2122 err |= control(file, "sampler target format",
2134 format(file, " (bti %u, msg_ctrl %u, msg_type %u, write_commit %u)",
2148 format(file, " MsgCtrl = 0x%u",
2151 format(file, " Surface = %u",
2181 format(file, " MsgCtrl = 0x%u",
2185 format(file, " Surface = %u",
2193 format(file, " offset %"PRIu64, brw_inst_urb_global_offset(devinfo, inst));
2233 format(file, " (%s)",
2241 format(file, " (");
2245 format(file, ",");
2251 format(file, ",");
2255 format(file, ",");
2259 format(file, ",");
2265 format(file, ",");
2269 format(file, ",");
2281 format(file, ", transpose");
2286 format(file, ",");
2293 format(file, ",");
2301 format(file, " dst_len = %u,", lsc_msg_desc_dest_len(devinfo, imm_desc));
2302 format(file, " src0_len = %u,", lsc_msg_desc_src0_len(devinfo, imm_desc));
2303 format(file, " src1_len = %d", brw_message_ex_desc_ex_mlen(devinfo, imm_ex_desc));
2306 format(file, " )");
2312 format(file, " (");
2319 format(file, ", bti %u, ",
2332 format(file, "owords = %s, aligned = %d",
2337 format(file, "%u",
2340 format(file, ")");
2348 format(file, " (");
2357 format(file, ", Surface = %u, ",
2364 format(file, "SIMD%d,", (msg_ctrl & (1 << 4)) ? 8 : 16);
2380 format(file, "SIMD%s, Mask = 0x%x",
2387 format(file, "SIMD%d,", (msg_ctrl & (1 << 4)) ? 8 : 16);
2394 format(file, "owords = %s, aligned = %d",
2398 format(file, "0x%x", msg_ctrl);
2400 format(file, ")");
2409 format(file, " (%s, %s, 0x%02"PRIx64")",
2420 format(file, " SIMD%d,",
2433 format(file, "unsupported shared function ID %d", sfid);
2442 format(file, "mlen %u", brw_message_desc_mlen(devinfo, imm_desc));
2444 format(file, " ex_mlen %u",
2448 format(file, " rlen %u", brw_message_desc_rlen(devinfo, imm_desc));
2478 format(file, " compr4");