qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Can anybody help me figure out what has been done about floating point multiply in QEMU?
@ 2011-05-23 17:36 Guan, Qiang
  2011-05-23 18:03 ` Nathan Froyd
  0 siblings, 1 reply; 2+ messages in thread
From: Guan, Qiang @ 2011-05-23 17:36 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

Hi, Everybody



I am a freshman in QEMU.

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?



Best wishes



Qiang

[-- Attachment #2: Type: text/html, Size: 863 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Can anybody help me figure out what has been done about floating point multiply in QEMU?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Froyd @ 2011-05-23 18:03 UTC (permalink / raw)
  To: Guan, Qiang; +Cc: qemu-devel@nongnu.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-23 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).