From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by sourceware.org (Postfix) with ESMTPS id 25CEA385841D for ; Wed, 27 Jul 2022 01:31:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25CEA385841D Received: by mail-pj1-x102f.google.com with SMTP id t2-20020a17090a4e4200b001f21572f3a4so715559pjl.0 for ; Tue, 26 Jul 2022 18:31:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :to:references:from:in-reply-to:content-transfer-encoding; bh=5tgRf1TfhLXMqjvI0+N7S7dnlEHEGjQ15BbqKwlmCQQ=; b=Utq+7YU6LtQPp8JYrrzkY188326R5SxTKwySntq43FtMom+xsyuwhv8+zKtWlL00WW 0zdvOXTjeb01grYeul0tyoJDYAZZKbzhZLauJ7AFruJs8M4PThah7XrbK+nFcYN2uBMj uAj+t2R+rz0L0agWMwjo1i0PUL5WuCUxQ26kT70zGdeysQV+kp7f5kT7My2m0pZG3tEg 0p35RAspPiMZvDRuiAL9qGdGAQnZZW9pA8Ems82K34KIXAFTa6J/RPUOqgerMpoq/nQ0 cl/TK75Q+E/8Pk7NmXHa4LjjRxJ1OiY6I1VPz2Ck/XY6pLxr7495QuAjW/viodlcUMhn OlFQ== X-Gm-Message-State: AJIora+31xHyLXHk0gtqCGxfxuxqr690ZxZH8biIcEGPEyDnkhFRF0Xp a+Fh/qOmNKFufY/f/bo5XYU= X-Google-Smtp-Source: AGRyM1t5f+wjBWQ0xkQ5U2yWMuBePQsF5bZT7ap4dt+UVW6lb0UjnyQFpB5zmsx6dP+KrhQD4SSifw== X-Received: by 2002:a17:90a:5207:b0:1ee:dfa1:afa9 with SMTP id v7-20020a17090a520700b001eedfa1afa9mr1819593pjh.246.1658885487872; Tue, 26 Jul 2022 18:31:27 -0700 (PDT) Received: from [192.168.255.10] ([103.7.29.32]) by smtp.gmail.com with ESMTPSA id z63-20020a626542000000b005292729cc5csm12242401pfb.160.2022.07.26.18.31.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Jul 2022 18:31:27 -0700 (PDT) Message-ID: <79c0b451-c716-7e1b-9179-1562e97411af@gmail.com> Date: Wed, 27 Jul 2022 09:31:18 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: State of AutoFDO in GCC To: Eugene Rozenfeld , Andi Kleen , Joseph Myers , Jan Hubicka , gcc References: <20210429054025.GB4032392@tassilo.jf.intel.com> <4d005159.55ea.1791e171ab9.Coremail.172060045@hdu.edu.cn> <875z0378j1.fsf@linux.intel.com> <67df7dbb.5eae.1794bba0ca3.Coremail.172060045@hdu.edu.cn> <7c802b11-857e-78eb-c2e8-0a3044817793@linux.intel.com> <20210509170121.GE25641@kam.mff.cuni.cz> <20210510172121.GT4032392@tassilo.jf.intel.com> From: Xionghu Luo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_LOTSOFHASH, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jul 2022 01:31:30 -0000 On 2022/7/27 04:12, Eugene Rozenfeld via Gcc wrote: > Hello GCC community. > > I started this thread on the state of AutoFDO in GCC more than a year ago. Here is the first message in the thread: https://gcc.gnu.org/pipermail/gcc/2021-April/235860.html > > Since then I committed a number of patches to revive AutoFDO in GCC: > > Fix a typo in an AutoFDO error string > Update gen_autofdo_event.py and gcc-auto-profile. > Fixes for AutoFDO tests > Fix indir-call-prof-2.c with AutoFDO > Fixes for AutoFDO testing > Fix indirect call inlining with AutoFDO This "indirect call inlining with AutoFDO" patch need to be backported to at least gcc-10 as it will caused stack overflow for some cases I've met... Xionghu