From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103576 invoked by alias); 4 Jun 2016 13:04:44 -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 103561 invoked by uid 89); 4 Jun 2016 13:04:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham version=3.3.2 spammy=H*F:D*cn, H*F:D*com.cn, duty, D*cn X-HELO: out1134-251.mail.aliyun.com Received: from out1134-251.mail.aliyun.com (HELO out1134-251.mail.aliyun.com) (42.120.134.251) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 04 Jun 2016 13:04:25 +0000 X-Alimail-AntiSpam:AC=CONTINUE;BC=0.1803207|-1;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03301;MF=chengang@emindsoft.com.cn;NM=1;PH=DS;RN=7;RT=7;SR=0;TI=SMTPD_----4tZHy92_1465045454; Received: from ShengShiZhuChengdeMacBook-Pro.local(mailfrom:chengang@emindsoft.com.cn ip:223.72.90.212) by smtp.aliyun-inc.com(10.147.41.199); Sat, 04 Jun 2016 21:04:15 +0800 Message-ID: <5752D336.2000106@emindsoft.com.cn> Date: Sat, 04 Jun 2016 13:04:00 -0000 From: Chen Gang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Richard Henderson , law@redhat.com CC: mikestump@comcast.net, gcc-patches@gcc.gnu.org, cmetcalf@ezchip.com, walt@tilera.com, peter.maydell@linaro.org Subject: Re: [PATCH v2] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount References: <1464906189-3453-1-git-send-email-chengang@emindsoft.com.cn> <7d7216cc-352e-e365-eae8-1abd3f26dda0@redhat.com> In-Reply-To: <7d7216cc-352e-e365-eae8-1abd3f26dda0@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2016-06/txt/msg00322.txt.bz2 On 6/3/16 09:21, Richard Henderson wrote: > On 06/02/2016 03:23 PM, chengang@emindsoft.com.cn wrote: >> fprintf (file, >> + "\t{\n" >> + "\taddi\tsp, sp, -8\n" >> + "\tst\tsp, r10\n" >> + "\t}\n" >> "\t{\n" > > You need only do this if cfun->static_chain_decl is set. > OK, thanks, I shall send patch v3 for it, within this week end. Thanks. -- Chen Gang (陈刚) Managing Natural Environments is the Duty of Human Beings.