From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8Vb-0007lh-2x for qemu-devel@nongnu.org; Sat, 23 May 2015 08:26:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yw8VX-0006vM-22 for qemu-devel@nongnu.org; Sat, 23 May 2015 08:26:31 -0400 Received: from nm9.bullet.mail.tp2.yahoo.com ([203.188.200.210]:49834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yw8VW-0006u0-F1 for qemu-devel@nongnu.org; Sat, 23 May 2015 08:26:26 -0400 Date: Sat, 23 May 2015 12:26:23 +0000 (UTC) From: =?UTF-8?B?5rWp5YCrIOmtjw==?= Message-ID: <636961558.306257.1432383983549.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_306256_322467562.1432383983547" Subject: [Qemu-devel] What's the difference between "ld/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_306256_322467562.1432383983547 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_306256_322467562.1432383983547 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi, all:
I've been trying to understand the pro= cess of binary translation inside TCG.
= If I haven't misunderstood, qemu_ld/st are the operations that will call=20 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 c= an help me out:
1. Is every guest load/store instruction would be translate= d to qemu_ld/st IR?
2. What about another TCG IR "ld/st"? What kind of gue= st instructions would cause TCG generates that IRs and for what purpose?

Any reply would be helpful to me. Thanks in advance.

<= /html> ------=_Part_306256_322467562.1432383983547--