{
switch (type) {
case BRW_REGISTER_TYPE_UQ:
- format(file, "0x%016lxUQ", brw_inst_imm_uq(devinfo, inst));
+ format(file, "0x%016"PRIx64"UQ", brw_inst_imm_uq(devinfo, inst));
break;
case BRW_REGISTER_TYPE_Q:
- format(file, "%ldQ", brw_inst_imm_uq(devinfo, inst));
+ format(file, "%"PRId64"Q", brw_inst_imm_uq(devinfo, inst));
break;
case BRW_REGISTER_TYPE_UD:
format(file, "0x%08xUD", brw_inst_imm_ud(devinfo, inst));
struct ubo_block_info *info = get_block_info(state, entry->range.block);
fprintf(file,
- "block %2d, start %2d, length %2d, bits = %zx, "
+ "block %2d, start %2d, length %2d, bits = %"PRIx64", "
"benefit %2d, cost %2d, score = %2d\n",
entry->range.block, entry->range.start, entry->range.length,
info->offsets, entry->benefit, entry->range.length, score(entry));