From: Leon Alrae <leon.alrae@imgtec.com>
To: "Maciej W. Rozycki" <macro@codesourcery.com>, qemu-devel@nongnu.org
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH] linux-user: Use the 5KEf processor for 64-bit emulation
Date: Fri, 5 Dec 2014 15:26:43 +0000 [thread overview]
Message-ID: <5481CEB3.8080003@imgtec.com> (raw)
In-Reply-To: <alpine.DEB.1.10.1411201131270.2881@tp.orcam.me.uk>
On 20/11/2014 16:00, Maciej W. Rozycki wrote:
> Replace the 20Kc original MIPS64 ISA processor used for 64-bit user
> emulation with the 5KEf processor that implements the MIPS64r2 ISA,
> complementing the choice of the 24Kf processor for 32-bit emulation.
>
> Signed-off-by: Maciej W. Rozycki <macro@codesourcery.com>
> ---
> Hi,
>
> For user emulation mode I think we want to default to the highest ISA
> level supported, for maximum user flexibility. Currently the MIPS64r2
> ISA is the highest 64-bit ISA we have a real processor support for so
> use it and the 5KEf which is the processor we have that implements it.
> Later, as newer processors are added, we can bump it further up.
>
> I think we should consider picking something for microMIPS support too
> sometime, perhaps based on ELF file flags, however the thing is with
> that we have no FPU processor to choose. So let's skip it for now.
>
> I have tested it lightly by running the GCC test suite for the
> mips-linux-gnu target and the n64 ABI (`-EB -mabi=64' multilib), using
> MIPS64r2 code.
>
> Please apply.
>
> Maciej
>
> qemu-mips-user-5kef.diff
> Index: qemu-git-trunk/linux-user/main.c
> ===================================================================
> --- qemu-git-trunk.orig/linux-user/main.c 2014-11-20 10:47:31.000000000 +0000
> +++ qemu-git-trunk/linux-user/main.c 2014-11-20 10:50:57.098940605 +0000
> @@ -3929,7 +3929,7 @@ int main(int argc, char **argv, char **e
> #endif
> #elif defined(TARGET_MIPS)
> #if defined(TARGET_ABI_MIPSN32) || defined(TARGET_ABI_MIPSN64)
> - cpu_model = "20Kc";
> + cpu_model = "5KEf";
> #else
> cpu_model = "24Kf";
> #endif
>
Reviewed-by: Leon Alrae <leon.alrae@imgtec.com>
prev parent reply other threads:[~2014-12-05 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 16:00 [Qemu-devel] [PATCH] linux-user: Use the 5KEf processor for 64-bit emulation Maciej W. Rozycki
2014-11-20 16:38 ` Peter Maydell
2014-11-20 17:21 ` Maciej W. Rozycki
2014-11-20 17:33 ` Peter Maydell
2014-12-05 15:26 ` Leon Alrae [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5481CEB3.8080003@imgtec.com \
--to=leon.alrae@imgtec.com \
--cc=aurelien@aurel32.net \
--cc=macro@codesourcery.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.