Browse Source

disas/riscv: Replace TABs with space

Replaces TABs with spaces, making sure to have a consistent coding style
of 4 space indentations.

Signed-off-by: Max Chou <max.chou@sifive.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20231026151828.754279-15-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Max Chou 1 year ago
parent
commit
251385fd44
1 changed files with 3 additions and 3 deletions
  1. 3 3
      disas/riscv.c

+ 3 - 3
disas/riscv.c

@@ -3136,12 +3136,12 @@ static void decode_inst_opcode(rv_decode *dec, rv_isa isa)
                 }
                 }
                 break;
                 break;
             case 89:
             case 89:
-		switch (((inst >> 12) & 0b111)) {
+                switch (((inst >> 12) & 0b111)) {
                 case 0: op = rv_op_fmvp_d_x; break;
                 case 0: op = rv_op_fmvp_d_x; break;
                 }
                 }
                 break;
                 break;
             case 91:
             case 91:
-		switch (((inst >> 12) & 0b111)) {
+                switch (((inst >> 12) & 0b111)) {
                 case 0: op = rv_op_fmvp_q_x; break;
                 case 0: op = rv_op_fmvp_q_x; break;
                 }
                 }
                 break;
                 break;
@@ -4579,7 +4579,7 @@ static void decode_inst_operands(rv_decode *dec, rv_isa isa)
         break;
         break;
     case rv_codec_zcmt_jt:
     case rv_codec_zcmt_jt:
         dec->imm = operand_tbl_index(inst);
         dec->imm = operand_tbl_index(inst);
-	break;
+        break;
     case rv_codec_fli:
     case rv_codec_fli:
         dec->rd = operand_rd(inst);
         dec->rd = operand_rd(inst);
         dec->imm = operand_rs1(inst);
         dec->imm = operand_rs1(inst);