Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1433210imk; Mon, 4 Jul 2022 03:02:11 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vc12fmpEWINdEM0X0+xoUF+PbC3qU/kNq6t6r+iRxYlK9FxMy4yEv7MmL8wG2Nm1WOmqjt X-Received: by 2002:a17:906:749b:b0:722:d9ce:fac3 with SMTP id e27-20020a170906749b00b00722d9cefac3mr26968579ejl.699.1656928931481; Mon, 04 Jul 2022 03:02:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656928931; cv=none; d=google.com; s=arc-20160816; b=KSWR5+Nmr3oL3xgzQ3KG8ymurivRyucBV8UDPZIOSQkYKOXCppvp+7MEoNDndt0tT+ bRfT1jaJyYgPrYSGI8otbTTggN6DlTVZCe28PjXN1CHZACrr+4GE2uqBJifwn1YZ9ItT KlZu7iQXCkQ+w9xQznKVA6uuXeR8+4P0IQX2IjNRQx/+SxBIFDTInLxgEbmXA9xn/w76 o8dJXadxPV2QaDSHIJ2aNG3Os/9kGtKzlLelyfB/B88k7AEjUMtige30H1lRRBtWOh0u HyiWbbdCeuRV8kcsxb/zvZ2XY2ho7pEXPBZtHoKisHnK331Ed9/aDPEq9Fyx04LsdCOD YQ3Q== 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 :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ENlX2I/GH113BEvTUq4PRaG4GTOpaeBIb8J+xenW2e4=; b=FGzaCSHpeIE+EK/4/YXUUVApGLDXhQBcpfBZl+YeHCZO+QU5XGX1pIccAj4mHuzWZR s7Xb+/m7zSVk+HZTKXVsHgbhepO+pUrxJUDF0EGWInBba3d25N9pgXxTdelB9jIFHZga SisAanYc4DIU+GemKSnryWn6ZUtYS2EjPe6Lq5OErdRLvu8vTb0S+9nyfLsqLa+reS8y AlEioCHfimWzM0BIJjT9mqaB8DWZEeyk7A1HkvD/pqTYAxnkKp8hPb0U/sABs51UuVQU Nh9kndvtiB3vnhr1uZUMpwgtoQqkpZvkmB9R1f5oYVlhk8AOMIpw6VuGy9bDGbn31kkR vDzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=fNc+v4ye; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z4-20020a05640235c400b0043585dbe807si19761997edc.229.2022.07.04.03.01.43; Mon, 04 Jul 2022 03:02:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=fNc+v4ye; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233931AbiGDJ7G (ORCPT + 99 others); Mon, 4 Jul 2022 05:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233987AbiGDJ7D (ORCPT ); Mon, 4 Jul 2022 05:59:03 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6F964F0 for ; Mon, 4 Jul 2022 02:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1656928740; bh=1PaN7z3o+qL7iftcZWMXpLjiyNu9bigwG/ufouKEZLA=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=fNc+v4yeZHLtc2UPbLRASxgt4uuRtX1o+I8PVFSaOldI3PYC7bF18c6O2qdUk1Mh6 3GgANmeSPb5Vstal1PusSIQtnHFc94Rwj+cYCntXpq1xiYxtfQTAVUtctPGwG40KLY UWrnYigguF8RmstqLFNoSRYi8oPKBzs36gQtShSA= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 3B4BA667B9; Mon, 4 Jul 2022 05:58:59 -0400 (EDT) Message-ID: Subject: Re: [PATCH] LoongArch: Clean useless vcsr in loongarch_fpu. From: Xi Ruoyao To: huqi , WANG Xuerui , Huacai Chen , Jiaxun Yang Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org Date: Mon, 04 Jul 2022 17:58:57 +0800 In-Reply-To: <7904571e-3ef4-5841-497d-6796c8c36c52@loongson.cn> References: <20220704061402.683762-1-huqi@loongson.cn> <1470d272-e148-c600-f759-a1e2dac776e1@xen0n.name> <7904571e-3ef4-5841-497d-6796c8c36c52@loongson.cn> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.3 MIME-Version: 1.0 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD, SPF_HELO_PASS,SPF_PASS,T_PDS_OTHER_BAD_TLD,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 Mon, 2022-07-04 at 17:27 +0800, huqi wrote: >=20 > > The original code was written with future LSX/LASX support in mind;=20 > > the code is dead currently, but expected to get utilized Soon (TM). > >=20 > > So, I'd like to confirm if future LoongArch models would *not* feature= =20 > > LSX/LASX in its current form, and that the Loongson Corporation is not= =20 > > going to upstream LSX/LASX support, given you are apparently a=20 > > Loongson employee with the first-hand information? We'd like to avoid= =20 > > code churn in general, so if the LSX/LASX support is to be eventually= =20 > > mainlined, removing them now would only lead to them being introduced= =20 > > later. >=20 > `vcsr` is removed because it has been removed in hardware. What's more,= =20 > it will not be used to support LSX/LASX in the future. It would be better to add this information into the commit message. Is it already removed in 3A5000? On my machine "movfcsr2gr $a0, $r16" produces SIGILL (but maybe it's because LSX is not enabled via the EUEN register). --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University