]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
sh.c (output_branch): Add missing fallthru comments.
authorJeff Law <law@redhat.com>
Wed, 26 Oct 2016 20:25:06 +0000 (14:25 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 26 Oct 2016 20:25:06 +0000 (14:25 -0600)
* config/sh/sh.c (output_branch): Add missing fallthru comments.
(gen_shl_and): Likewise.
* config/sh/sh.md (movsicc): Add missing fallthru comments.

From-SVN: r241600

gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.md

index bc87d16783200c7024e27ac735463984baeb4875..d8bdeeea17b97d4c3d88a976c18915888d832d34 100644 (file)
 
 2016-10-26  Jeff Law  <law@redhat.com>
 
+       * config/sh/sh.c (output_branch): Add missing fallthru comments.
+       (gen_shl_and): Likewise.
+       * config/sh/sh.md (movsicc): Add missing fallthru comments.
+
        * config/mips/mips.c (mips16_constant_cost): Add missing
        fallthru comments.
        (mips16_build_call_stub): Increase buffer size.  Adjust
index cf5231ef16dad80b68b45c18c14bea5207e1fe70..4ca4b749ec16df523af8b8591ac530b47a02319c 100644 (file)
@@ -2665,6 +2665,7 @@ output_branch (int logic, rtx_insn *insn, rtx *operands)
 
          return "";
        }
+      /* FALLTHRU */
       /* When relaxing, handle this like a short branch.  The linker
         will fix it up if it still doesn't fit after relaxation.  */
     case 2:
@@ -2690,7 +2691,7 @@ output_branch (int logic, rtx_insn *insn, rtx *operands)
 
          return "";
        }
-      /* When relaxing, fall through.  */
+      /* FALLTHRU */
     case 4:
       {
        char buffer[10];
@@ -3461,7 +3462,7 @@ sh_rtx_costs (rtx x, machine_mode mode ATTRIBUTE_UNUSED, int outer_code,
          *total = COSTS_N_INSNS (1);
          return true;
        }
-      /* Fall through to shiftcosts.  */
+      /* FALLTHRU */
     case ASHIFT:
     case ASHIFTRT:
       {
@@ -4069,12 +4070,14 @@ gen_shl_and (rtx dest, rtx left_rtx, rtx mask_rtx, rtx source)
       }
     case 4:
       shift_gen_fun = gen_shifty_op;
+      /* FALLTHRU */
     case 3:
       /* If the topmost bit that matters is set, set the topmost bits
         that don't matter.  This way, we might be able to get a shorter
         signed constant.  */
       if (mask & ((HOST_WIDE_INT) 1 << (31 - total_shift)))
        mask |= (HOST_WIDE_INT) ((HOST_WIDE_INT_M1U) << (31 - total_shift));
+      /* FALLTHRU */
     case 2:
       /* Don't expand fine-grained when combining, because that will
          make the pattern fail.  */
@@ -4647,6 +4650,7 @@ dump_table (rtx_insn *start, rtx_insn *barrier)
                  align_insn = scan;
                  need_align = false;
                }
+             /* FALLTHRU */
            case DImode:
              for (lab = p->label; lab; lab = LABEL_REFS (lab))
                scan = emit_label_after (lab, scan);
index dcb31eb3a0944d55e0d8477666dac073b243955f..e80ef581b2d0c2a434f3ab39d2f17ae538ad97d7 100644 (file)
       case LT: case LE: case LEU: case LTU:
        if (GET_MODE_CLASS (GET_MODE (op0)) != MODE_INT)
          break;
+       /* FALLTHRU */
       case NE:
        new_code = reverse_condition (code);
        break;