From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32377 invoked from network); 22 Mar 2023 06:28:22 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 22 Mar 2023 06:28:22 -0000 Received: (qmail 11578 invoked by uid 550); 22 Mar 2023 06:28:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 11543 invoked from network); 22 Mar 2023 06:28:18 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) From: "A. Wilcox" X-Priority: 3 In-Reply-To: <3e056826.7b26.18707fad3e2.Coremail.zhangfei@nj.iscas.ac.cn> Date: Wed, 22 Mar 2023 01:27:33 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3e056826.7b26.18707fad3e2.Coremail.zhangfei@nj.iscas.ac.cn> To: musl@lists.openwall.com X-Mailer: Apple Mail (2.3731.300.101.1.3) Subject: Re: [musl] [PATCH]Implementation of strlen function in riscv64 architecture The content of the message was sent as an image. For those who cannot view images, I've reproduced the text below: On Mar 22, 2023, at 1:21 AM, =E5=BC=A0=E9=A3=9E = wrote: >=20 > Hi: >=20 > I implemented vectorization of the strlen function in the riscv64 > architecture, which is controlled by __riscv_vector definition. Due > to lack of support for risc-v V expansion in hardware, I conducted > performance tests on a simulator, which was more than 10 times the > performance achieved in C language. In terms of functionality, I > tested the string length from 1 byte to 64 Mb, and the alignment of > different addresses at the beginning of the string. >=20 >=20 > Please review it.I'm Looking forward to your reply,thanks. >=20 >=20 >=20 > Fei Zhang >