diff options
author | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-29 01:24:27 +0000 |
---|---|---|
committer | kkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-29 01:24:27 +0000 |
commit | edf54f2a2e8d02cf6b2a56d863e971bb480d60bc (patch) | |
tree | 6e5206234e2011fe87ca88acfe08dfbe38d900ca /gcc/config/sh/sh.h | |
parent | 2a165e7bfb330347cf62a01108dcd0b656dd9975 (diff) | |
download | gcc-edf54f2a2e8d02cf6b2a56d863e971bb480d60bc.tar.gz |
* target.h (gcc_target): New field allocate_initial_value.
* target-def.h (TARGET_ALLOCATE_INITIAL_VALUE): New macro.
(TARGET_INITIALIZER): Include it.
* integrate.c (allocate_initial_values): Use
targetm.allocate_initial_value.
* system.h: Poison ALLOCATE_INITIAL_VALUE.
* config/sh/sh-protos.h (sh_pr_n_sets): Delete.
* config/sh/sh.c (sh_pr_n_sets): Make it static.
(sh_allocate_initila_value): New function.
(TARGET_ALLOCATE_INITIAL_VALUE): Override default.
* config/sh/sh.h (ALLOCATE_INITIAL_VALUE): Delete.
* doc/tm.texi (TARGET_ALLOCATE_INITIAL_VALUE): Rename and
update from ALLOCATE_INITIAL_VALUE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101411 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh.h')
-rw-r--r-- | gcc/config/sh/sh.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index fafa09e2631..c803d554d0a 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -3360,18 +3360,6 @@ extern struct rtx_def *sp_switch; 2:\n" TEXT_SECTION_ASM_OP); #endif /* (defined CRT_BEGIN || defined CRT_END) && ! __SHMEDIA__ */ -#define ALLOCATE_INITIAL_VALUE(hard_reg) \ - (REGNO (hard_reg) == (TARGET_SHMEDIA ? PR_MEDIA_REG : PR_REG) \ - ? (current_function_is_leaf \ - && ! sh_pr_n_sets () \ - && ! (TARGET_SHCOMPACT \ - && ((current_function_args_info.call_cookie \ - & ~ CALL_COOKIE_RET_TRAMP (1)) \ - || current_function_has_nonlocal_label)) \ - ? (hard_reg) \ - : gen_rtx_MEM (Pmode, return_address_pointer_rtx)) \ - : NULL_RTX) - #define SIMULTANEOUS_PREFETCHES 2 /* FIXME: middle-end support for highpart optimizations is missing. */ |