Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3274533lfo; Mon, 23 May 2022 00:27:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxS8V7MhPsc4TgEjQ1R7/NBf2/CTp/fuwSpddE0rN/sCMv29H9DvL1Z5Yx4RtSr/s7uOnsB X-Received: by 2002:a05:6a00:230d:b0:4f6:ec4f:35ff with SMTP id h13-20020a056a00230d00b004f6ec4f35ffmr22294265pfh.53.1653290839939; Mon, 23 May 2022 00:27:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653290839; cv=none; d=google.com; s=arc-20160816; b=tkO1uGBBL8QxicMsZ/IEr4NdqJqvJeBR2cSZlqIyLHumI4is51N3YOm647AfxoMX5u vy5EoXpzV6HogyjTsxjAVjU1Qs3rtuEAB88UJHUt+sW1/pw/cfNXrCr1GfXWKKMXUz4M Brk3ppMkegRvrbCo/j5JXKJQcJdfTFEubngZD15soaCR0oHJdxhgaANt+ZNSZ1ASH+pS sF+neeKsfKbBsjGjRc+cOu0YLp6gih9uYYbGu2t+ZTwoGHQnQN8l+05gDFTLwIaCIPwg uLPhmmIHQvQciNb1ZXLOAiMp4PXZKTLXsh2F/PthZ8z8b//Ll+itMPaCnV1AX9wfmiTt fbAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=XHEDcqMF9Jvucc/30GgG0Nio4WR02/Qs5TxkiVNEUrY=; b=r9fIYHReT1H02Klqrkm1iB3JXX5rnopxxui5l+GEIVWAuDDnFOnO/ShAT6N3CLZRdm VJw05NT+a0QBLPoe2OuuYD11tB/6f7ZGMSV3bK0RD4GV3aQQX9q5z9PvFpK761RjId9p Dwt3PSoV6PaQ0//V0dWrlJRNNqe/KTKCHYhbH+HF0QmpvOlcdxNXNDCk49ZfTsO2BqOu FHRiH5sH5HzQK8Svo6DZM92eT/kQcPIXCRWJnuiLdeoYi0A7maTwf5FE2IMzUvsIki2n q2kh/WRUGM5sYPbgObQhI7aIvfoI0k7AOknnGkYy5eHVZMnpw0nqxtU6cdQkv/0S/ULj mGmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u15-20020a170902e5cf00b0015ed460e47asi9930272plf.432.2022.05.23.00.27.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 00:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 169F0128173; Sun, 22 May 2022 23:40:39 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351247AbiEVUs4 (ORCPT + 99 others); Sun, 22 May 2022 16:48:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343506AbiEVUsy (ORCPT ); Sun, 22 May 2022 16:48:54 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A7102A268; Sun, 22 May 2022 13:48:53 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 9F3B492009E; Sun, 22 May 2022 22:48:52 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 987B592009D; Sun, 22 May 2022 21:48:52 +0100 (BST) Date: Sun, 22 May 2022 21:48:52 +0100 (BST) From: "Maciej W. Rozycki" To: Nathan Chancellor cc: Paul Cercueil , kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Thomas Bogendoerfer , linux-mips Subject: Re: arch/mips/include/asm/checksum.h:195:9: error: unsupported inline asm: input with type 'unsigned long' matching output with type '__wsum' (aka 'unsigned int') In-Reply-To: Message-ID: References: <202205200128.layu7VXF-lkp@intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 20 May 2022, Nathan Chancellor wrote: > > It doesn't matter whether there is ADDU or DADDU anymore, given that > > commit 198688edbf77 ("MIPS: Fix inline asm input/output type mismatch in > > checksum.h used with Clang") has added a redundant 32-bit sign-extension > > operation right afterwards, regressing size/performance by an extra > > instruction in this performance-critical code as a workaround for a stupid > > compiler. > > Shouldn't this concern have been addressed by Tiezhu's follow up? > > https://lore.kernel.org/1617359240-16609-1-git-send-email-yangtiezhu@loongson.cn/ > > I guess it never got picked up? Still it is a hack. I have now rewritten this code in plain C instead. Maciej