From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L0NMR-00056Q-JN for qemu-devel@nongnu.org; Wed, 12 Nov 2008 16:34:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L0NMP-00055x-WE for qemu-devel@nongnu.org; Wed, 12 Nov 2008 16:34:51 -0500 Received: from [199.232.76.173] (port=49622 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L0NMP-00055j-KE for qemu-devel@nongnu.org; Wed, 12 Nov 2008 16:34:49 -0500 Received: from csl.cornell.edu ([128.84.224.10]:2468 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L0NMP-0006x8-61 for qemu-devel@nongnu.org; Wed, 12 Nov 2008 16:34:49 -0500 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id mACLYcav023800 for ; Wed, 12 Nov 2008 16:34:43 -0500 (EST) Date: Wed, 12 Nov 2008 16:34:38 -0500 (EST) From: Vince Weaver Subject: Re: [Qemu-devel] alpha - syscalls can return two values In-Reply-To: <20081111152045.C64870@stanley.csl.cornell.edu> Message-ID: <20081112163231.G70715@stanley.csl.cornell.edu> References: <20081111151233.C64870@stanley.csl.cornell.edu> <20081111152045.C64870@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org and to keep correcting myself, it seems like the Alpha multi-value return syscalls do not in fact use the stack at all. I'm just posting this to clear up what I posted earlier. What happens is: normal return value goes into $v0 (as always) errno is put into $a3 (as always) secondary return value is placed into $a4. I have a patch that implements this that I'll send in a separate e-mail. Vince