Commit 4431168e by Ian Lance Taylor

Avoid add.w and sub.w if TARGET_5200

From-SVN: r12532
parent 80e4a749
...@@ -146,7 +146,7 @@ output_function_prologue (stream, size) ...@@ -146,7 +146,7 @@ output_function_prologue (stream, size)
else if (fsize) else if (fsize)
{ {
/* Adding negative number is faster on the 68040. */ /* Adding negative number is faster on the 68040. */
if (fsize + 4 < 0x8000) if (fsize + 4 < 0x8000 && ! TARGET_5200)
{ {
/* asm_fprintf() cannot handle %. */ /* asm_fprintf() cannot handle %. */
#ifdef MOTOROLA #ifdef MOTOROLA
...@@ -524,7 +524,7 @@ output_function_epilogue (stream, size) ...@@ -524,7 +524,7 @@ output_function_epilogue (stream, size)
reg_names[FRAME_POINTER_REGNUM]); reg_names[FRAME_POINTER_REGNUM]);
else if (fsize) else if (fsize)
{ {
if (fsize + 4 < 0x8000) if (fsize + 4 < 0x8000 && ! TARGET_5200)
{ {
/* asm_fprintf() cannot handle %. */ /* asm_fprintf() cannot handle %. */
#ifdef MOTOROLA #ifdef MOTOROLA
......
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