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: Patch for gcc.dg/builtin-apply4.c, looking for sh port help


On Tue, 26 Oct 2010, Steve Ellcey wrote:

> +@hook TARGET_GET_RAW_RESULT_MODE
> +This target hook returns the mode to be used when accessing raw argument
> +registers in __builtin_apply_args.  Define this macro if the value
> +in reg_raw_mode is not correct.

@code{__builtin_apply_args}, @var{reg_raw_mode}.  Also, documentation for 
new hooks (not based on pre-existing GFDL-only documentation) should go 
directly in target.def rather than in tm.texi.in - or is your problem here 
that it *is* based on pre-existing GFDL-only documentation?

> +This target hook returns the mode to be used when accessing raw return
> +registers in __builtin_return.  Define this macro if the value
> +in reg_raw_mode is not correct.

Likewise.

-- 
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]