Commit 5f78aa30 by John Carr Committed by David S. Miller

sparc.c: Change return <exp> to <exp>; return; in functions returning void.

	* sparc.c: Change return <exp> to <exp>; return; in functions
 	returning void.
	* sparc.md: Add empty semicolon statement after final label in
	move expanders.

From-SVN: r21678
parent 16cf8119
Tue Aug 11 23:02:31 1998 John Carr <jfc@mit.edu>
* sparc.c: Change return <exp> to <exp>; return; in functions
returning void.
* sparc.md: Add empty semicolon statement after final label in
move expanders.
Tue Aug 11 22:42:01 1998 David S. Miller <davem@pierdol.cobaltmicro.com> Tue Aug 11 22:42:01 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* config/sparc/sparc.md (define_insn addx_extend): Rename to * config/sparc/sparc.md (define_insn addx_extend): Rename to
......
...@@ -1586,7 +1586,8 @@ sparc_emit_set_const64 (op0, op1) ...@@ -1586,7 +1586,8 @@ sparc_emit_set_const64 (op0, op1)
temp = op0; temp = op0;
else else
temp = gen_reg_rtx (DImode); temp = gen_reg_rtx (DImode);
return sparc_emit_set_symbolic_const64 (op0, op1, temp); sparc_emit_set_symbolic_const64 (op0, op1, temp);
return;
} }
if (GET_CODE (op1) == CONST_DOUBLE) if (GET_CODE (op1) == CONST_DOUBLE)
...@@ -1716,8 +1717,11 @@ sparc_emit_set_const64 (op0, op1) ...@@ -1716,8 +1717,11 @@ sparc_emit_set_const64 (op0, op1)
*/ */
if (high_bits == 0 if (high_bits == 0
|| high_bits == 0xffffffff) || high_bits == 0xffffffff)
return sparc_emit_set_const64_quick1 (op0, temp, low_bits, {
(high_bits == 0xffffffff)); sparc_emit_set_const64_quick1 (op0, temp, low_bits,
(high_bits == 0xffffffff));
return;
}
/* 1) sethi %hi(high_bits), %reg /* 1) sethi %hi(high_bits), %reg
* or %reg, %lo(high_bits), %reg * or %reg, %lo(high_bits), %reg
...@@ -1726,7 +1730,10 @@ sparc_emit_set_const64 (op0, op1) ...@@ -1726,7 +1730,10 @@ sparc_emit_set_const64 (op0, op1)
if (low_bits == 0 if (low_bits == 0
|| (SPARC_SIMM13_P(low_bits) || (SPARC_SIMM13_P(low_bits)
&& ((HOST_WIDE_INT)low_bits > 0))) && ((HOST_WIDE_INT)low_bits > 0)))
return sparc_emit_set_const64_quick2 (op0, temp, high_bits, low_bits, 32); {
sparc_emit_set_const64_quick2 (op0, temp, high_bits, low_bits, 32);
return;
}
/* Now, try 3-insn sequences. But first we may be able to do something /* Now, try 3-insn sequences. But first we may be able to do something
quick when the constant is negated, so try that. */ quick when the constant is negated, so try that. */
...@@ -1788,9 +1795,10 @@ sparc_emit_set_const64 (op0, op1) ...@@ -1788,9 +1795,10 @@ sparc_emit_set_const64 (op0, op1)
if (hi & lo) if (hi & lo)
abort(); abort();
focus_bits = (hi | lo); focus_bits = (hi | lo);
return sparc_emit_set_const64_quick2 (op0, temp, sparc_emit_set_const64_quick2 (op0, temp,
focus_bits, 0, focus_bits, 0,
lowest_bit_set); lowest_bit_set);
return;
} }
/* The easiest way when all else fails, is full decomposition. */ /* The easiest way when all else fails, is full decomposition. */
......
...@@ -1934,6 +1934,7 @@ ...@@ -1934,6 +1934,7 @@
/* All QI constants require only one insn, so proceed. */ /* All QI constants require only one insn, so proceed. */
movqi_is_ok: movqi_is_ok:
;
}") }")
(define_insn "*movqi_insn" (define_insn "*movqi_insn"
...@@ -2002,6 +2003,7 @@ ...@@ -2002,6 +2003,7 @@
DONE; DONE;
} }
movhi_is_ok: movhi_is_ok:
;
}") }")
(define_insn "*movhi_insn" (define_insn "*movhi_insn"
...@@ -2106,6 +2108,7 @@ ...@@ -2106,6 +2108,7 @@
DONE; DONE;
} }
movsi_is_ok: movsi_is_ok:
;
}") }")
;; Special LIVE_G0 pattern to obtain zero in a register. ;; Special LIVE_G0 pattern to obtain zero in a register.
...@@ -2290,6 +2293,7 @@ ...@@ -2290,6 +2293,7 @@
} }
movdi_is_ok: movdi_is_ok:
;
}") }")
;; Be careful, fmovd does not exist when !arch64. ;; Be careful, fmovd does not exist when !arch64.
...@@ -2764,6 +2768,7 @@ ...@@ -2764,6 +2768,7 @@
} }
movsf_is_ok: movsf_is_ok:
;
}") }")
(define_insn "*movsf_insn" (define_insn "*movsf_insn"
...@@ -2849,6 +2854,7 @@ ...@@ -2849,6 +2854,7 @@
} }
movdf_is_ok: movdf_is_ok:
;
}") }")
;; Be careful, fmovd does not exist when !arch64. ;; Be careful, fmovd does not exist when !arch64.
...@@ -3072,7 +3078,8 @@ ...@@ -3072,7 +3078,8 @@
} }
} }
movtf_is_ok: movtf_is_ok:
;
}") }")
;; Be careful, fmovq and {st,ld}{x,q} do not exist when !arch64 so ;; Be careful, fmovq and {st,ld}{x,q} do not exist when !arch64 so
......
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