This is the mail archive of the
mailing list for the GCC project.
Re: using emit_library_call
- From: Richard Henderson <rth at redhat dot com>
- To: Per Fransson <fransson at cs dot lth dot se>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 5 Aug 2002 18:03:18 -0700
- Subject: Re: using emit_library_call
- References: <Pine.GSO.4.33.0208052024260.28354-100000@hagbard>
On Mon, Aug 05, 2002 at 08:45:18PM +0200, Per Fransson wrote:
> Can emit_library_call be used at any point during RTL generation with any
> rtx's as as arguments (to be used as arguments to the library function I
> wish to call)?
No. Basically only during initial rtl generation. You can
sometime get away with emitting calls later on targets that
pass parameters in registers, but that's sort of accidental.
For targets that pass parameters on the stack, all calls must
be emitted before virtual register instantiation.
> Also, the comment to emit_library_call mentions a function called
> 'protect_from_queue'; what does it mean that an expression is queued?
The post-incrememt will be queued.