Received: from eggs.gnu.org ([208.118.235.92]:46456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVEGG-0007Rk-TK for qemu-devel@nongnu.org; Thu, 17 May 2012 23:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SVEGE-0002iy-5T for qemu-devel@nongnu.org; Thu, 17 May 2012 23:53:52 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:48078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SVEGD-0002hO-GM for qemu-devel@nongnu.org; Thu, 17 May 2012 23:53:50 -0400 Date: Fri, 18 May 2012 11:53:36 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20120518035336.GA90636@cs.nctu.edu.tw> References: <1337243758-11802-1-git-send-email-proljc@gmail.com> <1337243758-11802-4-git-send-email-proljc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 03/15] Openrisc: add instructions translation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jia Liu Cc: Max Filippov , qemu-devel@nongnu.org > >> + ? =E5=9D=9Fwitch (op0) { > >> + ? ?case 0x10: ? ?/*lf.add.d*/ > >> + ? ? ? =E7=8C=82OG_DIS("lf.add.d r%d, r%d, r%d\n", rd, ra, rb); > >> + ? ? ? =E6=85=AFcg_gen_add_i64(cpu_R[rd], cpu_R[ra], cpu_R[rb]); > > > > Through this function you generate integer operations on the > > registers, although ISA > > suggests that there should be either single- or double-precision > > floating point operations. > > >=20 > Sorry, I didn't find a TCG-IR that make single- or double-precision > floating point operations, may you give me some hits? I guest you need to write your own floating helper functions to do that= . Am I right, Max?=20 Regards, chenwj --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj