diff options
author | Matt Turner <[email protected]> | 2017-06-06 16:24:14 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2017-08-02 16:49:32 -0700 |
commit | 858f5540786e12cbd56ede9396dc4ce1112fe9db (patch) | |
tree | 32091ad2803e205a90555f15763cb14dfc520ec2 /src/intel/compiler | |
parent | c9d4b571ad5dc3e622603a0f50d293192850d749 (diff) |
i965: Fix indentation
Diffstat (limited to 'src/intel/compiler')
-rw-r--r-- | src/intel/compiler/brw_disasm.c | 12 | ||||
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c index ad41e352c2a..3a33614523c 100644 --- a/src/intel/compiler/brw_disasm.c +++ b/src/intel/compiler/brw_disasm.c @@ -1271,8 +1271,8 @@ brw_disassemble_inst(FILE *file, const struct gen_device_info *devinfo, */ if (brw_inst_cond_modifier(devinfo, inst) && (devinfo->gen < 6 || (opcode != BRW_OPCODE_SEL && - opcode != BRW_OPCODE_IF && - opcode != BRW_OPCODE_WHILE))) { + opcode != BRW_OPCODE_IF && + opcode != BRW_OPCODE_WHILE))) { format(file, ".f%"PRIu64, devinfo->gen >= 7 ? brw_inst_flag_reg_nr(devinfo, inst) : 0); 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)); } } else if (devinfo->gen < 6 && (opcode == BRW_OPCODE_BREAK || - opcode == BRW_OPCODE_CONTINUE || - opcode == BRW_OPCODE_ELSE)) { + opcode == BRW_OPCODE_CONTINUE || + opcode == BRW_OPCODE_ELSE)) { pad(file, 16); format(file, "Jump: %d", brw_inst_gen4_jump_count(devinfo, inst)); pad(file, 32); format(file, "Pop: %"PRIu64, brw_inst_gen4_pop_count(devinfo, inst)); } else if (devinfo->gen < 6 && (opcode == BRW_OPCODE_IF || - opcode == BRW_OPCODE_IFF || - opcode == BRW_OPCODE_HALT)) { + opcode == BRW_OPCODE_IFF || + opcode == BRW_OPCODE_HALT)) { pad(file, 16); format(file, "Jump: %d", brw_inst_gen4_jump_count(devinfo, inst)); } else if (devinfo->gen < 6 && opcode == BRW_OPCODE_ENDIF) { diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 38b5e52dc47..fdc30d450cc 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -5278,8 +5278,8 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file) fprintf(file, "%s", conditional_modifier[inst->conditional_mod]); if (!inst->predicate && (devinfo->gen < 5 || (inst->opcode != BRW_OPCODE_SEL && - inst->opcode != BRW_OPCODE_IF && - inst->opcode != BRW_OPCODE_WHILE))) { + inst->opcode != BRW_OPCODE_IF && + inst->opcode != BRW_OPCODE_WHILE))) { fprintf(file, ".f0.%d", inst->flag_subreg); } } |