Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp409020pxu; Thu, 15 Oct 2020 07:05:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyB2JU0ENzvVT7MVPAI/kUzDzB6d/0+fX1URNjgAj1ZFI3ffXrzqEjlGxmto9icQuouBpXi X-Received: by 2002:a50:cdd1:: with SMTP id h17mr4633810edj.94.1602770735105; Thu, 15 Oct 2020 07:05:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602770735; cv=none; d=google.com; s=arc-20160816; b=SbCQk8KulTjalH6YAjn4+Kb2Xi8f+18aXGqhldVGIBcvkcCKoOPMNnAxAvSDoLAedX Klu6RHqMsqMD0I/dR4lbwk7g0SXnGeidNJqWaon+OHmXqw49FFDxn8jJeGTu/Kidg0/w VY35QXGT3Kk2LMqnzITsMmwO+3DhQ8FPVQmuD+GtTwosZN63qHQHb248qjB0+DZn41Pi LnrmQkyi9lR2D+vEFIM214iSJ8vk3Kuea2UBJijZ1rxRYRwOrPTON3M0sGVO/m4FEm4E FZI4svlx9yC7SOsufNfKR3j/OUO5o6ELDYuJdH+NHujxYkN5UWU9BeEXHzFC0cyAmfwj tbdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=fvszQRk+bUU/YOfoBszknx8oAmZyLv7tKfWOFxTVeD0=; b=WaD+xyETAFSPysRniOaTeox0rmVZjkgzRXAo5jelQ86sjpWeLJxuFMMdoEftTOcNpk pHCcCVvNPakoc9rpRT+n3p5VpZbUtshL8wrifk7G6+P+PEcOG950mHsoBeMx5DYUOebz y5VkwsQIuSxazei9UZzl66CglaUYHJ9azlnB73koBGhI9jOkpvgEaRMoevNGu6loiFiq peQ4+UhzsSW/sYG3WKY0ujqrDMT22Qljro27og12GEZg+C/FFE+6HmfXFqyGNkiVNifa ImFLYEIrViDn2w7MiAlt4MnUVt/2A4pL885ns/iwHUY5VY/gNdeC4rAyb3FRowKa0REi UT4w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si2151276eds.74.2020.10.15.07.05.01; Thu, 15 Oct 2020 07:05:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388188AbgJON7s (ORCPT + 99 others); Thu, 15 Oct 2020 09:59:48 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:64489 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388133AbgJON7q (ORCPT ); Thu, 15 Oct 2020 09:59:46 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4CBrWM2FxTzB09bD; Thu, 15 Oct 2020 15:59:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id l9LN1soMzp6U; Thu, 15 Oct 2020 15:59:43 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4CBrWM1QpszB09bB; Thu, 15 Oct 2020 15:59:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id D0E878B813; Thu, 15 Oct 2020 15:59:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id xOoSsjkuF602; Thu, 15 Oct 2020 15:59:44 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id F16278B811; Thu, 15 Oct 2020 15:59:43 +0200 (CEST) Subject: Re: [PATCH] powerpc: force inlining of csum_partial() to avoid multiple csum_partial() with GCC10 To: Segher Boessenkool Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20201015132512.GG2672@gate.crashing.org> From: Christophe Leroy Message-ID: Date: Thu, 15 Oct 2020 15:59:44 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <20201015132512.GG2672@gate.crashing.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 15/10/2020 à 15:25, Segher Boessenkool a écrit : > Hi! > > On Thu, Oct 15, 2020 at 10:52:20AM +0000, Christophe Leroy wrote: >> With gcc9 I get: > > > >> With gcc10 I get: > > > >> gcc10 defines multiple versions of csum_partial() which are just >> an unconditionnal branch to __csum_partial(). > > It doesn't inline it, yes. > > Could you open a GCC PR for this please? > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 Christophe