pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Tue, 20 Jan 2004 22:20:07 +0000 (22:20 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 20 Jan 2004 22:20:07 +0000 (22:20 +0000)
commita42952105e3bbc56a74773323f81bf23bd7e5ba1
tree2044ee040dc7f65cb0a9dacb1c92212e777d264a
parent3e89ed8dd36d61b8ebb6dea3a21c55a56d1662ac
pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.

* pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes.
* pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d):
Likewise.  Handle frames larger than 0x7fffffff on 64-bit ports.
(emit_move_sequence): Check scratch_reg first in various if statements.
Extend source simplification to handle all 64-bit CONST_INTs.
(pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing
frame size.
(hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for
frame offset calculations.
* pa.h (NEW_HP_ASSEMBLER): Add comment.
(MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT,
LEGITIMATE_64BIT_CONST_INT_P): Define.
(LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P.  Treat
any CONST_INT as legitimate during and after reload.
(VAL_32_BITS_P, INT_32_BITS): Define.
(LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets.

From-SVN: r76234
gcc/ChangeLog
gcc/config/pa/pa-protos.h
gcc/config/pa/pa.c
gcc/config/pa/pa.h