From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46370 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pi8Q3-0002C4-Ne for qemu-devel@nongnu.org; Wed, 26 Jan 2011 11:40:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pi8Ps-0006hj-Ri for qemu-devel@nongnu.org; Wed, 26 Jan 2011 11:40:22 -0500 Received: from b.mail.sonic.net ([64.142.19.5]:58261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pi8Ps-0006hE-Fe for qemu-devel@nongnu.org; Wed, 26 Jan 2011 11:40:20 -0500 Message-ID: <4D404E66.4020109@twiddle.net> Date: Wed, 26 Jan 2011 08:40:06 -0800 From: Richard Henderson MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 5/7] tcg-i386: Implement deposit operation. References: <1294716228-9299-1-git-send-email-rth@twiddle.net> <1294716228-9299-6-git-send-email-rth@twiddle.net> <20110125122749.GA19736@edde.se.axis.com> <4D3EF6C1.3080502@twiddle.net> <20110125164816.GA23569@laped.lan> <4D3F4993.4010109@twiddle.net> <20110126085338.GA26088@laped.lan> <4D4042B4.4020805@twiddle.net> <4D404533.3060708@suse.de> In-Reply-To: <4D404533.3060708@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: "Edgar E.Iglesias" , qemu-devel@nongnu.org, aurelien@aurel32.net On 01/26/2011 08:00 AM, Alexander Graf wrote: > Keeping it only inside of the translator would break on page faults, as > the lower 32 bits of the register would lie around in a temporary which > is invisible for the page fault resolver. Given that QEMU doesn't support truely async signals, and the fact that the translator can tell which insns can fault, I can't imagine that this is actually a problem. You should get the same sequence of writebacks when translating the TB the second time for tcg_gen_code_search_pc. Am I totally confused here? r~