public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/3] make memcpy and memset 32-bit copies
@ 2009-10-07  8:44 Alessandro Rubini
  2009-10-07  8:44 ` [U-Boot] [PATCH 1/3] memcpy: use 32-bit copies if possible Alessandro Rubini
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Alessandro Rubini @ 2009-10-07  8:44 UTC (permalink / raw)
  To: u-boot

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(-)

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2009-10-10 16:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07  8:44 [U-Boot] [PATCH 0/3] make memcpy and memset 32-bit copies Alessandro Rubini
2009-10-07  8:44 ` [U-Boot] [PATCH 1/3] memcpy: use 32-bit copies if possible Alessandro Rubini
2009-10-07  8:52   ` Mike Frysinger
2009-10-07  8:59     ` Alessandro Rubini
2009-10-07  9:30     ` Wolfgang Denk
2009-10-08  7:41     ` Alessandro Rubini
2009-10-08  8:37       ` Wolfgang Denk
2009-10-08  9:05         ` Joakim Tjernlund
2009-10-08 12:49           ` Wolfgang Denk
2009-10-08 13:29             ` Joakim Tjernlund
2009-10-08 13:47               ` Wolfgang Denk
2009-10-10 16:09       ` Eric Lammerts
2009-10-07 14:35   ` Peter Tyser
2009-10-07 17:04     ` Mike Frysinger
2009-10-07  8:44 ` [U-Boot] [PATCH 2/3] memset: " Alessandro Rubini
2009-10-07  9:27   ` Wolfgang Denk
2009-10-07  8:44 ` [U-Boot] [PATCH 3/3] lcd: remove '#if 0' 32-bit scroll, now memcpy does it Alessandro Rubini
     [not found] ` <b03f28d4c4afa0c5c9f2421b7d260a0f3890cdcd.1254904388.git.rubini@unipv.it>
2009-10-08  5:23   ` [U-Boot] [PATCH 1/3] memcpy: use 32-bit copies if possible Chris Moore
2009-10-08  6:05     ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox