This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: hook doc patch (43/112): TARGET_FIXED_CONDITION_CODE_REGS
- From: Joern Rennecke <amylaar at spamcop dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 15 Jan 2010 22:06:18 -0500
- Subject: RFA: hook doc patch (43/112): TARGET_FIXED_CONDITION_CODE_REGS
2010-01-15 Joern Rennecke <amylaar@spamcop.net>
* tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names.
Index: tm.texi
===================================================================
--- tm.texi (revision 155367)
+++ tm.texi (working copy)
@@ -5999,7 +6049,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
@@ -6008,7 +6058,7 @@ small pass which optimizes such cases.
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.