Commit d47e6b82 by Jeff Law Committed by Jeff Law

mips.c (mips16_constant_cost): Add missing fallthru comments.

	* config/mips/mips.c (mips16_constant_cost): Add missing
	fallthru comments.
	(mips16_build_call_stub): Increase buffer size.  Adjust
	fallthru comment.

From-SVN: r241597
parent 7574cfd4
2016-10-26 Jeff Law <law@redhat.com>
* config/mips/mips.c (mips16_constant_cost): Add missing
fallthru comments.
(mips16_build_call_stub): Increase buffer size. Adjust
fallthru comment.
2016-10-26 David Malcolm <dmalcolm@redhat.com> 2016-10-26 David Malcolm <dmalcolm@redhat.com>
* print-rtl.c (rtx_writer::print_rtx_operand_code_u): Print * print-rtl.c (rtx_writer::print_rtx_operand_code_u): Print
......
...@@ -3828,9 +3828,11 @@ mips16_constant_cost (int code, HOST_WIDE_INT x) ...@@ -3828,9 +3828,11 @@ mips16_constant_cost (int code, HOST_WIDE_INT x)
/* Like LE, but reject the always-true case. */ /* Like LE, but reject the always-true case. */
if (x == -1) if (x == -1)
return -1; return -1;
/* FALLTHRU */
case LE: case LE:
/* We add 1 to the immediate and use SLT. */ /* We add 1 to the immediate and use SLT. */
x += 1; x += 1;
/* FALLTHRU */
case XOR: case XOR:
/* We can use CMPI for an xor with an unsigned 16-bit X. */ /* We can use CMPI for an xor with an unsigned 16-bit X. */
case LT: case LT:
...@@ -7439,7 +7441,7 @@ mips16_build_call_stub (rtx retval, rtx *fn_ptr, rtx args_size, int fp_code) ...@@ -7439,7 +7441,7 @@ mips16_build_call_stub (rtx retval, rtx *fn_ptr, rtx args_size, int fp_code)
if (GET_CODE (fn) != SYMBOL_REF if (GET_CODE (fn) != SYMBOL_REF
|| !call_insn_operand (fn, VOIDmode)) || !call_insn_operand (fn, VOIDmode))
{ {
char buf[30]; char buf[32];
rtx stub_fn, addr; rtx stub_fn, addr;
rtx_insn *insn; rtx_insn *insn;
bool lazy_p; bool lazy_p;
...@@ -7635,7 +7637,7 @@ mips16_build_call_stub (rtx retval, rtx *fn_ptr, rtx args_size, int fp_code) ...@@ -7635,7 +7637,7 @@ mips16_build_call_stub (rtx retval, rtx *fn_ptr, rtx args_size, int fp_code)
case DCmode: case DCmode:
mips_output_64bit_xfer ('f', GP_RETURN + (8 / UNITS_PER_WORD), mips_output_64bit_xfer ('f', GP_RETURN + (8 / UNITS_PER_WORD),
FP_REG_FIRST + 2); FP_REG_FIRST + 2);
/* Fall though. */ /* FALLTHRU */
case DFmode: case DFmode:
case V2SFmode: case V2SFmode:
gcc_assert (TARGET_PAIRED_SINGLE_FLOAT gcc_assert (TARGET_PAIRED_SINGLE_FLOAT
......
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