From: "Alex Bennée" <alex.bennee@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "QEMU Trivial" <qemu-trivial@nongnu.org>,
"Stefan Weil" <sw@weilnetz.de>,
qemu-stable <qemu-stable@nongnu.org>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Andreas Färber" <afaerber@suse.de>,
"Richard Henderson" <rth@twiddle.net>
Subject: Re: [Qemu-devel] [PATCH] tests: Fix 'make test' for i686 hosts (buildregression))
Date: Fri, 07 Mar 2014 16:17:53 +0000 [thread overview]
Message-ID: <87y50maspa.fsf@linaro.org> (raw)
In-Reply-To: <CAFEAcA8nbPodctcDPXUjxZz4+0WeeUP=24DxuLeyU9OsBT=Vew@mail.gmail.com>
Peter Maydell <peter.maydell@linaro.org> writes:
> On 7 March 2014 13:19, Stefan Weil <sw@weilnetz.de> wrote:
>> test-i386 does some calculations and prints the results (see source code
>> tests/tcg/test-i386.c). If the user mode emulation of QEMU works, it
>> should not matter whether that executable runs native or emulated and
>> both outputs be identical. They aren't - that's why I think we have a
>> TCG problem to solve.
>
> I think TCG x86 FPU emulation has been a bit dodgy since
> forever; it's a fair amount of work to go through and
> fix everything up to be bitwise exact results versus
> hardware and I think that nobody's cared enough about x86
> emulation to do that...
IIRC the behaviour is different depending on how much x87 vs SIMD FP you
go through. FWIW the Transitive translator was able to do most FP ops
with generated code (certainly on SPARC->x86_64) and only go to softfloat
for some things. But you did need to disable the x87 to do it.
But I get the impression that FP performance is currently "good enough"
for what QEMU gets used for.
--
Alex Bennée
next prev parent reply other threads:[~2014-03-07 16:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-07 10:11 [Qemu-devel] [PATCH] tests: Fix 'make test' for i686 hosts (build regression) Stefan Weil
2014-03-07 12:06 ` [Qemu-devel] [PATCH] tests: Fix 'make test' for i686 hosts (buildregression)) Alex Bennée
2014-03-07 12:40 ` Stefan Weil
2014-03-07 12:56 ` Andreas Färber
2014-03-07 13:19 ` Stefan Weil
2014-03-07 13:35 ` Peter Maydell
2014-03-07 16:17 ` Alex Bennée [this message]
2014-03-07 16:37 ` Peter Maydell
2014-03-14 16:28 ` [Qemu-devel] [Qemu-trivial] [PATCH] tests: Fix 'make test' for i686 hosts (build regression) Michael Tokarev
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=87y50maspa.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=afaerber@suse.de \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=rth@twiddle.net \
--cc=sw@weilnetz.de \
/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).