From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2855 invoked by alias); 7 Jun 2013 12:47:08 -0000 Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org Received: (qmail 2814 invoked by uid 89); 7 Jun 2013 12:47:07 -0000 X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,TW_FN,TW_XP autolearn=ham version=3.3.1 Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 07 Jun 2013 12:46:21 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id E1FED4680010 for ; Fri, 7 Jun 2013 13:46:18 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HcpB-aepdomc; Fri, 7 Jun 2013 13:46:12 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001539] Single precision floating point math library Date: Fri, 07 Jun 2013 12:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: NEW X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-06/txt/msg00014.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001539 --- Comment #26 from Ilija Kocho --- John, thank you for the testing and comment. In meantime I have been working on this bug and I am going to post patch(es) later today. (In reply to comment #25) > Ilija, I have tested the current patches on the "psim" target (big-endian). > > In the default configuration (CYGNUM_LIBM_COMPATIBILITY), I see 5 libm test > failures (out of tolerance): frexpf, asinf, logf, acosf, log10f > > In IEEE-only configuration (CYGSEM_LIBM_COMPAT_IEEE_ONLY), I get a build > error (EDOM undeclared). If I fix the build error by including > unconditionally from vector_support_float.h To be honest I don't know the implications for including errno.h on this condition. This header is a copy of vector_support.h adapted for SP floats. Note: An explanation is appreciated. For the time being, to be on a safe side I would put: #ifndef CYGSEM_LIBM_COMPAT_IEEE_ONLY # include // For Cyg_ErrNo +#else +# ifndef EDOM +# define EDOM 33 +# endif #endif >then I see 1 libm test failure > (out of tolerance): frexpf > > I hope this helps. I do not recall such failures (It's been a long time when I last tested on Cortex-M), but now I'll run the tests with both hard and soft FP. Ilija -- You are receiving this mail because: You are on the CC list for the bug.