Subject: Re: CVS commit: basesrc
To: Todd Vierling <tv@wasabisystems.com>
From: Chris G. Demetriou <cgd@sibyte.com>
List: source-changes
Date: 10/09/2000 12:34:45
tv@wasabisystems.com (Todd Vierling) writes:
> It may work errattically on alpha by ignoring the warning, but that's only
> by virtue of the way arguments are laid out in memory thanks to little
> endianness.
actually, i'd expect it to work _reliably_ on alpha, ignoring the
warning, for these particular functions.
That's because each argument is put in its own register, and since
these functions don't use more than the calling convention's # of
argument registers, all the args really do fit in registers, and it
all works out OK. (same with the return value.)
If they had too many args, and they had to overflow on to the stack,
_then_ the endianness would help. 8-)
cgd