Received: from [140.186.70.92] (port=34337 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqReC-00030r-Hf for qemu-devel@nongnu.org; Fri, 18 Feb 2011 09:49:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqReB-0004OS-Bu for qemu-devel@nongnu.org; Fri, 18 Feb 2011 09:49:28 -0500 Received: from eu1sys200aog107.obsmtp.com ([207.126.144.123]:44925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqReB-0004Nk-0d for qemu-devel@nongnu.org; Fri, 18 Feb 2011 09:49:27 -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 219C991 for ; Fri, 18 Feb 2011 14:49:23 +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 D72F52BBF for ; Fri, 18 Feb 2011 14:49:23 +0000 (GMT) From: Christophe Lyon Date: Fri, 18 Feb 2011 15:49:13 +0100 Message-ID: <1298040557-6342-1-git-send-email-christophe.lyon@st.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v4 0/4] 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 These 4 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. Compared to v3, I have split patch #1 into 2 pieces (#1 and #2 here), and fixed comments from Peter. Patch #1 modifies softfloat by exporting floatXX_default_nan, i.e. moving all these definitions from softfloat-specialize.h to softfloat.h Patch #2 introduces a new utility function float32_set_sign() to help return the right special values (-0, -infinity), as well as new constants: float32_infinity, float64_half, float64_256 and float64_512. Patch #3 uses these newly exported values and uses the VRECPE algorithm described in the ARM ARM. Patch #4 uses these newly exported values and uses the VRSQRTE algorithm described in the ARM ARM. Thanks to Peter for his careful reviews. Christophe Lyon (4): softfloat: move all default NaN definitions to softfloat.h. softfloat: add float32_set_sign(), float32_infinity, float64_half, float64_256 and float64_512. target-arm: fix support for VRECPE. target-arm: fix support for VRSQRTE. fpu/softfloat-specialize.h | 68 --------------- fpu/softfloat.h | 78 +++++++++++++++++ target-arm/helper.c | 204 +++++++++++++++++++++++++++++++++++++++----- 3 files changed, 260 insertions(+), 90 deletions(-) -- 1.7.2.3