Commit 39fc3cc7 by Kazu Hirata Committed by Kazu Hirata

* h8300.h (RETURN_ADDR_RTX): New.

From-SVN: r45262
parent b3a68dba
2001-08-29 Kazu Hirata <kazu@hxi.com> 2001-08-29 Kazu Hirata <kazu@hxi.com>
* h8300.h (RETURN_ADDR_RTX): New.
2001-08-29 Kazu Hirata <kazu@hxi.com>
* h8300.md (movsi_h8300hs): Optimize loading of several * h8300.md (movsi_h8300hs): Optimize loading of several
special constants. special constants.
......
...@@ -495,6 +495,15 @@ enum reg_class { ...@@ -495,6 +495,15 @@ enum reg_class {
#define STARTING_FRAME_OFFSET 0 #define STARTING_FRAME_OFFSET 0
/* We do not know if the caller has a frame pointer, so we cannot go
beyond level 0. */
#define RETURN_ADDR_RTX(COUNT, FRAME) \
((COUNT) == 0 \
? gen_rtx_MEM (Pmode, \
plus_constant (arg_pointer_rtx, -GET_MODE_SIZE (Pmode))) \
: 0)
/* If we generate an insn to push BYTES bytes, /* If we generate an insn to push BYTES bytes,
this says how many the stack pointer really advances by. this says how many the stack pointer really advances by.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment