mirror of git://gcc.gnu.org/git/gcc.git
re PR middle-end/33190 (tm.texi describes some non-existing hooks)
PR other/33190 * config/mips/mips.h: Do not define ALL_COP_ADDITIONAL_REGISTER_NAMES. * config/frv/frv.h: Do not define REVERSE_CONDEXEC_PREDICATES_P. * doc/tm.texi.in: Remove documentation for unused target macros ALL_COP_ADDITIONAL_REGISTER_NAMES, DBX_OUTPUT_LBRAC, DBX_OUTPUT_NFUN, DBX_OUTPUT_RBRAC, RANGE_TEST_NON_SHORT_CIRCUIT, REAL_VALUE_TRUNCATE, REVERSE_CONDEXEC_PREDICATES_P, TARGET_ALIGN_ANON_BITFIELDS, and TARGET_NARROW_VOLATILE_BITFIELDS. Document that MD_HANDLE_UNWABI is a macro in libgcc. * doc/tm.texi: Regenerate. * system.h: Poison target macros ALL_COP_ADDITIONAL_REGISTER_NAMES, DBX_OUTPUT_LBRAC, DBX_OUTPUT_NFUN, DBX_OUTPUT_RBRAC, RANGE_TEST_NON_SHORT_CIRCUIT, REAL_VALUE_TRUNCATE, REVERSE_CONDEXEC_PREDICATES_P, TARGET_ALIGN_ANON_BITFIELDS, and TARGET_NARROW_VOLATILE_BITFIELDS From-SVN: r188983
This commit is contained in:
parent
3d2e04fdee
commit
0c93ed527c
|
|
@ -1,3 +1,21 @@
|
|||
2012-06-26 Steven Bosscher <steven@gcc.gnu.org>
|
||||
|
||||
PR other/33190
|
||||
* config/mips/mips.h: Do not define ALL_COP_ADDITIONAL_REGISTER_NAMES.
|
||||
* config/frv/frv.h: Do not define REVERSE_CONDEXEC_PREDICATES_P.
|
||||
* doc/tm.texi.in: Remove documentation for unused target macros
|
||||
ALL_COP_ADDITIONAL_REGISTER_NAMES, DBX_OUTPUT_LBRAC, DBX_OUTPUT_NFUN,
|
||||
DBX_OUTPUT_RBRAC, RANGE_TEST_NON_SHORT_CIRCUIT, REAL_VALUE_TRUNCATE,
|
||||
REVERSE_CONDEXEC_PREDICATES_P, TARGET_ALIGN_ANON_BITFIELDS, and
|
||||
TARGET_NARROW_VOLATILE_BITFIELDS.
|
||||
Document that MD_HANDLE_UNWABI is a macro in libgcc.
|
||||
* doc/tm.texi: Regenerate.
|
||||
* system.h: Poison target macros
|
||||
ALL_COP_ADDITIONAL_REGISTER_NAMES, DBX_OUTPUT_LBRAC, DBX_OUTPUT_NFUN,
|
||||
DBX_OUTPUT_RBRAC, RANGE_TEST_NON_SHORT_CIRCUIT, REAL_VALUE_TRUNCATE,
|
||||
REVERSE_CONDEXEC_PREDICATES_P, TARGET_ALIGN_ANON_BITFIELDS, and
|
||||
TARGET_NARROW_VOLATILE_BITFIELDS
|
||||
|
||||
2012-06-26 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR lto/53572
|
||||
|
|
|
|||
|
|
@ -1519,9 +1519,6 @@ __asm__("\n" \
|
|||
#define REVERSIBLE_CC_MODE(MODE) \
|
||||
((MODE) == CCmode || (MODE) == CC_UNSmode || (MODE) == CC_NZmode)
|
||||
|
||||
/* Frv CCR_MODE's are not reversible. */
|
||||
#define REVERSE_CONDEXEC_PREDICATES_P(x,y) 0
|
||||
|
||||
|
||||
/* Describing Relative Costs of Operations. */
|
||||
|
||||
|
|
|
|||
|
|
@ -2521,15 +2521,9 @@ typedef struct mips_args {
|
|||
{ "gp", 28 + GP_REG_FIRST }, \
|
||||
{ "sp", 29 + GP_REG_FIRST }, \
|
||||
{ "fp", 30 + GP_REG_FIRST }, \
|
||||
{ "ra", 31 + GP_REG_FIRST }, \
|
||||
ALL_COP_ADDITIONAL_REGISTER_NAMES \
|
||||
{ "ra", 31 + GP_REG_FIRST } \
|
||||
}
|
||||
|
||||
/* This is meant to be redefined in the host dependent files. It is a
|
||||
set of alternative names and regnums for mips coprocessors. */
|
||||
|
||||
#define ALL_COP_ADDITIONAL_REGISTER_NAMES
|
||||
|
||||
#define DBR_OUTPUT_SEQEND(STREAM) \
|
||||
do \
|
||||
{ \
|
||||
|
|
|
|||
|
|
@ -3426,8 +3426,8 @@ This macro allows the target to add operating system specific code to the
|
|||
call-frame unwinder to handle the IA-64 @code{.unwabi} unwinding directive,
|
||||
usually used for signal or interrupt frames.
|
||||
|
||||
This macro is called from @code{uw_update_context} in @file{unwind-ia64.c}.
|
||||
@var{context} is an @code{_Unwind_Context};
|
||||
This macro is called from @code{uw_update_context} in libgcc's
|
||||
@file{unwind-ia64.c}. @var{context} is an @code{_Unwind_Context};
|
||||
@var{fs} is an @code{_Unwind_FrameState}. Examine @code{fs->unwabi}
|
||||
for the abi and context in the @code{.unwabi} directive. If the
|
||||
@code{.unwabi} directive can be handled, the register save addresses should
|
||||
|
|
@ -6134,20 +6134,6 @@ There is one macro that may need to be defined for targets
|
|||
supporting conditional execution, independent of how they
|
||||
represent conditional branches.
|
||||
|
||||
@defmac REVERSE_CONDEXEC_PREDICATES_P (@var{op1}, @var{op2})
|
||||
A C expression that returns true if the conditional execution predicate
|
||||
@var{op1}, a comparison operation, is the inverse of @var{op2} and vice
|
||||
versa. Define this to return 0 if the target has conditional execution
|
||||
predicates that cannot be reversed safely. There is no need to validate
|
||||
that the arguments of op1 and op2 are the same, this is done separately.
|
||||
If no expansion is specified, this macro is defined as follows:
|
||||
|
||||
@smallexample
|
||||
#define REVERSE_CONDEXEC_PREDICATES_P (x, y) \
|
||||
(GET_CODE ((x)) == reversed_comparison_code ((y), NULL))
|
||||
@end smallexample
|
||||
@end defmac
|
||||
|
||||
@node Costs
|
||||
@section Describing Relative Costs of Operations
|
||||
@cindex costs of instructions
|
||||
|
|
@ -6428,12 +6414,6 @@ Define this macro if it is as good or better to call a constant
|
|||
function address than to call an address kept in a register.
|
||||
@end defmac
|
||||
|
||||
@defmac RANGE_TEST_NON_SHORT_CIRCUIT
|
||||
Define this macro if a non-short-circuit operation produced by
|
||||
@samp{fold_range_test ()} is optimal. This macro defaults to true if
|
||||
@code{BRANCH_COST} is greater than or equal to the value 2.
|
||||
@end defmac
|
||||
|
||||
@deftypefn {Target Hook} bool TARGET_RTX_COSTS (rtx @var{x}, int @var{code}, int @var{outer_code}, int @var{opno}, int *@var{total}, bool @var{speed})
|
||||
This target hook describes the relative costs of RTL expressions.
|
||||
|
||||
|
|
@ -9345,22 +9325,6 @@ number for a type number.
|
|||
@c prevent bad page break with this line
|
||||
These are hooks for DBX format.
|
||||
|
||||
@defmac DBX_OUTPUT_LBRAC (@var{stream}, @var{name})
|
||||
Define this macro to say how to output to @var{stream} the debugging
|
||||
information for the start of a scope level for variable names. The
|
||||
argument @var{name} is the name of an assembler symbol (for use with
|
||||
@code{assemble_name}) whose value is the address where the scope begins.
|
||||
@end defmac
|
||||
|
||||
@defmac DBX_OUTPUT_RBRAC (@var{stream}, @var{name})
|
||||
Like @code{DBX_OUTPUT_LBRAC}, but for the end of a scope level.
|
||||
@end defmac
|
||||
|
||||
@defmac DBX_OUTPUT_NFUN (@var{stream}, @var{lscope_label}, @var{decl})
|
||||
Define this macro if the target machine requires special handling to
|
||||
output an @code{N_FUN} entry for the function @var{decl}.
|
||||
@end defmac
|
||||
|
||||
@defmac DBX_OUTPUT_SOURCE_LINE (@var{stream}, @var{line}, @var{counter})
|
||||
A C statement to output DBX debugging information before code for line
|
||||
number @var{line} of the current source file to the stdio stream
|
||||
|
|
@ -9684,13 +9648,6 @@ Returns the negative of the floating point value @var{x}.
|
|||
Returns the absolute value of @var{x}.
|
||||
@end deftypefn
|
||||
|
||||
@deftypefn Macro REAL_VALUE_TYPE REAL_VALUE_TRUNCATE (REAL_VALUE_TYPE @var{mode}, enum machine_mode @var{x})
|
||||
Truncates the floating point value @var{x} to fit in @var{mode}. The
|
||||
return value is still a full-size @code{REAL_VALUE_TYPE}, but it has an
|
||||
appropriate bit pattern to be output as a floating constant whose
|
||||
precision accords with mode @var{mode}.
|
||||
@end deftypefn
|
||||
|
||||
@deftypefn Macro void REAL_VALUE_TO_INT (HOST_WIDE_INT @var{low}, HOST_WIDE_INT @var{high}, REAL_VALUE_TYPE @var{x})
|
||||
Converts a floating point value @var{x} into a double-precision integer
|
||||
which is then stored into @var{low} and @var{high}. If the value is not
|
||||
|
|
@ -10058,15 +10015,6 @@ floating-point support; they are not included in this mechanism.
|
|||
There is one macro used in defining the MIPS coprocessor interface which
|
||||
you may want to override in subtargets; it is described below.
|
||||
|
||||
@defmac ALL_COP_ADDITIONAL_REGISTER_NAMES
|
||||
A comma-separated list (with leading comma) of pairs describing the
|
||||
alternate names of coprocessor registers. The format of each entry should be
|
||||
@smallexample
|
||||
@{ @var{alternatename}, @var{register_number}@}
|
||||
@end smallexample
|
||||
Default: empty.
|
||||
@end defmac
|
||||
|
||||
@node PCH Target
|
||||
@section Parameters for Precompiled Header Validity Checking
|
||||
@cindex parameters, precompiled headers
|
||||
|
|
|
|||
|
|
@ -3408,8 +3408,8 @@ This macro allows the target to add operating system specific code to the
|
|||
call-frame unwinder to handle the IA-64 @code{.unwabi} unwinding directive,
|
||||
usually used for signal or interrupt frames.
|
||||
|
||||
This macro is called from @code{uw_update_context} in @file{unwind-ia64.c}.
|
||||
@var{context} is an @code{_Unwind_Context};
|
||||
This macro is called from @code{uw_update_context} in libgcc's
|
||||
@file{unwind-ia64.c}. @var{context} is an @code{_Unwind_Context};
|
||||
@var{fs} is an @code{_Unwind_FrameState}. Examine @code{fs->unwabi}
|
||||
for the abi and context in the @code{.unwabi} directive. If the
|
||||
@code{.unwabi} directive can be handled, the register save addresses should
|
||||
|
|
@ -6062,20 +6062,6 @@ There is one macro that may need to be defined for targets
|
|||
supporting conditional execution, independent of how they
|
||||
represent conditional branches.
|
||||
|
||||
@defmac REVERSE_CONDEXEC_PREDICATES_P (@var{op1}, @var{op2})
|
||||
A C expression that returns true if the conditional execution predicate
|
||||
@var{op1}, a comparison operation, is the inverse of @var{op2} and vice
|
||||
versa. Define this to return 0 if the target has conditional execution
|
||||
predicates that cannot be reversed safely. There is no need to validate
|
||||
that the arguments of op1 and op2 are the same, this is done separately.
|
||||
If no expansion is specified, this macro is defined as follows:
|
||||
|
||||
@smallexample
|
||||
#define REVERSE_CONDEXEC_PREDICATES_P (x, y) \
|
||||
(GET_CODE ((x)) == reversed_comparison_code ((y), NULL))
|
||||
@end smallexample
|
||||
@end defmac
|
||||
|
||||
@node Costs
|
||||
@section Describing Relative Costs of Operations
|
||||
@cindex costs of instructions
|
||||
|
|
@ -6356,12 +6342,6 @@ Define this macro if it is as good or better to call a constant
|
|||
function address than to call an address kept in a register.
|
||||
@end defmac
|
||||
|
||||
@defmac RANGE_TEST_NON_SHORT_CIRCUIT
|
||||
Define this macro if a non-short-circuit operation produced by
|
||||
@samp{fold_range_test ()} is optimal. This macro defaults to true if
|
||||
@code{BRANCH_COST} is greater than or equal to the value 2.
|
||||
@end defmac
|
||||
|
||||
@hook TARGET_RTX_COSTS
|
||||
This target hook describes the relative costs of RTL expressions.
|
||||
|
||||
|
|
@ -9240,22 +9220,6 @@ number for a type number.
|
|||
@c prevent bad page break with this line
|
||||
These are hooks for DBX format.
|
||||
|
||||
@defmac DBX_OUTPUT_LBRAC (@var{stream}, @var{name})
|
||||
Define this macro to say how to output to @var{stream} the debugging
|
||||
information for the start of a scope level for variable names. The
|
||||
argument @var{name} is the name of an assembler symbol (for use with
|
||||
@code{assemble_name}) whose value is the address where the scope begins.
|
||||
@end defmac
|
||||
|
||||
@defmac DBX_OUTPUT_RBRAC (@var{stream}, @var{name})
|
||||
Like @code{DBX_OUTPUT_LBRAC}, but for the end of a scope level.
|
||||
@end defmac
|
||||
|
||||
@defmac DBX_OUTPUT_NFUN (@var{stream}, @var{lscope_label}, @var{decl})
|
||||
Define this macro if the target machine requires special handling to
|
||||
output an @code{N_FUN} entry for the function @var{decl}.
|
||||
@end defmac
|
||||
|
||||
@defmac DBX_OUTPUT_SOURCE_LINE (@var{stream}, @var{line}, @var{counter})
|
||||
A C statement to output DBX debugging information before code for line
|
||||
number @var{line} of the current source file to the stdio stream
|
||||
|
|
@ -9571,13 +9535,6 @@ Returns the negative of the floating point value @var{x}.
|
|||
Returns the absolute value of @var{x}.
|
||||
@end deftypefn
|
||||
|
||||
@deftypefn Macro REAL_VALUE_TYPE REAL_VALUE_TRUNCATE (REAL_VALUE_TYPE @var{mode}, enum machine_mode @var{x})
|
||||
Truncates the floating point value @var{x} to fit in @var{mode}. The
|
||||
return value is still a full-size @code{REAL_VALUE_TYPE}, but it has an
|
||||
appropriate bit pattern to be output as a floating constant whose
|
||||
precision accords with mode @var{mode}.
|
||||
@end deftypefn
|
||||
|
||||
@deftypefn Macro void REAL_VALUE_TO_INT (HOST_WIDE_INT @var{low}, HOST_WIDE_INT @var{high}, REAL_VALUE_TYPE @var{x})
|
||||
Converts a floating point value @var{x} into a double-precision integer
|
||||
which is then stored into @var{low} and @var{high}. If the value is not
|
||||
|
|
@ -9943,15 +9900,6 @@ floating-point support; they are not included in this mechanism.
|
|||
There is one macro used in defining the MIPS coprocessor interface which
|
||||
you may want to override in subtargets; it is described below.
|
||||
|
||||
@defmac ALL_COP_ADDITIONAL_REGISTER_NAMES
|
||||
A comma-separated list (with leading comma) of pairs describing the
|
||||
alternate names of coprocessor registers. The format of each entry should be
|
||||
@smallexample
|
||||
@{ @var{alternatename}, @var{register_number}@}
|
||||
@end smallexample
|
||||
Default: empty.
|
||||
@end defmac
|
||||
|
||||
@node PCH Target
|
||||
@section Parameters for Precompiled Header Validity Checking
|
||||
@cindex parameters, precompiled headers
|
||||
|
|
|
|||
|
|
@ -889,7 +889,10 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
|
|||
PREFERRED_OUTPUT_RELOAD_CLASS SYSTEM_INCLUDE_DIR \
|
||||
STANDARD_INCLUDE_DIR STANDARD_INCLUDE_COMPONENT \
|
||||
LINK_ELIMINATE_DUPLICATE_LDIRECTORIES MIPS_DEBUGGING_INFO \
|
||||
IDENT_ASM_OP
|
||||
IDENT_ASM_OP ALL_COP_ADDITIONAL_REGISTER_NAMES DBX_OUTPUT_LBRAC \
|
||||
DBX_OUTPUT_NFUN DBX_OUTPUT_RBRAC RANGE_TEST_NON_SHORT_CIRCUIT \
|
||||
REAL_VALUE_TRUNCATE REVERSE_CONDEXEC_PREDICATES_P \
|
||||
TARGET_ALIGN_ANON_BITFIELDS TARGET_NARROW_VOLATILE_BITFIELDS
|
||||
|
||||
/* Hooks that are no longer used. */
|
||||
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
|
||||
|
|
|
|||
Loading…
Reference in New Issue