Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5071964rwl; Mon, 10 Apr 2023 23:24:49 -0700 (PDT) X-Google-Smtp-Source: AKy350ZqTdr+o9VvfglZtjcY+O8z7CI0tF15+auhMIGcSerfsXTOxY/oC8hWo26xuisalSeAjWqj X-Received: by 2002:aa7:d5d5:0:b0:504:9346:11d3 with SMTP id d21-20020aa7d5d5000000b00504934611d3mr1172452eds.29.1681194289616; Mon, 10 Apr 2023 23:24:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681194289; cv=none; d=google.com; s=arc-20160816; b=ka/fu21GDmL60oGrFXkQwxWq/kKl8TmdnJzrFUxhf+UFEEiD/aOo1mf/dvuC1qhvl7 +itSTfZ2OadIzKnf6n3h3dIxvrrP0pwbpu//Cr0RVfGS/eJdRcJnV7gifuR4H1Sm1m1j L/FJRJvcDpsSIkmVRodMc5LWaJ8q8o4YyWom81riO/1EmYJ3xn1uhHYGDZwvbWpH08i5 7QpyfXqui44pzFrQxddbm77zb+MhlxvPoF2GCyE9oC/VOky5w3Xi2aZYDTGBB85N2oXU klfu01P8CMzW+FHoVwL4FMraTP93/dULdWtK/dlDf8irTExMJF1kxJNMxVTKGhIjPFVf UgcQ== 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=UpAIbIZX4dosC5iN7D5CBOO1vjI8tvp1Y7xSaoflp9Y=; b=g1ixXontOX/wGibiUzRQczx2fHcNSRc9HnKNM4F/kCFSEPU/Hv2acTTStQtJ1N7Jkv 2qB5/PfHGzeL6JM9vwc34ZzmmnwcjTOcH/CaDIitBMMO+jNY1EUoJuuL3hZwUukRqV2R LfgjaTpSOBu22806CFTMhuP5dykejjqLvbShufyBWrL0LhlVMYN6BRpAZ7fjIq+KUWhk 74NUgepjr/7akBijcn8kh2Ny5zVDHBGzrm+8PLhPEy/s/IzzdYGuRH7E2xBeESKPmD0O zDA9Id8j8ZQtSb7TnrosO/SWfaAi7LohZJ+OSeeAFvs6QTdda+DeceMERG0VkGpYb478 1SnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=XgCO1SdV; 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 e22-20020aa7d7d6000000b005046d9d2c82si1507555eds.401.2023.04.10.23.24.24; Mon, 10 Apr 2023 23:24:49 -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=XgCO1SdV; 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 S230104AbjDKGVr (ORCPT + 99 others); Tue, 11 Apr 2023 02:21:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230053AbjDKGVp (ORCPT ); Tue, 11 Apr 2023 02:21:45 -0400 Received: from xry111.site (xry111.site [89.208.246.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E87A4198D for ; Mon, 10 Apr 2023 23:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1681194104; bh=eVnY1kjH/ofehDpdMAtkqUmPwETHEUX9WhBgW4u0MOk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=XgCO1SdV5+rD4cuOtwSRDHjPNGvJ8q7SFSAWArLuD5QB8OfARC82x0qe7n/DW+gZ3 XOqc/6D2PmJvR9aSkB59ILuD4N4euCOgjXzbimbmQqryJ8KXOAnOFMkwF2DVGTcVgF yTqr9H64MIBnL468FwnxjAWSHnCo5SsikN3qZTF8= Received: from [IPv6:240e:358:11f1:2100:dc73:854d:832e:6] (unknown [IPv6:240e:358:11f1:2100:dc73:854d:832e:6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384)) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 0138466497; Tue, 11 Apr 2023 02:21:37 -0400 (EDT) Message-ID: <24484e693147283d11bffe286ca1bb974df7db42.camel@xry111.site> Subject: Re: [PATCH] LoongArch: Improve memory ops From: Xi Ruoyao To: WANG Rui Cc: Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Date: Tue, 11 Apr 2023 14:21:31 +0800 In-Reply-To: References: <20230410115734.93365-1-wangrui@loongson.cn> <8aeb6d8dc4cbe8c992b69d75d8953d59b71a2c38.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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, 2023-04-10 at 23:52 +0800, WANG Rui wrote: > On Mon, Apr 10, 2023 at 10:36=E2=80=AFPM Xi Ruoyao w= rote: > >=20 > > Hmm, yep, GCC does not take the advantage of -mstrict-align expanding > > memcpy etc.=C2=A0 I'll add it into my TODO list for GCC 14. Technically, it takes the advantage but not very well. It's now https://gcc.gnu.org/PR109465. > Great! It looks like you already have some good ideas, and I look > forward to hearing your good news. >=20 > Rui >=20 --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University