> correct me if i am wrong. but isn't the usual MIPS calling convention to 
> store the return pc in R31?
> 
Almost certainly.

> you may just want to look at your compiler output. mips has various 
> "branch and link" commands that do a branch and put the returning pc 
> into R31, which is the usual calling convention.

As I mentioned, the function isn't even used, so its exact
implementation doesn't matter.  What matters is knowing that the
implementation is accurate and my problem is that I don't even know
whether the 64-bit version should be different from the 32-bit
version, I don't understand what differentiates the two alternatives
within the toolchain: how does one choose which version should be
used.  Or, if you feel brave, show me what I should submit to Russ for
release.  I will happily provide you with a set of patches that works
perfectly happily on my gNewSense, MIPS-64 notebook.

++L


Reply via email to