From df7b8573269dd47ca6070a48491e379d758b8702 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 10 Aug 1993 05:49:29 +0000 Subject: [PATCH] (output_move_double): Fix typos in last change. From-SVN: r5127 --- gcc/config/ns32k/ns32k.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index 7f6fdc15dd1..b4a4931e139 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -321,7 +321,7 @@ output_move_double (operands) /* Overlapping registers. */ if (optype0 == REGOP && optype1 == REGOP - && REGNO (op0) == REGNO (latehalf[1])) + && REGNO (operands[0]) == REGNO (latehalf[1])) { /* Do that word. */ output_asm_insn (singlemove_string (latehalf), latehalf); @@ -330,26 +330,26 @@ output_move_double (operands) } /* Loading into a register which overlaps a register used in the address. */ else if (optype0 == REGOP && optype1 != REGOP - && reg_overlap_mentioned_p (op0, op1)) + && reg_overlap_mentioned_p (operands[0], operands[1])) { - if (reg_mentioned_p (op0, XEXP (op1, 0)) - && reg_mentioned_p (latehalf[0], XEXP (op1, 0))) + if (reg_mentioned_p (operands[0], XEXP (operands[1], 0)) + && reg_mentioned_p (latehalf[0], XEXP (operands[1], 0))) { /* If both halves of dest are used in the src memory address, - add the two regs and put them in the low reg (op0). + add the two regs and put them in the low reg (operands[0]). Then it works to load latehalf first. */ rtx xops[2]; xops[0] = latehalf[0]; - xops[1] = op0; + xops[1] = operands[0]; output_asm_insn ("addd %0,%1", xops); - operands[1] = gen_rtx (MEM, DImode, op0); + operands[1] = gen_rtx (MEM, DImode, operands[0]); latehalf[1] = adj_offsettable_operand (operands[1], 4); /* The first half has the overlap, Do the late half first. */ output_asm_insn (singlemove_string (latehalf), latehalf); /* Then clobber. */ return singlemove_string (operands); } - if (reg_mentioned_p (op0, XEXP (op1, 0))) + if (reg_mentioned_p (operands[0], XEXP (operands[1], 0))) { /* The first half has the overlap, Do the late half first. */ output_asm_insn (singlemove_string (latehalf), latehalf); -- 2.30.2