From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37359 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGboe-0005SN-Cx for qemu-devel@nongnu.org; Thu, 11 Nov 2010 13:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGbob-0000fQ-1P for qemu-devel@nongnu.org; Thu, 11 Nov 2010 13:24:08 -0500 Received: from mnementh.archaic.org.uk ([81.2.115.146]:46363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGboa-0000eC-Ff for qemu-devel@nongnu.org; Thu, 11 Nov 2010 13:24:05 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.69) (envelope-from ) id 1PGboY-0007VE-Rb for qemu-devel@nongnu.org; Thu, 11 Nov 2010 18:24:02 +0000 From: Peter Maydell Date: Thu, 11 Nov 2010 18:23:54 +0000 Message-Id: <1289499842-28818-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/8] ARM: fix VCVT instructions List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This patch series corrects a number of errors in the decoding and implementation of various forms of the ARM VCVT instruction. The resulting qemu has been tested by execution of 100,000 random variants of these instruction patterns with register values cross-checked against the results given by Cortex-A8 hardware. Thanks to Johan Bengtsson for posting the initial VCVT related patch which prompted me to do some more testing in this area. Peter Maydell (8): ARM: Fix decoding of VFP forms of VCVT between float and int/fixed ARM: Fix decoding of Neon forms of VCVT between float and fixed point ARM: Fix sense of to_integer bit in Neon VCVT float/int conversion ARM: Return correct result for float-to-integer conversion of NaN ARM: Return correct result for single<->double conversion of NaN ARM: Ignore top 16 bits when doing VCVT from 16 bit fixed point softfloat: Add float/double to 16 bit integer conversion functions ARM: Implement VCVT to 16 bit integer using new softfloat routines fpu/softfloat.c | 136 ++++++++++++++++++++++++++++++++++++++++++++++++ fpu/softfloat.h | 4 ++ target-arm/helper.c | 68 ++++++++++++++++++++++-- target-arm/translate.c | 35 ++++++++----- 4 files changed, 226 insertions(+), 17 deletions(-)