sparc.c (sparc_emit_float_lib_cmp): Use emit_move_insn for moves to TFmode stack slots.

* config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
	emit_move_insn for moves to TFmode stack slots.

From-SVN: r100058
This commit is contained in:
Eric Botcazou 2005-05-22 09:34:37 +02:00 committed by Eric Botcazou
parent 313344b4de
commit c5d7449889
2 changed files with 7 additions and 2 deletions

View 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

View 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;