From a8d56c302b917b71a6688c8cd65a69513e101b93 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Tue, 26 Jun 2012 11:27:41 +0000 Subject: [PATCH] re PR middle-end/33190 (tm.texi describes some non-existing hooks) PR other/33190 * doc/tm.texi.in: Document LOGICAL_OP_NON_SHORT_CIRCUIT. * doc/tm.texi: Regenerate. From-SVN: r188984 --- gcc/ChangeLog | 6 ++++++ gcc/doc/tm.texi | 6 ++++++ gcc/doc/tm.texi.in | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0c3d8cb3c93..206a3ad2c1f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-06-26 Steven Bosscher + + PR other/33190 + * doc/tm.texi.in: Document LOGICAL_OP_NON_SHORT_CIRCUIT. + * doc/tm.texi: Regenerate. + 2012-06-26 Steven Bosscher PR other/33190 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index cb0e07beb62..c003a1ab003 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -6414,6 +6414,12 @@ 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 LOGICAL_OP_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. diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 0d429d94bd1..94814c893cb 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -6342,6 +6342,12 @@ 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 LOGICAL_OP_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. -- 2.30.2