i965: Fix indentation

This commit is contained in:
Matt Turner
2017-06-06 16:24:14 -07:00
parent c9d4b571ad
commit 858f554078
2 changed files with 8 additions and 8 deletions

View File

@@ -1271,8 +1271,8 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo,
*/ */
if (brw_inst_cond_modifier(devinfo, inst) && if (brw_inst_cond_modifier(devinfo, inst) &&
(devinfo->gen < 6 || (opcode != BRW_OPCODE_SEL && (devinfo->gen < 6 || (opcode != BRW_OPCODE_SEL &&
opcode != BRW_OPCODE_IF && opcode != BRW_OPCODE_IF &&
opcode != BRW_OPCODE_WHILE))) { opcode != BRW_OPCODE_WHILE))) {
format(file, ".f%"PRIu64, format(file, ".f%"PRIu64,
devinfo->gen >= 7 ? brw_inst_flag_reg_nr(devinfo, inst) : 0); devinfo->gen >= 7 ? brw_inst_flag_reg_nr(devinfo, inst) : 0);
if (brw_inst_flag_subreg_nr(devinfo, inst)) if (brw_inst_flag_subreg_nr(devinfo, inst))
@@ -1304,15 +1304,15 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo,
format(file, "JIP: %d", brw_inst_gen6_jump_count(devinfo, inst)); format(file, "JIP: %d", brw_inst_gen6_jump_count(devinfo, inst));
} }
} else if (devinfo->gen < 6 && (opcode == BRW_OPCODE_BREAK || } else if (devinfo->gen < 6 && (opcode == BRW_OPCODE_BREAK ||
opcode == BRW_OPCODE_CONTINUE || opcode == BRW_OPCODE_CONTINUE ||
opcode == BRW_OPCODE_ELSE)) { opcode == BRW_OPCODE_ELSE)) {
pad(file, 16); pad(file, 16);
format(file, "Jump: %d", brw_inst_gen4_jump_count(devinfo, inst)); format(file, "Jump: %d", brw_inst_gen4_jump_count(devinfo, inst));
pad(file, 32); pad(file, 32);
format(file, "Pop: %"PRIu64, brw_inst_gen4_pop_count(devinfo, inst)); format(file, "Pop: %"PRIu64, brw_inst_gen4_pop_count(devinfo, inst));
} else if (devinfo->gen < 6 && (opcode == BRW_OPCODE_IF || } else if (devinfo->gen < 6 && (opcode == BRW_OPCODE_IF ||
opcode == BRW_OPCODE_IFF || opcode == BRW_OPCODE_IFF ||
opcode == BRW_OPCODE_HALT)) { opcode == BRW_OPCODE_HALT)) {
pad(file, 16); pad(file, 16);
format(file, "Jump: %d", brw_inst_gen4_jump_count(devinfo, inst)); format(file, "Jump: %d", brw_inst_gen4_jump_count(devinfo, inst));
} else if (devinfo->gen < 6 && opcode == BRW_OPCODE_ENDIF) { } else if (devinfo->gen < 6 && opcode == BRW_OPCODE_ENDIF) {

View File

@@ -5278,8 +5278,8 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
fprintf(file, "%s", conditional_modifier[inst->conditional_mod]); fprintf(file, "%s", conditional_modifier[inst->conditional_mod]);
if (!inst->predicate && if (!inst->predicate &&
(devinfo->gen < 5 || (inst->opcode != BRW_OPCODE_SEL && (devinfo->gen < 5 || (inst->opcode != BRW_OPCODE_SEL &&
inst->opcode != BRW_OPCODE_IF && inst->opcode != BRW_OPCODE_IF &&
inst->opcode != BRW_OPCODE_WHILE))) { inst->opcode != BRW_OPCODE_WHILE))) {
fprintf(file, ".f0.%d", inst->flag_subreg); fprintf(file, ".f0.%d", inst->flag_subreg);
} }
} }