From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1792 invoked by alias); 16 Feb 2013 14:34:50 -0000 Received: (qmail 1691 invoked by uid 22791); 16 Feb 2013 14:34:49 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW 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; Sat, 16 Feb 2013 14:34:23 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 3CA4E4680004 for ; Sat, 16 Feb 2013 14:34:21 +0000 (GMT) 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 hSDXvsJP+i4C; Sat, 16 Feb 2013 14:34:16 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001607] Cortex-M4F architectural Floating Point Support Date: Sat, 16 Feb 2013 14:34: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: NEEDINFO X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: jifl@ecoscentric.com 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 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: 2013-02/txt/msg00035.txt.bz2 Please do not reply to this email, use the link below. http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001607 --- Comment #56 from Ilija Kocho --- Created attachment 2092 --> http://bugs.ecos.sourceware.org/attachment.cgi?id=2092&action=edit Improve code build flag control - incremental to attachment 2082 Jifl Here is a small patch (increment to attachment 2082) that eliminates the need for compiler related changes (that were intended for switch to GCC 4.6). Consequently the big comment together with commented pieces of code are gone. Briefly, now if CYGHWR_HAL_CORTEXM == "M4" - FPU disable is permissible to both cortex-m3 and cortex-m4 so user can manually select either, just like in present CVS. - FPU enable enforces exclusion of cortex-m3 and inclusion of cortex-m4. Subsequent FPU disable will not revert cortex-m3. The side effect is that 2 consecutive clicks will set build flags for Cortex-M4. If CYGHWR_HAL_CORTEXM == "M4" (manual) placement of -mcpu=cortex-m4 causes conflict Now we can keep current default flags provided by platforms as are, even when we switch to new compiler, though nothing can stop us to change them if we see fit. Jifl, With this I think we are go for commit. If you don't have objections I would commit, some night during second half of next week (including the weekend) - before Embedded World. Ilija -- You are receiving this mail because: You are on the CC list for the bug.