Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp616362rwr; Fri, 5 May 2023 02:16:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fY5QSPvQFPyitdahfpNHmfpolgzq0fIddYSFCb7hDCPC25Fli9aFe3Svm4zGoIcFKGeiI X-Received: by 2002:a05:6a20:2453:b0:f0:ec12:7bdf with SMTP id t19-20020a056a20245300b000f0ec127bdfmr1013330pzc.32.1683278175348; Fri, 05 May 2023 02:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683278175; cv=none; d=google.com; s=arc-20160816; b=mjEjF5iRKLPETrh13qijuGy/0Vc78nr6Sn4zZT+6TyH7hezPv8PfkznZD+O4N7mpwR RDcYZMzZz8WXRYqfNQA3zSgOLaHA5u0XsFRUKnAQrNmSSR2MnOr8ySDGvnoQ73wm4kfF 4KSCkPB5o2AXzBno7mv6r+Tx5ck3qdwKupGQ+tzyRmWhxncDKKS6wI7WbtTqE3zMTDv/ eQ2Utm0F3WFR3VCNOmijsuI8dLROIrwmZOyNprwcuR5QjmNu1f/eybNVtuADXufwY80s /Itgx3S9qGIZcXK99TSzx3jMvzQ2R1t5P2iIneUuFYtgIQbrZtEtXKE8KWlHF2FLr3Hr s+IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version:subject:cc:to:from:date; bh=iHWgLTSZYDUaWo6m/YWIoSeekJD0Au+tdYNkyDyH/ZM=; b=vgCWviROlE0RGC0Re32yftir+/PLzjwVcvn89qO2o3iuAi4CLd4KOaMY0kFHZX60Ek b6SWWgtcc3m4Kgp0Q6Yv0XNJqltQtLdRkQ+LFiV6ihQ6fn8l7YOKud59gbUwf1WanD6a vUVgMLVk7PqC8J/geo4DylOE2YtL0eB0AQnmZFH+2sJc0pZCZFSdZ7z8cS11yaadj0Sk xUuvk73UIBBar3BjMyYQrvG6lboZotDn9CU0QtsBQ30S4714p5SoQVuN+iUYLXqgabBD z/IqN9FaCc2VpX3/cD5GxP+/pXqp8Jv3jWZyVJlw/7Gi3+RJQGvqJpD68irPSN6QvWvS ldEw== 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 d17-20020a637351000000b0052c219ec8f6si1529968pgn.839.2023.05.05.02.15.59; Fri, 05 May 2023 02:16:15 -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 S231406AbjEEIu6 (ORCPT + 99 others); Fri, 5 May 2023 04:50:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjEEIu5 (ORCPT ); Fri, 5 May 2023 04:50:57 -0400 X-Greylist: delayed 394 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 05 May 2023 01:50:55 PDT Received: from cstnet.cn (smtp37.cstnet.cn [159.226.251.37]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EFB9418929 for ; Fri, 5 May 2023 01:50:55 -0700 (PDT) Received: from zhangfei$nj.iscas.ac.cn ( [104.249.174.122] ) by ajax-webmail-APP-12 (Coremail) ; Fri, 5 May 2023 16:43:44 +0800 (GMT+08:00) X-Originating-IP: [104.249.174.122] Date: Fri, 5 May 2023 16:43:44 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?UTF-8?B?5byg6aOe?= To: paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] riscv: Optimize memset X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.15 build 20230321(1bf45b10) Copyright (c) 2002-2023 www.mailtech.cn cnic.cn Content-Type: multipart/mixed; boundary="----=_Part_843841_1477095471.1683276224911" MIME-Version: 1.0 Message-ID: <6d1cbe2e.3c31d.187eb14d990.Coremail.zhangfei@nj.iscas.ac.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: tgCowADXAEXBwVRkyZkZAA--.17989W X-CM-SenderInfo: x2kd0whihlq03mol2u1dvotugofq/1tbiBwICEWRUtj8l+QAAsz X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW5Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham 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 ------=_Part_843841_1477095471.1683276224911 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Cg== ------=_Part_843841_1477095471.1683276224911 Content-Type: application/octet-stream; name=0001-riscv-Optimize-memset.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-riscv-Optimize-memset.patch" RnJvbSBiY2ExODlmYmZhY2YxYjAxOTc1YWY0NWU0OTA5NmE1NzE4ODg3YTQyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiB6aGFuZ2ZlaSA8emhhbmdmZWlAbmouaXNjYXMuYWMuY24+Ck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AgIHNiIGExLCAyKHQwKQorICAgICAgICBzYiBhMSwgLTIoYTMpCisgICAgICAg IHNiIGExLCAtMyhhMykKKyAgICAgICAgbGkgYTQsIDYKKyAgICAgICAgYmdldSBhNCwgYTIsIDZm CisKKyAgICAgICAgc2IgYTEsIDModDApCisgICAgICAgIHNiIGExLCAtNChhMykKKyAgICAgICAg bGkgYTQsIDgKKyAgICAgICAgYmdldSBhNCwgYTIsIDZmCisKKyAgICAgICAgc2IgYTEsIDQodDAp CisgICAgICAgIHNiIGExLCAtNShhMykKKyAgICAgICAgbGkgYTQsIDEwCisgICAgICAgIGJnZXUg YTQsIGEyLCA2ZgorCisgICAgICAgIHNiIGExLCA1KHQwKQorICAgICAgICBzYiBhMSwgNih0MCkK KyAgICAgICAgc2IgYTEsIC02KGEzKQorICAgICAgICBzYiBhMSwgLTcoYTMpCisgICAgICAgIGxp IGE0LCAxNAorICAgICAgICBiZ2V1IGE0LCBhMiwgNmYKKworICAgICAgICBzYiBhMSwgNyh0MCkK IDY6CiAJcmV0CiBFTkQoX19tZW1zZXQpCi0tIAoyLjMzLjAKCg== ------=_Part_843841_1477095471.1683276224911--