(floatsidf): Correctly handle case when SImode operand overlaps the
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 9 Jul 1992 03:21:00 +0000 (23:21 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 9 Jul 1992 03:21:00 +0000 (23:21 -0400)
first DFmode register.

From-SVN: r1537

gcc/config/rs6000/rs6000.md

index 37cf481..2c4dc8f 100644 (file)
       emit_move_insn (operands[3], operands[4]);
       DONE;
     }
+
+  if (rtx_equal_p (operands[1], operands[3]))
+    {
+      rtx temp;
+
+      temp = operands[3]; operands[3] = operands[5]; operands[5] = temp;
+      temp = operands[4]; operands[4] = operands[1]; operands[1] = temp;
+    }
 }")
 
 (define_insn ""