Commit 51a52b63 by Richard Kenner

(output_move_dconst): For some integer constants, use movxwd/movd

instead of movxbd/movxwd.

From-SVN: r7268
parent d5ea2ac4
...@@ -893,9 +893,9 @@ output_move_dconst (n, s) ...@@ -893,9 +893,9 @@ output_move_dconst (n, s)
strcpy (r, "movzbd "); strcpy (r, "movzbd ");
else if (n > 0 && n < 65536) else if (n > 0 && n < 65536)
strcpy (r, "movzwd "); strcpy (r, "movzwd ");
else if (n < 0 && n > -257) else if (n < 0 && n > -129)
strcpy (r, "movxbd "); strcpy (r, "movxbd ");
else if (n < 0 && n > -65537) else if (n < 0 && n > -32769)
strcpy (r, "movxwd "); strcpy (r, "movxwd ");
else else
strcpy (r, "movd "); strcpy (r, "movd ");
......
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