From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alessandro Rubini Date: Wed, 7 Oct 2009 10:44:12 +0200 Subject: [U-Boot] [PATCH 0/3] make memcpy and memset 32-bit copies Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I've added 32-bit lcd to the Nomadik (not submitted yet), and I found the scroll to be very slow, as the screen is big. Instead of activating the "if 0" stanza for 32-bit scroll in lcd.c, I'd better have a faster memcpy/memset globally. So this patch set adds 32-bit memcpy and memset and removes the "#if 0" part in the scroll function. For me it's 4 times faster ("help" from 14s to 3.5s). I agree I should use 8-bits in u-boot, but the speedup of 32bit memcpy/memset is there regardless, as most users are 32-bit aligned anyways. Alessandro Rubini (3): memcpy: use 32-bit copies if possible memset: use 32-bit copies if possible lcd: remove '#if 0' 32-bit scroll, now memcpy does it common/lcd.c | 21 --------------------- lib_generic/string.c | 27 +++++++++++++++++++++++++-- 2 files changed, 25 insertions(+), 23 deletions(-)