This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Vector shuffling


On Sun, 15 Aug 2010, Artem Shinkarov wrote:

> On Sun, Aug 15, 2010 at 4:32 PM, Joseph S. Myers
> <joseph@codesourcery.com> wrote:
> > On Sun, 15 Aug 2010, Artem Shinkarov wrote:
> >
> >> ? ? ? ? * target.def: Target hooks for vector shuffle.
> >
> > New hooks should have their documentation in target.def, not in
> > tm.texi.in.
> 
> Ok, I'll move the documentation to target.def. But what about
> tm.texi.in? Should there be some documentation as well, or should it
> be blank?

You just put an @hook line there.  An existing example is 
TARGET_ASM_OUTPUT_SOURCE_FILENAME where there is just:

@hook TARGET_ASM_OUTPUT_SOURCE_FILENAME

in tm.texi.in and the documentation is automatically extracted from 
target.def for tm.texi.

-- 
Joseph S. Myers
joseph@codesourcery.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]