Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4295022rwl; Mon, 10 Apr 2023 08:56:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ZVD8zrOnxQ8EkXZ1kcoBXsVwynMzyJEzeGEsOgkXFqkYL0RX+ZdROQZJsmMlXsB/RZ0QXT X-Received: by 2002:aa7:d48a:0:b0:504:a257:4d3 with SMTP id b10-20020aa7d48a000000b00504a25704d3mr3348760edr.11.1681142186960; Mon, 10 Apr 2023 08:56:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681142186; cv=none; d=google.com; s=arc-20160816; b=DfwME9kqs2UydA8AcdgwFUb56iLVNySTe63qzr7hqoMV8E4Zit50RB7F6YvMw6P/PD Lf8E3n5tCV3CSVvI+4rj9QcI46oYGyW3dmO6Srgejj4CVcs5m+wmeTvQFLsBvJliuWsF y+/LoohoaxS8eXT4invUtZLlY3IIkymeYq7Odi8nXQzTYtTGA5zDejkhc1xTy3r37ke0 FVUtkHQQ6cCEKIKVETWuSsdUfC8+kUn0FlxCOMa1Nz77D6WkguKDG7X6zewWrcHTBhcA gTC1DURvDRlZjkQrjiTIH8GIt9vCZ2L+loC7lqtOKD8tb8a8NUldj7G1C/vtDWzHQJov /gPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=Cui0d3ZL9PQd3blZJBbYnWYGiHtoqFi6iv1A0DJRmpc=; b=ZkEU5EtpzFON4mFQmWRWx9LTVqkjCc8meMYRI7c8AHoxThYZe/dokN+NHB1eBjsCgR 9xUvHNwxlTkodlV+wCk4Km1iejQAKSAGhA4LjSZx8i6mIqlEO511R4h6/k1/XWARKkzR a+mAUQvyR1ZK5jusfKeQS1Xh/ggaVRqWj3edVPP8ydXsidOOhNS4+U9lnBbn4/QSyfHJ kA38gaCtPm8i39C6XzQ/INY2HST6mWt1wXJMFolagf3KY89P30Q2g723R4Qqqr7xRClB pyD9lYrlWaTuirJ1iePpThH01waiREYWgYkRnyADWEo6v/ZePQl1POOzb3+RwfwAjgoe GvnQ== 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:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020aa7c306000000b00502624ff158si7308967edq.218.2023.04.10.08.56.01; Mon, 10 Apr 2023 08:56:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229925AbjDJPwc convert rfc822-to-8bit (ORCPT + 99 others); Mon, 10 Apr 2023 11:52:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbjDJPwb (ORCPT ); Mon, 10 Apr 2023 11:52:31 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 308BD3A8F for ; Mon, 10 Apr 2023 08:52:29 -0700 (PDT) Received: from loongson.cn (unknown [209.85.221.44]) by gateway (Coremail) with SMTP id _____8DxAf+7MDRk1SgZAA--.39034S3; Mon, 10 Apr 2023 23:52:28 +0800 (CST) Received: from mail-wr1-f44.google.com (unknown [209.85.221.44]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxSL23MDRk97scAA--.28392S3; Mon, 10 Apr 2023 23:52:25 +0800 (CST) Received: by mail-wr1-f44.google.com with SMTP id e22so4764895wra.6 for ; Mon, 10 Apr 2023 08:52:25 -0700 (PDT) X-Gm-Message-State: AAQBX9coGhf1LFwxNKLD+s0oeS/FPBz8PL1f8obOKn8TQGAVOp3ddZlL Sx9/1gy8MkK566KMXem7B3i9bHxWkDDqSV0f8D15wQ== X-Received: by 2002:a5d:6a8c:0:b0:2e5:e0e8:9c8d with SMTP id s12-20020a5d6a8c000000b002e5e0e89c8dmr1838322wru.13.1681141942492; Mon, 10 Apr 2023 08:52:22 -0700 (PDT) MIME-Version: 1.0 References: <20230410115734.93365-1-wangrui@loongson.cn> <8aeb6d8dc4cbe8c992b69d75d8953d59b71a2c38.camel@xry111.site> In-Reply-To: <8aeb6d8dc4cbe8c992b69d75d8953d59b71a2c38.camel@xry111.site> From: WANG Rui Date: Mon, 10 Apr 2023 23:52:10 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] LoongArch: Improve memory ops To: Xi Ruoyao Cc: Huacai Chen , WANG Xuerui , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-CM-TRANSID: AQAAf8DxSL23MDRk97scAA--.28392S3 X-CM-SenderInfo: pzdqw2txl6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7KY7 ZEXasCq-sGcSsGvfJ3Ic02F40EFcxC0VAKzVAqx4xG6I80ebIjqfuFe4nvWSU5nxnvy29K BjDU0xBIdaVrnRJUUU92b4IE77IF4wAFF20E14v26r1j6r4UM7CY07I20VC2zVCF04k26c xKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vE j48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7CjxV AFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I8E87Iv6xkF7I0E 14v26F4UJVW0owAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI 0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z280 aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JMxAIw28IcxkI7V AKI48JMxAqzxv262kKe7AKxVWUXVWUAwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C2 67AKxVWUXVWUAwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI 8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWU CwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r 1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBI daVFxhVjvjDU0xZFpf9x07UE-erUUUUU= X-Spam-Status: No, score=-0.0 required=5.0 tests=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, Apr 10, 2023 at 10:36 PM Xi Ruoyao wrote: > > Hmm, yep, GCC does not take the advantage of -mstrict-align expanding > memcpy etc. I'll add it into my TODO list for GCC 14. Great! It looks like you already have some good ideas, and I look forward to hearing your good news. Rui