| To: | "linux-mips@linux-mips.org" <linux-mips@linux-mips.org> |
|---|---|
| Subject: | 64-bit values on 32-bit machine |
| From: | Harald Krapfenbauer <krapfenbauer@ict.tuwien.ac.at> |
| Date: | Tue, 08 Jul 2008 11:34:37 +0200 |
| Organization: | Institute of Computer Technology, Vienna University of Technology |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Thunderbird 2.0.0.14 (X11/20080502) |
Hello, I want to know how 64-bit values are passed on a little-endian 32-bit MIPS machine on function calls. If there is one 64-bit argument to a function, it is passed in registers a0-a1 I think, but does a0 contain the lower 4 bytes or the upper 4? Similarly, if there are several arguments so that a 64-bit argument is passed on the stack: Do the lower 4 bytes go to the lower address or to the higher? Thanks in advance! Harald |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | how to print stack trace in signal handler, Rockson Li (zhengyli) |
|---|---|
| Next by Date: | [PATCH] Fix 32bit kernels on R4k with 128 byte cache line size, Thomas Bogendoerfer |
| Previous by Thread: | how to print stack trace in signal handler, Rockson Li (zhengyli) |
| Next by Thread: | Re: 64-bit values on 32-bit machine, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |