From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOGVI-0001Rn-Tn for qemu-devel@nongnu.org; Tue, 16 Oct 2012 19:24:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOGVH-000574-SB for qemu-devel@nongnu.org; Tue, 16 Oct 2012 19:24:52 -0400 Received: from hall.aurel32.net ([88.191.126.93]:52876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOGVH-000570-Mx for qemu-devel@nongnu.org; Tue, 16 Oct 2012 19:24:51 -0400 Date: Wed, 17 Oct 2012 01:24:47 +0200 From: Aurelien Jarno Message-ID: <20121016232447.GH14078@ohm.aurel32.net> References: <1348685335-16770-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1348685335-16770-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH 0/2] tcg/arm: Implement movcond_i32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Richard Henderson , qemu-devel@nongnu.org, patches@linaro.org On Wed, Sep 26, 2012 at 07:48:53PM +0100, Peter Maydell wrote: > These patches implement movcond_i32 for the ARM TCG backend; we > emit "mov dst, v2; cmp c1, c2; movcc dst, v1". We could have > done this with a pair of conditional movs, but (a) this is not > actually any shorter (b) it means we don't get the common TCG > code doing the work of avoiding "mov reg to itself" (c) conditional > moves aren't quite as free as they used to be on the ARM7. > > (Tested using Aurelien's movcond-shift patches on the ARM frontend > as something that will generate enough movconds.) > > Peter Maydell (2): > tcg/arm: Factor out code to emit immediate or reg-reg op > tcg/arm: Implement movcond_i32 > > tcg/arm/tcg-target.c | 56 +++++++++++++++++++++++++++----------------------- > tcg/arm/tcg-target.h | 2 +- > 2 files changed, 31 insertions(+), 27 deletions(-) > > -- > 1.7.9.5 > Thanks, both applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net