From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:60894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOZTr-0000jy-UW for qemu-devel@nongnu.org; Mon, 23 May 2011 14:03:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOZTr-0007WD-1B for qemu-devel@nongnu.org; Mon, 23 May 2011 14:03:51 -0400 Received: from mail.codesourcery.com ([38.113.113.100]:54253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOZTq-0007W6-OQ for qemu-devel@nongnu.org; Mon, 23 May 2011 14:03:50 -0400 Message-ID: <4DDAA182.2030008@codesourcery.com> Date: Mon, 23 May 2011 14:03:46 -0400 From: Nathan Froyd MIME-Version: 1.0 References: <2BF1F3C0C95FE042BC029856BB5FF244922F@SN2PRD0102MB142.prod.exchangelabs.com> In-Reply-To: <2BF1F3C0C95FE042BC029856BB5FF244922F@SN2PRD0102MB142.prod.exchangelabs.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Can anybody help me figure out what has been done about floating point multiply in QEMU? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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