cvs commit: src/sys/sys cdefs.h
Hiten Pandya
hmp at nxad.com
Fri Aug 29 10:18:23 PDT 2003
On Wed, 27 Aug 2003 10:29:18 -0700, Matthew Dillon wrote:
> Though I will note that use of this macro will be fairly restricted,
> at least initially, since it involves an incompatible ABI change for
> the functions it is applied to. I don't want people to go __usereg
> crazy in the source tree!
>
> It kinda brings me back to my Amiga days where regargs were used
> extensively to good effect. For IA32, however, due to the fewer
> registers that are available, use of regargs should be restricted to
> small 'leaf' functions only... things like bcopy(), and *NOT* things like,
> say, tcp_input() :-).
Ofcourse, thanks for the nice demonstration Matt. ;-)
It would not be good or useful to go __usereg crazy. :-)
-- Hiten
More information about the Commits
mailing list