RFA: hook doc patch (56/112): TARGET_SCHED_SPECULATE_INSN

Joern Rennecke amylaar@spamcop.net
Sat Jan 16 03:28:00 GMT 2010


-------------- next part --------------
2010-01-15  Joern Rennecke  <amylaar@spamcop.net>

	* tm.texi (TARGET_SCHED_SPECULATE_INSN): Fix return value description.

Index: tm.texi
===================================================================
--- tm.texi	(revision 155367)
+++ tm.texi	(working copy)
@@ -6644,9 +6675,11 @@ This hook is called by the insn schedule
 speculative dependencies and therefore can be scheduled speculatively.
 The hook is used to check if the pattern of @var{insn} has a speculative
 version and, in case of successful check, to generate that speculative
-pattern.  The hook should return 1, if the instruction has a speculative form,
-or @minus{}1, if it doesn't.  @var{request} describes the type of requested
-speculation.  If the return value equals 1 then @var{new_pat} is assigned
-the generated speculative pattern.
+pattern.  The hook should return @minus{}1, if there is no pattern that will
+satisfy the requested speculation type,
+0, if current pattern satisfies the requested speculation type,
+1, if pattern of the instruction should be changed; in the latter case,
+the hook shall write the new pattern to @var{new_pat}.
+@var{request} describes the type of requested speculation. 
 @end deftypefn
 


More information about the Gcc-patches mailing list