From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED, URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1693636686; bh=ipQTCRzsZP/BOm8ZUDz1C7VfNiNEcjVKR18qDkBh+uI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=dnXQO0ENNeQIKSOL8cj4+KjwJWL1p+YWdfWcuxpSH4Yqb4Aqx75g4yEEq1I7qHY0w GsdrxvTbyAa4OEE45xI1I4YekxRE3eRVW/D/DhwaZ3jEKFAvZVvJH8SE4JhDrfQpRE y8MAk4iKrdvU3nnzVnpTvkzq97YPBCO04zpjXWZnzMEFkV3/0BGL+lIT7odjT5XLR/ 94uIDDgeG8D9zw6GcNnkyBKdZRzApVZe5VrVT5/yqN6FWGMmxN0isydJc8sDGxMvTg OEDkUMDHcm7fJaVhkyKuG6WWiMQmeakVG6iwxLnJ6ZaU8ujWl5Qe+Gwmvxt9BdLdEL iRcxSuKNv9BEw== Received: from biznet-home.integral.gnuweeb.org (unknown [182.253.126.208]) by gnuweeb.org (Postfix) with ESMTPSA id 9785724B39E; Sat, 2 Sep 2023 13:38:02 +0700 (WIB) Date: Sat, 2 Sep 2023 13:37:56 +0700 From: Ammar Faizi To: Willy Tarreau Cc: Alviro Iskandar Setiawan , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , David Laight , Nicholas Rosenberg , Michael William Jonathan , GNU/Weeb Mailing List , Linux Kernel Mailing List Subject: Re: [RFC PATCH v2 1/4] tools/nolibc: x86-64: Use `rep movsb` for `memcpy()` and `memmove()` Message-ID: References: <20230902055045.2138405-1-ammarfaizi2@gnuweeb.org> <20230902055045.2138405-2-ammarfaizi2@gnuweeb.org> <20230902062237.GA23141@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230902062237.GA23141@1wt.eu> X-Bpl: hUx9VaHkTWcLO7S8CQCslj6OzqBx2hfLChRz45nPESx5VSB/xuJQVOKOB1zSXE3yc9ntP27bV1M1 List-Id: On Sat, Sep 02, 2023 at 08:22:37AM +0200, Willy Tarreau wrote: > Note that in this case we simply don't need a special > version of memcpy(), memmove() is always OK for this, > so you can simplify this further by starting with: > > memcpy: > memmove: > ... Ok, I'll do that. -- Ammar Faizi