tm.texi.in (CLASS_LIKELY_SPILLED_P): Remove documentation.
* doc/tm.texi.in (CLASS_LIKELY_SPILLED_P): Remove documentation. * doc/tm.texi.in: Regenerate. * system.h (CLASS_LIKELY_SPILLED_P): Poison. * targhooks.c (default_class_likely_spilled_p): Don't use the CLASS_LIKELY_SPILLED_P macro. * config\arm\arm.md: Update comment. From-SVN: r165060
This commit is contained in:
parent
d2ab66aa02
commit
32bd8fcfda
|
@ -1,3 +1,13 @@
|
||||||
|
2010-10-06 Anatoly Sokolov <aesok@post.ru>
|
||||||
|
|
||||||
|
* doc/tm.texi.in (CLASS_LIKELY_SPILLED_P): Remove documentation.
|
||||||
|
* doc/tm.texi.in: Regenerate.
|
||||||
|
* system.h (CLASS_LIKELY_SPILLED_P): Poison.
|
||||||
|
* targhooks.c (default_class_likely_spilled_p): Don't use the
|
||||||
|
CLASS_LIKELY_SPILLED_P macro.
|
||||||
|
|
||||||
|
* config\arm\arm.md: Update comment.
|
||||||
|
|
||||||
2010-10-06 Jan Hubicka <jh@suse.cz>
|
2010-10-06 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
* ipa.c (cgraph_remove_unreachable_nodes): External references can always
|
* ipa.c (cgraph_remove_unreachable_nodes): External references can always
|
||||||
|
|
|
@ -6671,7 +6671,7 @@
|
||||||
|
|
||||||
;; Sigh! This variant shouldn't be needed, but combine often fails to
|
;; Sigh! This variant shouldn't be needed, but combine often fails to
|
||||||
;; merge cases like this because the op1 is a hard register in
|
;; merge cases like this because the op1 is a hard register in
|
||||||
;; CLASS_LIKELY_SPILLED_P.
|
;; arm_class_likely_spilled_p.
|
||||||
(define_peephole2
|
(define_peephole2
|
||||||
[(set (match_operand:SI 0 "low_register_operand" "")
|
[(set (match_operand:SI 0 "low_register_operand" "")
|
||||||
(match_operand:SI 1 "low_register_operand" ""))
|
(match_operand:SI 1 "low_register_operand" ""))
|
||||||
|
|
|
@ -2852,24 +2852,6 @@ the only effect of such implementation would be to slow down register
|
||||||
allocation.
|
allocation.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@defmac CLASS_LIKELY_SPILLED_P (@var{class})
|
|
||||||
A C expression whose value is nonzero if pseudos that have been assigned
|
|
||||||
to registers of class @var{class} would likely be spilled because
|
|
||||||
registers of @var{class} are needed for spill registers.
|
|
||||||
|
|
||||||
The default value of this macro returns 1 if @var{class} has exactly one
|
|
||||||
register and zero otherwise. On most machines, this default should be
|
|
||||||
used. Only define this macro to some other expression if pseudos
|
|
||||||
allocated by @file{local-alloc.c} end up in memory because their hard
|
|
||||||
registers were needed for spill registers. If this macro returns nonzero
|
|
||||||
for those classes, those pseudos will only be allocated by
|
|
||||||
@file{global.c}, which knows how to reallocate the pseudo to another
|
|
||||||
register. If there would not be another register available for
|
|
||||||
reallocation, you should not change the definition of this macro since
|
|
||||||
the only effect of such a definition would be to slow down register
|
|
||||||
allocation.
|
|
||||||
@end defmac
|
|
||||||
|
|
||||||
@defmac CLASS_MAX_NREGS (@var{class}, @var{mode})
|
@defmac CLASS_MAX_NREGS (@var{class}, @var{mode})
|
||||||
A C expression for the maximum number of consecutive registers
|
A C expression for the maximum number of consecutive registers
|
||||||
of class @var{class} needed to hold a value of mode @var{mode}.
|
of class @var{class} needed to hold a value of mode @var{mode}.
|
||||||
|
|
|
@ -2852,24 +2852,6 @@ the only effect of such implementation would be to slow down register
|
||||||
allocation.
|
allocation.
|
||||||
@end deftypefn
|
@end deftypefn
|
||||||
|
|
||||||
@defmac CLASS_LIKELY_SPILLED_P (@var{class})
|
|
||||||
A C expression whose value is nonzero if pseudos that have been assigned
|
|
||||||
to registers of class @var{class} would likely be spilled because
|
|
||||||
registers of @var{class} are needed for spill registers.
|
|
||||||
|
|
||||||
The default value of this macro returns 1 if @var{class} has exactly one
|
|
||||||
register and zero otherwise. On most machines, this default should be
|
|
||||||
used. Only define this macro to some other expression if pseudos
|
|
||||||
allocated by @file{local-alloc.c} end up in memory because their hard
|
|
||||||
registers were needed for spill registers. If this macro returns nonzero
|
|
||||||
for those classes, those pseudos will only be allocated by
|
|
||||||
@file{global.c}, which knows how to reallocate the pseudo to another
|
|
||||||
register. If there would not be another register available for
|
|
||||||
reallocation, you should not change the definition of this macro since
|
|
||||||
the only effect of such a definition would be to slow down register
|
|
||||||
allocation.
|
|
||||||
@end defmac
|
|
||||||
|
|
||||||
@defmac CLASS_MAX_NREGS (@var{class}, @var{mode})
|
@defmac CLASS_MAX_NREGS (@var{class}, @var{mode})
|
||||||
A C expression for the maximum number of consecutive registers
|
A C expression for the maximum number of consecutive registers
|
||||||
of class @var{class} needed to hold a value of mode @var{mode}.
|
of class @var{class} needed to hold a value of mode @var{mode}.
|
||||||
|
|
|
@ -716,7 +716,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
|
||||||
CAN_ELIMINATE TRAMPOLINE_TEMPLATE INITIALIZE_TRAMPOLINE \
|
CAN_ELIMINATE TRAMPOLINE_TEMPLATE INITIALIZE_TRAMPOLINE \
|
||||||
TRAMPOLINE_ADJUST_ADDRESS STATIC_CHAIN STATIC_CHAIN_INCOMING \
|
TRAMPOLINE_ADJUST_ADDRESS STATIC_CHAIN STATIC_CHAIN_INCOMING \
|
||||||
RETURN_POPS_ARGS UNITS_PER_SIMD_WORD OVERRIDE_OPTIONS \
|
RETURN_POPS_ARGS UNITS_PER_SIMD_WORD OVERRIDE_OPTIONS \
|
||||||
OPTIMIZATION_OPTIONS \
|
OPTIMIZATION_OPTIONS CLASS_LIKELY_SPILLED_P \
|
||||||
USING_SJLJ_EXCEPTIONS TARGET_UNWIND_INFO
|
USING_SJLJ_EXCEPTIONS TARGET_UNWIND_INFO
|
||||||
|
|
||||||
/* Other obsolete target macros, or macros that used to be in target
|
/* Other obsolete target macros, or macros that used to be in target
|
||||||
|
|
|
@ -1226,11 +1226,7 @@ default_profile_before_prologue (void)
|
||||||
bool
|
bool
|
||||||
default_class_likely_spilled_p (reg_class_t rclass)
|
default_class_likely_spilled_p (reg_class_t rclass)
|
||||||
{
|
{
|
||||||
#ifndef CLASS_LIKELY_SPILLED_P
|
|
||||||
return (reg_class_size[(int) rclass] == 1);
|
return (reg_class_size[(int) rclass] == 1);
|
||||||
#else
|
|
||||||
return CLASS_LIKELY_SPILLED_P ((enum reg_class) rclass);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Determine the debugging unwind mechanism for the target. */
|
/* Determine the debugging unwind mechanism for the target. */
|
||||||
|
|
Loading…
Reference in New Issue