Commit 1fae2d80 by Kazu Hirata Committed by Kazu Hirata

m68k.c (m68k_output_movem): Use the MOTOROLA if MOTOROLA is to true.

	* config/m68k/m68k.c (m68k_output_movem): Use the MOTOROLA if
	MOTOROLA is to true.

From-SVN: r128994
parent f7a13f71
2007-10-04 Kazu Hirata <kazu@codesourcery.com>
* config/m68k/m68k.c (m68k_output_movem): Use the MOTOROLA if
MOTOROLA is to true.
2007-10-03 Richard Sandiford <rsandifo@nildram.co.uk> 2007-10-03 Richard Sandiford <rsandifo@nildram.co.uk>
PR target/33635 PR target/33635
...@@ -3318,16 +3318,16 @@ m68k_output_movem (rtx *operands, rtx pattern, ...@@ -3318,16 +3318,16 @@ m68k_output_movem (rtx *operands, rtx pattern,
if (FP_REGNO_P (REGNO (XEXP (XVECEXP (pattern, 0, first), store_p)))) if (FP_REGNO_P (REGNO (XEXP (XVECEXP (pattern, 0, first), store_p))))
{ {
if (store_p) if (store_p)
return MOTOROLA ? "fmovm %1,%a0" : "fmovem %1,%a0"; return "fmovem %1,%a0";
else else
return MOTOROLA ? "fmovm %a0,%1" : "fmovem %a0,%1"; return "fmovem %a0,%1";
} }
else else
{ {
if (store_p) if (store_p)
return MOTOROLA ? "movm.l %1,%a0" : "moveml %1,%a0"; return "movem%.l %1,%a0";
else else
return MOTOROLA ? "movm.l %a0,%1" : "moveml %a0,%1"; return "movem%.l %a0,%1";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment