This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pushing values to memory efficiently during rtl gen?
- To: "David S. Miller" <davem at dm dot cobaltmicro dot com>
- Subject: Re: pushing values to memory efficiently during rtl gen?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 16 Sep 1998 10:43:14 -0600
- cc: raeburn at cygnus dot com, egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199809160543.WAA18559@dm.cobaltmicro.com>you write:
> Actually, it is interesting, what should be the semantics of a libcall
> be when scalar arguments are passed via ptrs to them?
This brings up a very important issue.
libcalls pass arguments based on their mode, not their type. ie, we
can not distinguish between a pointer and an integer of the same
size when passing an argument to a libcall (or returning a value
from a libcall).
It may not matter in your case, but it is something worth looking
into.
jeff