Commit 3bbe0b82 by Jeff Law Committed by Jeff Law

arc.c (acr_print_operand): Adjust fallthru comment.

	* config/arc/arc.c (acr_print_operand): Adjust fallthru comment.
	(check_if_valid_sleep_operand): Add missing fallthru comment.
	(arc_register_move_cost): Increase buffer size.
	* config/arc/arc.md (cbranch4si_scratch): Add missing fallthru
	comment.
	* config/arc/predicates.md (move_str_operand): Avoid fallthru.

From-SVN: r241585
parent f2b2b01c
2016-10-26 Jeff Law <law@redhat.com> 2016-10-26 Jeff Law <law@redhat.com>
* config/arc/arc.c (acr_print_operand): Adjust fallthru comment.
(check_if_valid_sleep_operand): Add missing fallthru comment.
(arc_register_move_cost): Increase buffer size.
* config/arc/arc.md (cbranch4si_scratch): Add missing fallthru
comment.
* config/arc/predicates.md (move_str_operand): Avoid fallthru.
* config/cr16/cr16.c (cr16_print_operand): Add missing fallthru * config/cr16/cr16.c (cr16_print_operand): Add missing fallthru
comment. Add gcc_unreachable for path that should never happen. comment. Add gcc_unreachable for path that should never happen.
......
...@@ -3459,7 +3459,8 @@ arc_print_operand (FILE *file, rtx x, int code) ...@@ -3459,7 +3459,8 @@ arc_print_operand (FILE *file, rtx x, int code)
fprintf (file, "0x%08lx", l); fprintf (file, "0x%08lx", l);
break; break;
} }
/* Fall through. Let output_addr_const deal with it. */ /* FALLTHRU */
/* Let output_addr_const deal with it. */
default : default :
if (flag_pic if (flag_pic
|| (GET_CODE (x) == CONST || (GET_CODE (x) == CONST
...@@ -6197,6 +6198,7 @@ check_if_valid_sleep_operand (rtx *operands, int opno) ...@@ -6197,6 +6198,7 @@ check_if_valid_sleep_operand (rtx *operands, int opno)
case CONST_INT : case CONST_INT :
if( UNSIGNED_INT6 (INTVAL (operands[opno]))) if( UNSIGNED_INT6 (INTVAL (operands[opno])))
return true; return true;
/* FALLTHRU */
default: default:
fatal_error (input_location, fatal_error (input_location,
"operand for sleep instruction must be an unsigned 6 bit compile-time constant"); "operand for sleep instruction must be an unsigned 6 bit compile-time constant");
...@@ -7284,7 +7286,7 @@ arc_register_move_cost (machine_mode, ...@@ -7284,7 +7286,7 @@ arc_register_move_cost (machine_mode,
int int
arc_output_addsi (rtx *operands, bool cond_p, bool output_p) arc_output_addsi (rtx *operands, bool cond_p, bool output_p)
{ {
char format[32]; char format[35];
int match = operands_match_p (operands[0], operands[1]); int match = operands_match_p (operands[0], operands[1]);
int match2 = operands_match_p (operands[0], operands[2]); int match2 = operands_match_p (operands[0], operands[2]);
......
...@@ -4891,6 +4891,7 @@ ...@@ -4891,6 +4891,7 @@
case 4: return \"br%d0%* %1, %B2, %^%l3\"; case 4: return \"br%d0%* %1, %B2, %^%l3\";
case 8: if (!brcc_nolimm_operator (operands[0], VOIDmode)) case 8: if (!brcc_nolimm_operator (operands[0], VOIDmode))
return \"br%d0%* %1, %B2, %^%l3\"; return \"br%d0%* %1, %B2, %^%l3\";
/* FALLTHRU */
case 6: case 10: case 6: case 10:
case 12:return \"cmp%? %1, %B2\\n\\tb%d0%* %^%l3%&;br%d0 out of range\"; case 12:return \"cmp%? %1, %B2\\n\\tb%d0%* %^%l3%&;br%d0 out of range\";
default: fprintf (stderr, \"unexpected length %d\\n\", get_attr_length (insn)); fflush (stderr); gcc_unreachable (); default: fprintf (stderr, \"unexpected length %d\\n\", get_attr_length (insn)); fflush (stderr); gcc_unreachable ();
......
...@@ -266,6 +266,7 @@ ...@@ -266,6 +266,7 @@
case SYMBOL_REF : case SYMBOL_REF :
if (SYMBOL_REF_TLS_MODEL (op)) if (SYMBOL_REF_TLS_MODEL (op))
return 0; return 0;
return 1;
case LABEL_REF : case LABEL_REF :
return 1; return 1;
case CONST : case CONST :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment