From 80f9d7f2ddd86aa0875ae433b11ffc41e5505513 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 6 Apr 1993 12:26:49 -0700 Subject: [PATCH] (movdi): End by returning the last template; otherwise we return junk for a template. From-SVN: r4030 --- gcc/config/sparc/sparc.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md index e781e13ebe5..cf98d4d4c22 100644 --- a/gcc/config/sparc/sparc.md +++ b/gcc/config/sparc/sparc.md @@ -851,9 +851,9 @@ operands[0] = operand_subword (op0, 0, 0, DImode); if (INTVAL (op1) < 0) - output_asm_insn (\"mov -1,%0\", operands); + return \"mov -1,%0\"; else - output_asm_insn (\"mov 0,%0\", operands); + return \"mov 0,%0\"; } else if (GET_CODE (op1) == CONST_DOUBLE) { @@ -863,7 +863,7 @@ operands[0] = operand_subword (op0, 0, 0, DImode); operands[1] = gen_rtx (CONST_INT, VOIDmode, CONST_DOUBLE_HIGH (op1)); - output_asm_insn (singlemove_string (operands), operands); + return singlemove_string (operands); } else abort (); -- 2.30.2