From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Sat, 10 Oct 2009 23:06:05 +0200 Subject: [U-Boot] [PATCH V4 2/3] lib_generic memset: fill one word at a time if possible In-Reply-To: References: Message-ID: <20091010210605.GA16493@mail.gnudd.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > The above while can be slow if not the complier manages to turn into: But the compiler is able, and Wolfgang already told that in another thread. Yes, I checked my assembly. No, not all platforms and all versions. like Wolfgang. I think you may have a point, but unless you have a measured misworking case to show, we'd better stop here. /alessandro, who'll lift linux/arch/arm/lib/memcpy.S next time