qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: KONRAD Frederic <frederic.konrad@adacore.com>,
	Peter Maydell <peter.maydell@linaro.org>
Cc: QEMU Developers <qemu-devel@nongnu.org>,
	william lin <wlsaidhi@gmail.com>
Subject: Re: [Qemu-devel] [Bug 645662] x87 fpu emulation not accurate enough
Date: Wed, 29 Nov 2017 16:32:08 +0100	[thread overview]
Message-ID: <7b448f9c-0ad2-aa5a-e76d-ce434abf57b9@redhat.com> (raw)
In-Reply-To: <9f64271d-7847-b44b-2bba-b0b49926bcfd@adacore.com>

On 29.11.2017 16:20, KONRAD Frederic wrote:
> 
> 
> On 11/29/2017 01:51 PM, Peter Maydell wrote:
>> On 29 November 2017 at 12:47, KONRAD Frederic
>> <frederic.konrad@adacore.com> wrote:
>>> Maybe a little hack might work for x86 on x86 though.
>>> Something like hardcoding the helper with an inline assembly
>>> code?
>>
>> The set of people who want to emulate x86 on x86 is surely
>> even smaller than the already tiny set of people who want to
>> emulate x86 at all. I don't think it makes sense to add
>> inline assembly hacks for that: QEMU should (as far as
>> is reasonably possible) behave the same on all hosts.
>>
> 
> Sure it was a first step suggestion.

FYI, there is some code in WinUAE / Previous which might be usable, see
e.g. WinUAE sources here:

https://github.com/tonioni/WinUAE/blob/master/softfloat/softfloat_fpsp.cpp

But the code is targetted for m68k only so far, so it likely needs some
work, and we're currently discussing whether it's feasible to include it
into QEMU at all, see this thread here:

https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05342.html

 Thomas

  reply	other threads:[~2017-11-29 15:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29  8:34 [Qemu-devel] [Bug 645662] x87 fpu emulation not accurate enough william lin
2017-11-29  9:39 ` KONRAD Frederic
2017-11-29  9:59   ` william lin
2017-11-29 10:17     ` KONRAD Frederic
2017-11-29 10:27     ` Peter Maydell
2017-11-29 12:47       ` KONRAD Frederic
2017-11-29 12:51         ` Peter Maydell
2017-11-29 15:20           ` KONRAD Frederic
2017-11-29 15:32             ` Thomas Huth [this message]
2017-12-06 11:15               ` KONRAD Frederic

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=7b448f9c-0ad2-aa5a-e76d-ce434abf57b9@redhat.com \
    --to=thuth@redhat.com \
    --cc=frederic.konrad@adacore.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=wlsaidhi@gmail.com \
    /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).