From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35839 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PplfR-0004bx-3d for qemu-devel@nongnu.org; Wed, 16 Feb 2011 12:59:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PplfP-0001UV-Og for qemu-devel@nongnu.org; Wed, 16 Feb 2011 12:59:57 -0500 Received: from eu1sys200aog111.obsmtp.com ([207.126.144.131]:55004) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PplfP-0001Tr-DB for qemu-devel@nongnu.org; Wed, 16 Feb 2011 12:59:55 -0500 Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id A6D19322 for ; Wed, 16 Feb 2011 17:59:52 +0000 (GMT) Received: from Webmail-eu.st.com (safex1hubcas6.st.com [10.75.90.73]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 3279E27A5 for ; Wed, 16 Feb 2011 17:59:52 +0000 (GMT) From: Date: Wed, 16 Feb 2011 18:59:43 +0100 Message-ID: <1297879186-12670-1-git-send-email-christophe.lyon@st.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v3 0/3] ARM: fix Neon vrecpe and vrsqrte instructions. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Christophe Lyon These 3 patches fix the ARM Neon vrecpe and vrsqrte instructions by matching the algorithms descibed in the ARM ARM. With these patches, qemu passes my ARM/Neon tests. Patch #1 modifies softfloat by exporting float32_default_nan and float32_infinity. For consistency, I have also moved all the target-dependent definitions of floatXX_default_nan to softfloat.h (ie the 16, 64, x80 and 128 bits versions in addition to the 32 bits ones). It also adds float32_set_sign() to help return the right special values (-0, -infinity). Patch #2 uses these newly exported values and uses the vrecpe algorithm described in the ARM ARM. Patch #3 uses these newly exported values and uses the vrsqrte algorithm described in the ARM ARM. Christophe Lyon (3): softfloat: export float32_default_nan, and float32_infinity. Add float32_set_sign(). target-arm: fix support for vrecpe. target-arm: fix support for vrsqrte. fpu/softfloat-specialize.h | 68 --------------- fpu/softfloat.h | 75 ++++++++++++++++ target-arm/helper.c | 206 +++++++++++++++++++++++++++++++++++++++----- 3 files changed, 259 insertions(+), 90 deletions(-) -- 1.7.2.3