From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12958 invoked by alias); 29 Aug 2012 19:34:59 -0000 Received: (qmail 12847 invoked by uid 22791); 29 Aug 2012 19:34:58 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 29 Aug 2012 19:34:45 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 5462A2F78009 for ; Wed, 29 Aug 2012 20:34:44 +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 gZwVXJgCD0jx; Wed, 29 Aug 2012 20:34:39 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001607] Cortex-M4F architectural Floating Point Support 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: NEEDINFO X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: jifl@ecoscentric.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #1816 is obsolete Attachment #1893 is obsolete In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 29 Aug 2012 19:34:00 -0000 Message-Id: <20120829193439.9A7FB2F78001@mail.ecoscentric.com> 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 X-SW-Source: 2012-08/txt/msg00047.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001607 Ilija Kocho changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1816|0 |1 is obsolete| | Attachment #1893|0 |1 is obsolete| | --- Comment #27 from Ilija Kocho 2012-08-29 20:34:27 BST --- Created an attachment (id=1915) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1915) Cortex-M4F Floating Point Support 120829 Hi Jifl and others. Here is the integral patch for Cortex-M4F architectural floating point support. I have passed through the code several times, cleaned up, fixed formatting and typos... There's however one essential addition: option for softfp ABI. Being able to link softfp code with -mfloat-abi=soft, the -mfloat-abi=softfp flag (when selected) is applied only to context.S and vectors.S. All other code compiles with -mfloat-abi=soft thus avoiding potential GCC's "optimizations" - see Note below. Note (RFC): according to http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0298a/DAFIFGGE.html if hardware floating point option is selected, GCC may choose to use FPU registers even if there isn't floating point source. Please comment. Having this said I have set following defaults: - Hardware floating point is disabled by default. - When hardware floating point is enabled the default ABI is: - softfp for LAZY and NONE - hard for ALL. Ilija -- Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.