public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Q about LIBCALL_VALUE in machine.h
@ 2004-01-05 16:35 Robert Baruch
  0 siblings, 0 replies; only message in thread
From: Robert Baruch @ 2004-01-05 16:35 UTC (permalink / raw)
  To: gcc-help

Hi all,

I'm looking at the description of LIBCALL_VALUE (and its cousin 
FUNCTION_VALUE) in the GCC Internals manual, and I'm also looking at all 
the different machine.h files in gcc. None of these seem to address a 
question I have.

Suppose my processor has only four 8-bit registers, A through D.

I can have LIBCALL_VALUE/FUNCTION_VALUE return register A for QImode, 
HImode, and SImode, since I have 32 bits of registers available. 
However, what should I return for DImode? I need 64 bits, but I don't 
have enough registers.

I suspect that this is where BLKmode would come in, but I am not sure 
how to use that. What happens if FUNCTION_VALUE is called with DImode? 
What should I return?

Thanks for any help!

--Rob

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-05 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-05 16:35 Q about LIBCALL_VALUE in machine.h Robert Baruch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).