Hi,

On Thu, 2015-10-15 at 14:02 -0400, Camm Maguire wrote:
> Greetings!  Alas, I've misplaced the email you sent me with the
> addresses of the mips experts.  Perhaps you could reforward and cc
> them. 

These were the people:
Matthew Fortune <[email protected]>
Richard Sandiford <[email protected]>

> In any case, I have this issue isolated in a qemu emulator, and can
> foresee a fix.  I have a remaining question.  On mips32, it seems one
> can safely assume the caller restores its own gp value after a call.  On
> mips64 this seems to be left up to the callee.  Is this correct?  Is
> this affected by any compiler switches?

I can answer that :)

In n64 gp is callee saved, whereas in o32 it is caller saved, so you
are correct. Since this is an absolute requirement of the ABI, I doubt
there are any compiler switches for it.

http://techpubs.sgi.com/library/dynaweb_docs/0640/SGI_Developer/books/Mpro_n32_ABI/sgi_html/ch02.html

James

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to