qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thiemo Seufer <ths@networkno.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] new MIPS instructions
Date: Sun, 23 Apr 2006 18:48:47 +0100	[thread overview]
Message-ID: <20060423174847.GA9279@networkno.de> (raw)
In-Reply-To: <444BB919.3060403@bellard.org>

Fabrice Bellard wrote:
> Hi,
> 
> Since many new MIPS instructions are added, I think it is very important 
>  now to add a way to dynamically select the exact MIPS processor model 
> that is emulated in QEMU.

FWIW, I added MIPS32R2 instructions to my local copy while keeping the
CPU a MIPS32R1 4k. This is enough to boot a R2 Linux kernel, and it
should also be good enough to run a R2 userland.

I used the generic architecture spec, currently without using a specific
implementation (the latter would be nice for watchpoints and performance
registers, which are implementation specific).

> I suggest adding a parameter to cpu_mips_init() telling the exact CPU 
> model which is emulated. Optionnal features (such as the FPU) could be 
> specified with an additionnal parameter.

Probably with an additional switch "emulate everything we know about",
which would be especially useful for usermode emulation where CPU
specifics don't matter that much.


Thiemo

  reply	other threads:[~2006-04-23 17:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-23 17:27 [Qemu-devel] new MIPS instructions Fabrice Bellard
2006-04-23 17:48 ` Thiemo Seufer [this message]
2006-04-23 18:41   ` Dirk Behme
2006-04-23 18:56     ` Paul Brook
2006-04-23 22:48     ` Thiemo Seufer

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=20060423174847.GA9279@networkno.de \
    --to=ths@networkno.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).