qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Artyom Tarasenko <atar4qemu@googlemail.com>
To: amateur <tianlei.zhao@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Latest git version failed to run 403.gcc benchmark in SPEC CPU2006
Date: Thu, 29 Jul 2010 22:20:28 +0200	[thread overview]
Message-ID: <AANLkTikM7pRGY944_iCGdRifnpHx8p_OWu1h_hAmmWtd@mail.gmail.com> (raw)
In-Reply-To: <20100729154025.GB3422@localdomain>

2010/7/29 amateur <tianlei.zhao@gmail.com>:
> Hi, All
>
> I'm trying to run benchmarks from SPEC CPU2006 compiled for SPARC on
> top of qemu-sparc32plus. However, several benchmarks failed to get the
> correct result.

Can you try to compile them for sparc32 (no plus)? Are the tests
multi-threaded? If yes, can you try to run them under
qemu-system-sparc? There are some known problems in user mode
emulation.

> One of the failed benchmarks, 403.gcc, runs for a while and then print
> an error message and exit.

Can you be more specific here? What message? From the description of
403.gcc, it looks like it does some floating point operations. Is the
error FPU specific?

What other tests are failing? Are there any pure integer tests among them?

> However, the same compiled gcc binary for
> SPARC runs quite well in Simics(a commercial emulator) and give the
> correct result.

What CPU does it emulate in your test?

> So I think there may be a bug in Qemu.
>
> Has anyone meet the same kind of problem before?

Well, there are still some bugs in qemu. I suspect there may be one
bug in the integer math which prevents NeXTStep from booting, but
haven't had a chance to track it down yet.

> I can do some debug, but I have no clue on how to do it. Could anyone
> please give me some hint on this? I have read the source code, but
> find it really hard to track down guest program miss-behavior problem.
>
> BTW, when I use sparc-linux-gdb with qemu-sparc32plus, it connect, but
> give the wrong value when print local variables. So, I'm really lost.
> Can anyone confirm on this, or I'm doing it the wrong way?

Haven't tried it with qemu-sparc32plus, but it seems to work fine with
qemu-system-sparc.


-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/

  reply	other threads:[~2010-07-29 20:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 15:40 [Qemu-devel] Latest git version failed to run 403.gcc benchmark in SPEC CPU2006 amateur
2010-07-29 20:20 ` Artyom Tarasenko [this message]
2010-07-30 10:50   ` amateur
2010-07-30 14:17     ` Vince Weaver
2010-07-30 14:21 ` Blue Swirl
2010-07-31  1:21   ` amateur

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=AANLkTikM7pRGY944_iCGdRifnpHx8p_OWu1h_hAmmWtd@mail.gmail.com \
    --to=atar4qemu@googlemail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tianlei.zhao@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).