From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103834 invoked by alias); 11 Aug 2016 03:09:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 103771 invoked by uid 89); 11 Aug 2016 03:09:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:multili, sk:MULTILI, mfloatabi, mfloat-abi X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 11 Aug 2016 03:09:27 +0000 Received: from svr-orw-fem-02x.mgc.mentorg.com ([147.34.96.206] helo=SVR-ORW-FEM-02.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1bXgN3-0000Ft-Ba from Sandra_Loosemore@mentor.com ; Wed, 10 Aug 2016 20:09:25 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.3.224.2; Wed, 10 Aug 2016 20:09:25 -0700 Subject: Re: Fwd: [PATCH, doc/ARM] Remove false affirmation that Thumb cannot use an FPU To: Thomas Preudhomme , References: <4052511d-541d-9b8b-3000-ba09dc314f7f@foss.arm.com> From: Sandra Loosemore Message-ID: <57ABEC64.3080104@codesourcery.com> Date: Thu, 11 Aug 2016 03:09:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-08/txt/msg00877.txt.bz2 On 08/10/2016 09:51 AM, Thomas Preudhomme wrote: > diff --git a/gcc/doc/fragments.texi b/gcc/doc/fragments.texi > index b6d8541c8ca820fa732363a05221e2cd4d1251c2..a060635c9cee7374d9d187858ac87acdd08860f2 100644 > --- a/gcc/doc/fragments.texi > +++ b/gcc/doc/fragments.texi > @@ -117,12 +117,15 @@ specified, there are combinations that should not be built. In that > case, set @code{MULTILIB_EXCEPTIONS} to be all of the switch exceptions > in shell case syntax that should not be built. > > -For example the ARM processor cannot execute both hardware floating > -point instructions and the reduced size THUMB instructions at the same > -time, so there is no need to build libraries with both of these > -options enabled. Therefore @code{MULTILIB_EXCEPTIONS} is set to: > +For example on ARM targets @code{-mfloat-abi=soft} requests to use a > +softfloat implementation for floating-point operations. Therefore, it For example, on ARM targets @option{-mfloat-abi=soft} requests use of software floating-point operations. Therefore, it > +does not make sense to find both @code{-mfloat-abi=soft} and an @option here too > +@code{mfpu} option on the command line so @code{MULTILIB_EXCEPTIONS} and here @option{-mfpu} > +could contain the following exception (assuming that @code{-mfloat-abi} @option > +comes after in MULTILIB_OPTIONS and given that soft is the default @code markup on MULTILIB_OPTIONS? @samp markup on soft? > +value): > @smallexample > -*mthumb/*mhard-float* > +*mfpu=* > @end smallexample > > @findex MULTILIB_REQUIRED -Sandra