This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: remove some warnings from spu.md
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 4 Dec 2006 16:37:55 +1100
- Subject: PATCH: remove some warnings from spu.md
Committed as obvious.
2006-12-04 Ben Elliston <bje@au.ibm.com>
* config/spu/spu.md (_mulv4si3): Remove unused local variables.
Index: config/spu/spu.md
===================================================================
--- config/spu/spu.md (revision 119478)
+++ config/spu/spu.md (working copy)
@@ -1117,14 +1117,12 @@ (define_insn_and_split "_mulv4si3"
(mult:V4SI (match_dup:V4SI 1)
(match_dup:V4SI 2)))]
{
- HOST_WIDE_INT val = 0;
rtx a = operands[3];
rtx b = operands[4];
rtx c = operands[5];
rtx d = operands[6];
rtx op1 = simplify_gen_subreg (V8HImode, operands[1], V4SImode, 0);
rtx op2 = simplify_gen_subreg (V8HImode, operands[2], V4SImode, 0);
- rtx op3 = simplify_gen_subreg (V8HImode, operands[3], V4SImode, 0);
emit_insn(gen_spu_mpyh(a, op1, op2));
emit_insn(gen_spu_mpyh(b, op2, op1));
emit_insn(gen_spu_mpyu(c, op1, op2));