From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18127 invoked by alias); 11 Aug 2016 10:31:22 -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 18095 invoked by uid 89); 11 Aug 2016 10:31:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=thomas.preudhomme@arm.com, U*thomas.preudhomme, thomaspreudhommearmcom, HX-Envelope-From:sk:thomas. X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 11 Aug 2016 10:31:11 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5D44E28; Thu, 11 Aug 2016 03:32:38 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 14C103F213; Thu, 11 Aug 2016 03:31:08 -0700 (PDT) Subject: Re: Fwd: [PATCH, doc/ARM] Remove false affirmation that Thumb cannot use an FPU To: Sandra Loosemore , gcc-patches@gcc.gnu.org References: <4052511d-541d-9b8b-3000-ba09dc314f7f@foss.arm.com> <57ABEC64.3080104@codesourcery.com> From: Thomas Preudhomme Message-ID: <513df5b0-afba-bd3c-b2bb-ef7d67e1023b@foss.arm.com> Date: Thu, 11 Aug 2016 10:31:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <57ABEC64.3080104@codesourcery.com> Content-Type: multipart/mixed; boundary="------------EBF4D242B498EBC61CE8857A" X-IsSubscribed: yes X-SW-Source: 2016-08/txt/msg00901.txt.bz2 This is a multi-part message in MIME format. --------------EBF4D242B498EBC61CE8857A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 2056 Hi Sandra, Thanks for your feedback. Please find an updated version attached to this email. ChangeLog entry is unchanged: *** gcc/ChangeLog *** 2016-08-02 Thomas Preud'homme * doc/fragments.texi (MULTILIB_EXCEPTIONS): Replace example with preventing combination of -mfloat-abi=soft with any -mfpu option. Best regards, Thomas On 11/08/16 04:09, Sandra Loosemore wrote: > 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 > --------------EBF4D242B498EBC61CE8857A Content-Type: text/x-patch; name="fix_claim_multilib_exceptions_doc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fix_claim_multilib_exceptions_doc.patch" Content-length: 1260 diff --git a/gcc/doc/fragments.texi b/gcc/doc/fragments.texi index b6d8541c8ca820fa732363a05221e2cd4d1251c2..abf4e128671bb4751d21f24bb69625593d3c839e 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 @option{-mfloat-abi=soft} requests to use a +softfloat implementation for floating-point operations. Therefore, it +does not make sense to find both @option{-mfloat-abi=soft} and an +@option{mfpu} option on the command line so @code{MULTILIB_EXCEPTIONS} +could contain the following exception (assuming that +@option{-mfloat-abi} comes after in @code{MULTILIB_OPTIONS} and given +that @option{-mfloat-abi=soft} is the default value): @smallexample -*mthumb/*mhard-float* +*mfpu=* @end smallexample @findex MULTILIB_REQUIRED --------------EBF4D242B498EBC61CE8857A--