Commit b8c752c8 by Ulrich Drepper

(ix86_expand_epilogue): Yes, the x86 can pop 64k at once using ret $N.

From-SVN: r33174
parent 409f8483
...@@ -2106,11 +2106,11 @@ ix86_expand_epilogue (emit_return) ...@@ -2106,11 +2106,11 @@ ix86_expand_epilogue (emit_return)
{ {
rtx popc = GEN_INT (current_function_pops_args); rtx popc = GEN_INT (current_function_pops_args);
/* i386 can only pop 32K bytes (maybe 64K? Is it signed?). If /* i386 can only pop 64K bytes. If asked to pop more, pop
asked to pop more, pop return address, do explicit add, and jump return address, do explicit add, and jump indirectly to the
indirectly to the caller. */ caller. */
if (current_function_pops_args >= 32768) if (current_function_pops_args >= 65536)
{ {
rtx ecx = gen_rtx_REG (SImode, 2); rtx ecx = gen_rtx_REG (SImode, 2);
......
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