Received: from [140.186.70.92] (port=36966 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrTa2-0004a2-AK for qemu-devel@nongnu.org; Mon, 21 Feb 2011 06:05:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrTa0-0004q2-HP for qemu-devel@nongnu.org; Mon, 21 Feb 2011 06:05:25 -0500 Received: from mnementh.archaic.org.uk ([81.2.115.146]:46016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrTa0-0004pt-4J for qemu-devel@nongnu.org; Mon, 21 Feb 2011 06:05:24 -0500 From: Peter Maydell Date: Mon, 21 Feb 2011 11:05:20 +0000 Message-Id: <1298286322-16634-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH v3 0/2] target-arm: fix shift where src, dest overlap List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: patches@linaro.org This patchset is a replacement for the unapplied patch 10/10 of my shift-fixes series (http://patchwork.ozlabs.org/patch/83248/) which corrects the compilation failure. Since the fix involves refactoring to pull out some code into a separate function and then pulling the size check outside of the loop, I've done it as two patches for clarity. Change from v3: removed two now-unnecessary uses of TCGV_UNUSED (forgot to stg refresh before sending out patch series, sorry.) Peter Maydell (2): target-arm: Refactor to pull narrowing decode into separate function target-arm: Fix shift by immediate and narrow where src, dest overlap target-arm/translate.c | 127 +++++++++++++++++++++++------------------------ 1 files changed, 62 insertions(+), 65 deletions(-)