Closed simonlindholm closed 1 year ago
Do you happen to know how this would look like on a little endian machine? I'm wondering mainly about the register usage Would it look like something like this? (notice the swapped registers)
lwc1 $f6, %lo(FLT_10018C00)($at)
lwc1 $f7, %lo(FLT_10018C04)($at)
I don't. Testing on PS1/PS2 on decomp.me just shows that those platforms don't support doubles at all.
I managed to test this on decomp.me and it seems like it flips the registers on little endian
Big endian (https://decomp.me/scratch/3O9WL):
lwc1 $f9,%lo(.rodata+0x28)(at)
lwc1 $f8,%lo(.rodata+0x2c)(at)
Little endian (https://decomp.me/scratch/Fzbf9):
lwc1 $f8,%lo(.rodata+0x28)(at)
lwc1 $f9,%lo(.rodata+0x2c)(at)
Fixed in release 1.12.2
From IDO 5.3 as1: