From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7IK7-0002IX-1v for qemu-devel@nongnu.org; Fri, 23 Sep 2011 22:50:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7IK5-00062r-Hu for qemu-devel@nongnu.org; Fri, 23 Sep 2011 22:50:39 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:49368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7IK4-00062Z-UD for qemu-devel@nongnu.org; Fri, 23 Sep 2011 22:50:37 -0400 Date: Sat, 24 Sep 2011 10:50:26 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20110924025026.GA55686@cs.nctu.edu.tw> References: <4E7A9153.9030905@linux.vnet.ibm.com> <20110922015833.GA11618@cs.nctu.edu.tw> <4E7A9D2E.20402@linux.vnet.ibm.com> <20110922023611.GA14886@cs.nctu.edu.tw> <20110923021411.GA2359@cs.nctu.edu.tw> 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] TB chaining List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Xin Tong Cc: qemu-devel@nongnu.org > I see, so they (jmp_next, jmp_first) are just for finding the tbs when > unchaining is needed. do they have any other uses? also, does QEMU do i= nline > caching ( when it is a conditional branch)? Yes, they are used for unchaining. Please see cpu_unlink_tb -> tb_reset_jump_recursive. What "inline caching" means? When it's a conditional branch, the branch target is fixed, and here comes the direct block chaining. There is another dynamic translation technique called IBTC (indirect branch translation cache) for indirect branch which has no fixed branch target. But QEMU doesn't has IBTC. Could you please explain what "inline caching" is? 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