From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8O3-0006Zx-Pw for qemu-devel@nongnu.org; Sat, 23 May 2015 08:18:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yw8Ny-0006Uh-R5 for qemu-devel@nongnu.org; Sat, 23 May 2015 08:18:43 -0400 Received: from nm14-vm8.bullet.mail.tp2.yahoo.com ([203.188.200.144]:50491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8Ny-0006RV-7l for qemu-devel@nongnu.org; Sat, 23 May 2015 08:18:38 -0400 Date: Sat, 23 May 2015 12:18:33 +0000 (UTC) From: =?UTF-8?B?5rWp5YCrIOmtjw==?= Message-ID: <1183137169.307126.1432383513091.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_307125_1726572427.1432383513089" Subject: [Qemu-devel] What's the differences betweencld/st and qemu_ld/st in TCG IR? Reply-To: =?UTF-8?B?5rWp5YCrIOmtjw==?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" ------=_Part_307125_1726572427.1432383513089 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, all: I've been trying to understand the process of binary translation inside TCG.If I haven't misunderstood, qemu_ld/st are the operations that will call helper function(ld_mmu) to let softmmu translate the GVA->GPA for the guest load/store instructions. So there are some points that I hope you can help me out: 1. Is every guest load/store instruction would be translated to qemu_ld/st IR? 2. What about another TCG IR "ld/st"? What kind of guest instructions would cause TCG generates that IRs and for what purpose? Any reply would be helpful to me.Thanks in advance. ------=_Part_307125_1726572427.1432383513089 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, all:
I've been t= rying to understand the process of binary translation inside TCG.
If I haven't misunder= stood, qemu_ld/st are the operations that will call helper function(ld_mmu)= to let softmmu translate the GVA->GPA for the guest load/store instruct= ions.
S= o there are some points that I hope you can help me out:
1. Is every guest load/s= tore instruction would be translated to qemu_ld/st IR?
2. What about another TCG IR= "ld/st"? What kind of guest instructions would cause TCG generates that IR= s and for what purpose?

Any reply would be help= ful to me. Thanks in advance.

------=_Part_307125_1726572427.1432383513089--