From ab7e224ace8ac00bed592dfa8d729c0341bc15d6 Mon Sep 17 00:00:00 2001 From: Joern Rennecke Date: Tue, 19 Jan 2010 05:46:27 +0000 Subject: [PATCH] tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. (TARGET_CC_MODES_COMPATIBLE): Put return value in braces. Add argument names. (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language. From-SVN: r156034 --- gcc/ChangeLog | 9 +++++++++ gcc/doc/tm.texi | 9 ++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14e8f8fa2c1..82f38e4dfb4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2010-01-19 Joern Rennecke + + * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. + + (TARGET_CC_MODES_COMPATIBLE): Put return value in braces. + Add argument names. + + (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language. + 2010-01-18 Uros Bizjak PR target/42774 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index e04c1ba3d41..22ea8a17de8 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5998,7 +5998,7 @@ like: @end smallexample @end defmac -@deftypefn {Target Hook} bool TARGET_FIXED_CONDITION_CODE_REGS (unsigned int *, unsigned int *) +@deftypefn {Target Hook} bool TARGET_FIXED_CONDITION_CODE_REGS (unsigned int *@var{p1}, unsigned int *@var{p2}) On targets which do not use @code{(cc0)}, and which use a hard register rather than a pseudo-register to hold condition codes, the regular CSE passes are often not able to identify cases in which the @@ -6007,13 +6007,13 @@ small pass which optimizes such cases. This hook should return true to enable this pass, and it should set the integers to which its arguments point to the hard register numbers used for condition codes. When there is only one such register, as is true on most systems, the -integer pointed to by the second argument should be set to +integer pointed to by @var{p2} should be set to @code{INVALID_REGNUM}. The default version of this hook returns false. @end deftypefn -@deftypefn {Target Hook} enum machine_mode TARGET_CC_MODES_COMPATIBLE (enum machine_mode, enum machine_mode) +@deftypefn {Target Hook} {enum machine_mode} TARGET_CC_MODES_COMPATIBLE (enum machine_mode @var{m1}, enum machine_mode @var{m2}) On targets which use multiple condition code modes in class @code{MODE_CC}, it is sometimes the case that a comparison can be validly done in more than one mode. On such a system, define this @@ -6599,8 +6599,7 @@ Return a pointer to a store large enough to hold target scheduling context. @deftypefn {Target Hook} void TARGET_SCHED_INIT_SCHED_CONTEXT (void *@var{tc}, bool @var{clean_p}) Initialize store pointed to by @var{tc} to hold target scheduling context. It @var{clean_p} is true then initialize @var{tc} as if scheduler is at the -beginning of the block. Otherwise, make a copy of the current context in -@var{tc}. +beginning of the block. Otherwise, copy the current context into @var{tc}. @end deftypefn @deftypefn {Target Hook} void TARGET_SCHED_SET_SCHED_CONTEXT (void *@var{tc}) -- 2.30.2