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
This commit is contained in:
Joern Rennecke 2010-01-19 05:46:27 +00:00 committed by Joern Rennecke
parent 547cc7eefe
commit ab7e224ace
2 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,12 @@
2010-01-19 Joern Rennecke <amylaar@spamcop.net>
* 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 <ubizjak@gmail.com> 2010-01-18 Uros Bizjak <ubizjak@gmail.com>
PR target/42774 PR target/42774

View File

@ -5998,7 +5998,7 @@ like:
@end smallexample @end smallexample
@end defmac @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 On targets which do not use @code{(cc0)}, and which use a hard
register rather than a pseudo-register to hold condition codes, the register rather than a pseudo-register to hold condition codes, the
regular CSE passes are often not able to identify cases in which 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 to enable this pass, and it should set the integers to which its
arguments point to the hard register numbers used for condition codes. 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 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}. @code{INVALID_REGNUM}.
The default version of this hook returns false. The default version of this hook returns false.
@end deftypefn @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 On targets which use multiple condition code modes in class
@code{MODE_CC}, it is sometimes the case that a comparison can be @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 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}) @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. 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 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 beginning of the block. Otherwise, copy the current context into @var{tc}.
@var{tc}.
@end deftypefn @end deftypefn
@deftypefn {Target Hook} void TARGET_SCHED_SET_SCHED_CONTEXT (void *@var{tc}) @deftypefn {Target Hook} void TARGET_SCHED_SET_SCHED_CONTEXT (void *@var{tc})