On Thu, 3 Nov 2011, Aldy Hernandez wrote:

> Index: gcc/doc/tm.texi.in
> ===================================================================
> --- gcc/doc/tm.texi.in        (.../trunk)     (revision 180744)
> +++ gcc/doc/tm.texi.in        (.../branches/transactional-memory)     
> (revision
> 180773)
> @@ -5696,6 +5696,16 @@ mode returned by @code{TARGET_VECTORIZE_
>  The default is zero which means to not iterate over other vector sizes.
>  @end deftypefn
> 
> +@hook TARGET_VECTORIZE_BUILTIN_TM_LOAD
> +This hook should return the built-in decl needed to load a vector of
> +the given type.
> +@end deftypefn
> +
> +@hook TARGET_VECTORIZE_BUILTIN_TM_STORE
> +This hook should return the built-in decl needed to store a vector of
> +the given type.
> +@end deftypefn

Is this text based on pre-existing GFDL-only text?  If not, it's better to 
put it in target.def rather than directly in tm.texi.in (tm.texi.in should 
preferably just have the @hook lines saying where to put the documentation 
in tm.texi).

> +For more information on GCC's support for transactional memory, see
> +the accompanying documentation for @file{libitm}.

It should be possible to use a proper Texinfo cross-reference linking to 
the other manual.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to