diff options
author | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-28 18:31:00 +0000 |
---|---|---|
committer | amacleod <amacleod@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-02-28 18:31:00 +0000 |
commit | d5819eb83b417c919656625c87c58d0bd5157f18 (patch) | |
tree | f0989288e8d0f7625368718e35072b2c1823fad2 /gcc | |
parent | b44470aac393d0e535591cdce91bb3f254321d30 (diff) | |
download | gcc-d5819eb83b417c919656625c87c58d0bd5157f18.tar.gz |
* config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
extended constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50152 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 62cc8e0c401..684c2d0092b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-02-28 Andrew MacLeod <amacleod@redhat.com> + + * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign + extended constants. + 2002-02-28 Kazu Hirata <kazu@hxi.com> * config/h8300/h8300.c: Fix formatting. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index d661d30cdb3..4d8c4430098 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -6321,13 +6321,13 @@ sparc64_initialize_trampoline (tramp, fnaddr, cxt) */ emit_move_insn (gen_rtx_MEM (SImode, tramp), - GEN_INT (0x83414000)); + GEN_INT (trunc_int_for_mode (0x83414000, SImode))); emit_move_insn (gen_rtx_MEM (SImode, plus_constant (tramp, 4)), - GEN_INT (0xca586018)); + GEN_INT (trunc_int_for_mode (0xca586018, SImode))); emit_move_insn (gen_rtx_MEM (SImode, plus_constant (tramp, 8)), - GEN_INT (0x81c14000)); + GEN_INT (trunc_int_for_mode (0x81c14000, SImode))); emit_move_insn (gen_rtx_MEM (SImode, plus_constant (tramp, 12)), - GEN_INT (0xca586010)); + GEN_INT (trunc_int_for_mode (0xca586010, SImode))); emit_move_insn (gen_rtx_MEM (DImode, plus_constant (tramp, 16)), cxt); emit_move_insn (gen_rtx_MEM (DImode, plus_constant (tramp, 24)), fnaddr); emit_insn (gen_flushdi (validize_mem (gen_rtx_MEM (DImode, tramp)))); |