aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2003-04-22 15:01:18 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2003-04-22 11:01:18 -0400
commit85e50b6ba8ca2221593838878ab8d804b37faf44 (patch)
treeee72cba827c7a86639b3c34912d8d1ba9c6e5d2a /gcc/doc
parent256c249cf916c692809166f946d5fb7926c3fa40 (diff)
downloadgcc-85e50b6ba8ca2221593838878ab8d804b37faf44.zip
gcc-85e50b6ba8ca2221593838878ab8d804b37faf44.tar.gz
gcc-85e50b6ba8ca2221593838878ab8d804b37faf44.tar.bz2
fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT macro defaulting to original BRANCH_COST heuristic.
* fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT macro defaulting to original BRANCH_COST heuristic. * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document. * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define. From-SVN: r65942
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 092e400..88ad237 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5529,6 +5529,12 @@ function address than to call an address kept in a register.
Define this macro if it is as good or better for a function to call
itself with an explicit address than to call an address kept in a
register.
+
+@findex RANGE_TEST_NON_SHORT_CIRCUIT
+@item 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 table
@deftypefn {Target Hook} bool TARGET_RTX_COSTS (rtx @var{x}, int @var{code}, int @var{outer_code}, int *@var{total})