make memcpy and memset 32-bit copies
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | memcpy: use 32-bit copies if possiblelib_generic/ | +9 | 4 replies | |
| 1/3 | memcpy: use 32-bit copies if possible | +0 | 0 replies | |
| 1/3 | memcpy: use 32-bit copies if possible | +0 | 6 replies | |
| 2/3 | memset: use 32-bit copies if possiblelib_generic/ | +14 | 1 reply | |
| 3/3 | lcd: remove '#if 0' 32-bit scroll, now memcpy does itcommon/ | +0 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Andrea Gallo |
|---|---|
| 1/3 | A-b |
| 1/3 | A-b |
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 0/3] make memcpy and memset 32-bit copies
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(-)