reload1.c (struct elim_table): Change offset, initial_offset and previous_offset...
authorJakub Jelinek <jakub@redhat.com>
Mon, 27 Oct 2003 10:52:48 +0000 (11:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 27 Oct 2003 10:52:48 +0000 (11:52 +0100)
commitb19ee4bd24bb2ef06911fdf609a156171e2a4e0d
treecf433ef961eba9a9d96687e329ae8e19971b3acd
parent501e79efe738024b9c01a2bbb931226e181e2620
reload1.c (struct elim_table): Change offset, initial_offset and previous_offset fields to HOST_WIDE_INT.

* reload1.c (struct elim_table): Change offset, initial_offset and
previous_offset fields to HOST_WIDE_INT.
(offsets_at): Change from int to HOST_WIDE_INT.
(reload): Adjust offsets_at initialization.
(eliminate_regs_in_insn): Change type of offset to HOST_WIDE_INT.
(verify_initial_elim_offsets): Change type of t to HOST_WIDE_INT.
* config/i386/i386.c (ix86_compute_frame_layout): Change offset type
to HOST_WIDE_INT.  Don't save regs using mov for huge frame sizes
if TARGET_64BIT.
(pro_epilogue_adjust_stack): New function.
(ix86_expand_prologue, ix86_expand_epilogue): Use it.
* config/i386/i386.md (pro_epilogue_adjust_stack): Remove.
(pro_epilogue_adjust_stack_1): Remove * in front of name.
(pro_epilogue_adjust_stack_rex64): Handle -2147483648 properly.
(pro_epilogue_adjust_stack_rex64_2): New insn.

* config/i386/i386.c (ix86_expand_epilogue): Fix comment typo.

* config/i386/i386.c (ix86_expand_call): Replace 40 with
FIRST_REX_INT_REG + 3 /* R11 */.

* gcc.c-torture/compile/20031023-1.c: New test.
* gcc.c-torture/compile/20031023-2.c: New test.
* gcc.c-torture/compile/20031023-3.c: New test.
* gcc.c-torture/compile/20031023-4.c: New test.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r72975
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/reload1.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20031023-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/20031023-2.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/20031023-3.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/20031023-4.c [new file with mode: 0644]