qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Nathan Froyd <froydnj@codesourcery.com>
To: "Guan, Qiang" <QiangGuan@my.unt.edu>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Can anybody help me figure out what has been done about floating point multiply in QEMU?
Date: Mon, 23 May 2011 14:03:46 -0400	[thread overview]
Message-ID: <4DDAA182.2030008@codesourcery.com> (raw)
In-Reply-To: <2BF1F3C0C95FE042BC029856BB5FF244922F@SN2PRD0102MB142.prod.exchangelabs.com>

On 05/23/2011 01:36 PM, Guan, Qiang wrote:
> I want to figure out what is happening in emulating the floating point
> calculation in QEMU. I checked the codes in target-i386/translate.c, but I
> cannot find anything about floating point calculation, I can only find the
> emulation about integer "mul" or "div". My question is what did QEMU do when
> they need to emulate a floating point calculation? where are these codes?

All the code for manipulating floating-point numbers is in the fpu directory.

The target-i386 code that calls into those functions is in op_helper.c.

HTH,
-Nathan

      reply	other threads:[~2011-05-23 18:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 17:36 [Qemu-devel] Can anybody help me figure out what has been done about floating point multiply in QEMU? Guan, Qiang
2011-05-23 18:03 ` Nathan Froyd [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=4DDAA182.2030008@codesourcery.com \
    --to=froydnj@codesourcery.com \
    --cc=QiangGuan@my.unt.edu \
    --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).