From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=41021 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PpLDC-0005lK-60 for qemu-devel@nongnu.org; Tue, 15 Feb 2011 08:45:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PpLDA-0005Ku-Qh for qemu-devel@nongnu.org; Tue, 15 Feb 2011 08:45:01 -0500 Received: from mnementh.archaic.org.uk ([81.2.115.146]:56889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PpLDA-0005J7-H7 for qemu-devel@nongnu.org; Tue, 15 Feb 2011 08:45:00 -0500 From: Peter Maydell Date: Tue, 15 Feb 2011 13:44:40 +0000 Message-Id: <1297777490-5323-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 00/10] Fix Neon shift instructions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Christophe Lyon , patches@linaro.org This patch series fixes bugs in the Neon shift instructions VRSHR, VRSRA, VQRSHRN, VQRSHRUN, VRSHRN, VQSHRN, VSHRN, VQSHRUN, VRSHL, and VQRSHL. It is based on the v3 patchset Christophe sent recently, with some fixes for minor nits in those patches, plus some patches from me which fix problems with shifts by large shift counts and an issue with overlapping source and destination registers. With this patchset qemu passes random instruction sequence testing for all these instruction patterns. Christophe Lyon (5): target-arm: Fix rounding constant addition for Neon shifts target-arm: Fix unsigned VRSHL.s8 and .s16 right shifts by type width target-arm: fix unsigned 64 bit right shifts. target-arm: fix Neon VQSHRN and VSHRN. target-arm: fix decoding of Neon 64 bit shifts. Peter Maydell (5): target-arm: Fix signed VRSHL by large shift counts target-arm: Fix saturated values for Neon right shifts target-arm: Fix signed VQRSHL by large shift counts target-arm: Fix unsigned VQRSHL by large shift counts target-arm: Fix shift by immediate and narrow where src,dest overlap target-arm/neon_helper.c | 232 +++++++++++++++++++++++++++++++++++++++------- target-arm/translate.c | 71 ++++++++++---- 2 files changed, 250 insertions(+), 53 deletions(-)