From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] partial-Plan9ification question From: forsyth@caldo.demon.co.uk MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20010713055804.8EB76199C0@mail.cse.psu.edu> Date: Fri, 13 Jul 2001 06:53:36 +0100 Topicbox-Message-UUID: c8fa4606-eac9-11e9-9e20-41e7f4b1d025 >>Speaking of that, what's the calling convention of 8c? Gcc is, I think >>caller saves, args are pushed last to first, return value in eax on x86. the plan 9 compilers are strictly caller-saves, for all architectures. other details vary. on some platforms, a few useful constants are reserved in floating-point registers. gcc varies between architectures, and even from platform to platform, but i think even on the x86 with hardly any registers, some registers are callee-saved.