From: Thiemo Seufer <ths@networkno.de>
To: Dirk Behme <dirk.behme@googlemail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] new MIPS instructions
Date: Sun, 23 Apr 2006 23:48:47 +0100 [thread overview]
Message-ID: <20060423224847.GA6034@networkno.de> (raw)
In-Reply-To: <444BCA67.6020300@gmail.com>
Dirk Behme wrote:
[snip]
> Pro "additional parameter": FPU is a good example for this.
> If the processor I want to emulate has no FPU I would assume
> if my code uses (accidently?) FPU instructions I get
> exception/error/warning from QEMU. It confused me that QEMU
> (wrongly) executes my program with unsupported instructions
> (architecture) without any warning.
In the long term we want both, I think, but ATM enhancing the emulation
capabilities has clearly priority for me.
We should probably go for a two-way approach: a per-ISA switch for
the userland emulation, and a per (generic-ish) CPU switch for
system emulation.
> I'm not an ELF expert: Does ELF contain information about
> architecture compiled for? If yes, we can combine both ways
> above? Load ELF file, read architecture from it and let QEMU
> autoselect correct architecture features (or give error if
> not supported). Then we have emulation accuracy but don't
> need additional options.
Binutils adds usually header flags for the ISA, but it doesn't have to,
and the original ELF ABI mandates even the flags should be zero.
It doesn't cover FPU, and MIPS16 as only ASE AFAIR.
Thiemo
prev parent reply other threads:[~2006-04-23 22: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
2006-04-23 18:41 ` Dirk Behme
2006-04-23 18:56 ` Paul Brook
2006-04-23 22:48 ` Thiemo Seufer [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=20060423224847.GA6034@networkno.de \
--to=ths@networkno.de \
--cc=dirk.behme@googlemail.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 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).