[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 07/10] mips64-linux-user: Use MIPS64R2-generic as de
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 07/10] mips64-linux-user: Use MIPS64R2-generic as default cpu. |
Date: |
Sun, 10 Feb 2013 10:30:47 -0800 |
Signed-off-by: Richard Henderson <address@hidden>
---
linux-user/main.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
I don't actually recall why this patch was in my old tree. It might
just have been that I wanted a mips64r2 part for testing and didn't
want to keep specifying -cpu on the command-line. OTOH, I don't see
any reason not to emulate as many ISA extensions as possible by default.
r~
diff --git a/linux-user/main.c b/linux-user/main.c
index 3a3be70..8c4dffd 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -3525,7 +3525,9 @@ int main(int argc, char **argv, char **envp)
cpu_model = "Fujitsu MB86904";
#endif
#elif defined(TARGET_MIPS)
-#if defined(TARGET_ABI_MIPSN32) || defined(TARGET_ABI_MIPSN64)
+#if defined(TARGET_ABI_MIPSN64)
+ cpu_model = "MIPS64R2-generic";
+#elif defined(TARGET_ABI_MIPSN32)
cpu_model = "20Kc";
#else
cpu_model = "24Kf";
--
1.8.1.2
- Re: [Qemu-devel] [PATCH 05/10] mips-linux-user: Fix n32 and n64 syscalls, (continued)
[Qemu-devel] [PATCH 04/10] mips-linux-user: Save and restore fpu and dsp from sigcontext, Richard Henderson, 2013/02/10
[Qemu-devel] [PATCH 08/10] target-mips: Fix check_cp1_64bitmode, Richard Henderson, 2013/02/10
[Qemu-devel] [PATCH 07/10] mips64-linux-user: Use MIPS64R2-generic as default cpu.,
Richard Henderson <=
[Qemu-devel] [PATCH 09/10] mipsn32-linux-user: Restrict address space to 31-bits., Richard Henderson, 2013/02/10
[Qemu-devel] [PATCH 10/10] mipsn32-linux-user: Configure the architecture properly, Richard Henderson, 2013/02/10
Re: [Qemu-devel] [PATCH 00/10] Support mips64/mipsn32-linux-user, Peter Maydell, 2013/02/11