sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack...
authorEric Botcazou <ebotcazou@libertysurf.fr>
Sun, 22 May 2005 07:34:37 +0000 (09:34 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sun, 22 May 2005 07:34:37 +0000 (07:34 +0000)
* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
emit_move_insn for moves to TFmode stack slots.

From-SVN: r100058

gcc/ChangeLog
gcc/config/sparc/sparc.c

index e7e90f051f22120f76d25688a87484161027ba7e..045f2317416473807fcaf96ebdd3e5884c9f0bab 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
+       emit_move_insn for moves to TFmode stack slots.
+
 2005-05-21  Richard Guenther  <rguenth@gcc.gnu.org>
 
        * tree-stdarg.c (execute_optimize_stdarg): Handle references
index 2ab08fde5d6f109655f319d420c2e10310a5bf2f..da536872bfe58ae2feb1fd15c87c33558262f97c 100644 (file)
@@ -5805,7 +5805,7 @@ sparc_emit_float_lib_cmp (rtx x, rtx y, enum rtx_code comparison)
       if (GET_CODE (x) != MEM)
        {
          slot0 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode), 0);
-         emit_insn (gen_rtx_SET (VOIDmode, slot0, x));
+         emit_move_insn (slot0, x);
        }
       else
        slot0 = x;
@@ -5813,7 +5813,7 @@ sparc_emit_float_lib_cmp (rtx x, rtx y, enum rtx_code comparison)
       if (GET_CODE (y) != MEM)
        {
          slot1 = assign_stack_temp (TFmode, GET_MODE_SIZE(TFmode), 0);
-         emit_insn (gen_rtx_SET (VOIDmode, slot1, y));
+         emit_move_insn (slot1, y);
        }
       else
        slot1 = y;