From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMf6w-0008Nh-2t for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:03:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMf6r-0008Lc-Fd for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:03:29 -0500 Received: from [199.232.76.173] (port=32950 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMf6r-0008LZ-Cl for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:03:25 -0500 Received: from mail-pz0-f188.google.com ([209.85.222.188]:44309) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMf6q-0006pN-RT for qemu-devel@nongnu.org; Mon, 21 Dec 2009 05:03:25 -0500 Received: by pzk26 with SMTP id 26so2966354pzk.4 for ; Mon, 21 Dec 2009 02:03:23 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <4B2F444D.8030204@redhat.com> References: <200912202257.22503.paul@codesourcery.com> <4B2ED6D0.1010900@twiddle.net> <761ea48b0912210113p42608776q7677f79eec83f5a6@mail.gmail.com> <4B2F444D.8030204@redhat.com> Date: Mon, 21 Dec 2009 11:03:23 +0100 Message-ID: <761ea48b0912210203u6eb6e46ax4ec63ad8a383c490@mail.gmail.com> From: Laurent Desnogues Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] Re: [PATCH 0/5] tcg conditional set, round 4 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, Paul Brook , aurelien@aurel32.net, Richard Henderson On Mon, Dec 21, 2009 at 10:47 AM, Paolo Bonzini wrote: > On 12/21/2009 10:13 AM, Laurent Desnogues wrote: >> >> Which front-ends would need it and would the cost to generate >> code for it on some (most?) back-ends be amortized? > > The ARM front-end could definitely use a backend's ability to do predication > (via movcond). I think most things done in the ARM front-end can be done with a simpler movcond that'd be: movcond cond, arg_cond1, arg_cond2, dest, vtrue though as Richard said this could impact tcg reg alloc and liveness analysis. Also, I wonder what would be the impact on speed. Laurent