From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88851 invoked by alias); 27 Apr 2017 22:54:15 -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 88738 invoked by uid 89); 27 Apr 2017 22:54:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.3 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,KAM_MANYTO,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=HTo:D*pobox.com 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 ESMTP; Thu, 27 Apr 2017 22:54:13 +0000 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtp id 1d3sIc-0006JP-Jf from Sandra_Loosemore@mentor.com ; Thu, 27 Apr 2017 15:54:10 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 27 Apr 2017 15:54:07 -0700 Subject: Re: [PATCH 05/12] [i386] Add option -mcall-ms2sysv-xlogues To: Daniel Santos , gcc-patches , Uros Bizjak , Jan Hubicka , Gerald Pfeifer , Joseph Myers References: <49e81c0b-07a4-22df-d7c3-2439177ac7cf@pobox.com> <20170427080932.11703-5-daniel.santos@pobox.com> From: Sandra Loosemore Message-ID: <5902768F.2010704@codesourcery.com> Date: Fri, 28 Apr 2017 06:00: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: <20170427080932.11703-5-daniel.santos@pobox.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SVR-ORW-MBX-07.mgc.mentorg.com (147.34.90.207) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) X-SW-Source: 2017-04/txt/msg01441.txt.bz2 On 04/27/2017 02:09 AM, Daniel Santos wrote: > @@ -25308,6 +25308,17 @@ You can control this behavior for specific functions by > using the function attributes @code{ms_abi} and @code{sysv_abi}. > @xref{Function Attributes}. > > +@item -mcall-ms2sysv-xlogues > +@opindex mcall-ms2sysv-xlogues > +@opindex mno-call-ms2sysv-xlogues > +Due to differences in 64-bit ABIs, any Microsoft ABI function that calls a > +System V ABI function must consider RSI, RDI and XMM6-15 as clobbered. By > +default, the code for saving and restoring these registers is emitted inline, > +resulting in fairly lengthy prologues and epilogues. Using > +@option{-mcall-ms2sysv-xlogues} emits prologues and epilogues that > +use stubs in the static portion of libgcc to perform these saves & restores, s/&/and/ The documentation part is OK with that change. -Sandra