aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gcc.gnu.org>2000-04-16 00:08:56 +0000
committerUlrich Drepper <drepper@gcc.gnu.org>2000-04-16 00:08:56 +0000
commitb8c752c8d3069e5077e52b68356091a2dd9f8f48 (patch)
tree85e155e86f2463c9257ba7b0c7892ffa9297feaa
parent409f8483d4e8ec848d99de44bd92a909877e6c6a (diff)
downloadgcc-b8c752c8d3069e5077e52b68356091a2dd9f8f48.zip
gcc-b8c752c8d3069e5077e52b68356091a2dd9f8f48.tar.gz
gcc-b8c752c8d3069e5077e52b68356091a2dd9f8f48.tar.bz2
(ix86_expand_epilogue): Yes, the x86 can pop 64k at once using ret $N.
From-SVN: r33174
-rw-r--r--gcc/config/i386/i386.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index d5ebd67..516c274 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2106,11 +2106,11 @@ ix86_expand_epilogue (emit_return)
{
rtx popc = GEN_INT (current_function_pops_args);
- /* i386 can only pop 32K bytes (maybe 64K? Is it signed?). If
- asked to pop more, pop return address, do explicit add, and jump
- indirectly to the caller. */
+ /* i386 can only pop 64K bytes. If asked to pop more, pop
+ return address, do explicit add, and jump indirectly to the
+ caller. */
- if (current_function_pops_args >= 32768)
+ if (current_function_pops_args >= 65536)
{
rtx ecx = gen_rtx_REG (SImode, 2);