h8300.h (INITIALIZE_TRAMPOLINE): Simplify by using Pmode.
* config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by using Pmode. From-SVN: r49668
This commit is contained in:
parent
72431aef26
commit
3494f1b40f
|
@ -1,3 +1,8 @@
|
|||
2002-02-10 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
|
||||
using Pmode.
|
||||
|
||||
2002-02-10 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
|
||||
|
|
|
@ -768,14 +768,13 @@ struct cum_arg
|
|||
FNADDR is an RTX for the address of the function's pure code.
|
||||
CXT is an RTX for the static chain value for the function. */
|
||||
|
||||
#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
|
||||
{ \
|
||||
enum machine_mode mode = TARGET_H8300H || TARGET_H8300S ? SImode : HImode; \
|
||||
emit_move_insn (gen_rtx_MEM (mode, plus_constant ((TRAMP), 2)), CXT); \
|
||||
emit_move_insn (gen_rtx_MEM (mode, plus_constant ((TRAMP), 6)), FNADDR); \
|
||||
if (TARGET_H8300H || TARGET_H8300S) \
|
||||
emit_move_insn (gen_rtx_MEM (QImode, plus_constant ((TRAMP), 6)), \
|
||||
GEN_INT (0x5A)); \
|
||||
#define INITIALIZE_TRAMPOLINE(TRAMP, FNADDR, CXT) \
|
||||
{ \
|
||||
emit_move_insn (gen_rtx_MEM (Pmode, plus_constant ((TRAMP), 2)), CXT); \
|
||||
emit_move_insn (gen_rtx_MEM (Pmode, plus_constant ((TRAMP), 6)), FNADDR); \
|
||||
if (TARGET_H8300H || TARGET_H8300S) \
|
||||
emit_move_insn (gen_rtx_MEM (QImode, plus_constant ((TRAMP), 6)), \
|
||||
GEN_INT (0x5A)); \
|
||||
}
|
||||
|
||||
/* Addressing modes, and classification of registers for them. */
|
||||
|
|
Loading…
Reference in New Issue