On 08/11/2018 19:42, Fredrik Noring wrote: > Recognise the R5900, which reports itself as MIPS III, as a 64-bit CPU > supporting the n32 ABI. Test that DMULT is emulated in user mode.
if you have time, o32 & n32 support needs to be reworked. We have two binaries qemu-mips and qemu-mipsn32 sharing the same ELF mask/magic. As n32 identifies a kernel ABI version, we should have only one binary for qemu-mips and qemu-mipsn32 and the ABI version should be identified at runtime as it is done for ARM: ce4defa062 Arm Linux EABI syscall support. [I think we can use e_flags for that] I never did the change because I don't know where to find mipsn32 binaries to test my changes. Thanks, Laurent