From: Paul Brook <paul@nowt.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Removal of some target CPU macros
Date: Wed, 7 Nov 2007 23:36:20 +0000 [thread overview]
Message-ID: <200711072336.21532.paul@nowt.org> (raw)
In-Reply-To: <20071107231256.GG6510@aon.at>
On Wednesday 07 November 2007, Bernhard Fischer wrote:
> On Wed, Nov 07, 2007 at 11:55:26PM +0100, Fabrice Bellard wrote:
> >Why not adding a new CPU type such as "PPC970 with hypervisor" and keep
> >the current PPC970 implementation as it is without the hypervisor mode.
> >I don't see the problem in replacing the ifdefs with a new CPU model !
> >You cannot reasonnably tell that it is uglier than the current code.
>
> IMHO same for i386sx. Without an FPU there is just no FPU. Without
> 486-specific instructions (or i586 etc. for that matter), the machine is
> just constrained to the one requested by the user.
>
> The fact that usually too many non ISA-imposed features are available
> without explicit user choice is very, very unfortunate, IMO.
> As always, features are or may be nice, iff and only if you are not
> forced to have or use them..
The i386 emulation always enables all features because noone's bothered to
teach it which ones are optional.
I have local ARM patches (hopefully will be merged into CVS soon) that
implement 5+ different ISA variants, 3 different FPUs, a SIMD vector unit and
2 completely different exception models. All in the same binary, and all of
which can be turned off if for emulating cpus that don't implement a
particular feature.
Paul
next prev parent reply other threads:[~2007-11-07 23:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 18:32 [Qemu-devel] Removal of some target CPU macros Fabrice Bellard
2007-11-07 19:16 ` Jocelyn Mayer
2007-11-07 21:55 ` Fabrice Bellard
2007-11-07 22:28 ` J. Mayer
2007-11-07 22:55 ` Fabrice Bellard
2007-11-07 23:12 ` Bernhard Fischer
2007-11-07 23:36 ` Paul Brook [this message]
[not found] ` <200711072247.53354.paul@codesourcery.com>
2007-11-07 23:06 ` J. Mayer
2007-11-07 23:37 ` Paul Brook
2007-11-09 22:04 ` J. Mayer
2007-11-08 13:09 ` Tristan Gingold
2007-11-08 20:09 ` J. Mayer
2007-11-07 22:40 ` 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=200711072336.21532.paul@nowt.org \
--to=paul@nowt.org \
--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).