This is the mail archive of the gcc@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]

Re: pushing values to memory efficiently during rtl gen?



  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


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