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.
This series has been successfully built with the 10 different build configurations {gcc,clang} x -m64 x mips{,64}el-{linux-user,softmmu} {gcc,clang} x -m64 x mipsn32el-linux-user in addition successfully completing the R5900 test suite cd tests/tcg/mips/mipsr5900 && make check cd tests/tcg/mips/mipsn32r5900 && make check Fredrik Noring (2): linux-user/mips: Support the n32 ABI for the R5900 tests/tcg/mips: Test user mode DMULT for the R5900 linux-user/mips64/target_elf.h | 3 +++ tests/tcg/mips/mipsn32r5900/Makefile | 25 +++++++++++++++++ tests/tcg/mips/mipsn32r5900/dmult.c | 40 ++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 tests/tcg/mips/mipsn32r5900/Makefile create mode 100644 tests/tcg/mips/mipsn32r5900/dmult.c -- 2.18.1