mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
linux-user/mips: Select M14Kc CPU to run microMIPS binaries
The M14Kc is our latest CPU supporting the microMIPS ASE.
Note, currently QEMU doesn't have 64-bit CPU supporting microMIPS ASE.
Cc: qemu-stable@nongnu.org
Fixes: 3c824109da ("target-mips: microMIPS ASE support")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/3054
Reported-by: Justin Applegate <justink.applegate@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250814070650.78657-4-philmd@linaro.org>
This commit is contained in:
@@ -37,6 +37,9 @@ const char *get_elf_cpu_model(uint32_t eflags)
|
||||
if ((eflags & EF_MIPS_ARCH) == EF_MIPS_ARCH_32R6) {
|
||||
return "mips32r6-generic";
|
||||
}
|
||||
if ((eflags & EF_MIPS_ARCH_ASE) == EF_MIPS_ARCH_ASE_MICROMIPS) {
|
||||
return "M14Kc";
|
||||
}
|
||||
if ((eflags & EF_MIPS_ARCH_ASE) == EF_MIPS_ARCH_ASE_M16) {
|
||||
return "74Kf";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user