Re: Return value on MIPS N64 ABI

2016-06-20 Thread Heiher
Thank you. On Mon, Jun 13, 2016 at 6:19 PM, Matthew Fortune wrote: > Heiher writes: >> Looks the return value of TestNewA is passed on $f0/$f2 from disassembly >> code. I don't known why the return value of TestNewB is passed on >> $v0/$v1? a bug?

RE: Return value on MIPS N64 ABI

2016-06-13 Thread Matthew Fortune
Heiher writes: > Looks the return value of TestNewA is passed on $f0/$f2 from disassembly > code. I don't known why the return value of TestNewB is passed on > $v0/$v1? a bug? I believe this is an area where GNU strays from the N64 ABI definition but is defacto standard.

Return value on MIPS N64 ABI

2016-06-13 Thread Heiher
Hi, Looks the return value of TestNewA is passed on $f0/$f2 from disassembly code. I don't known why the return value of TestNewB is passed on $v0/$v1? a bug? 229 00012c40 <_Z8TestNewAv>: 23012c40: 3c030002lui v1,0x2 23112c44: 0079182ddaddu