1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-07 20:59:21 +01:00
Files
u-boot-megous/lib
Simon Glass cb0eae8cf8 string: Use memcpy() within memmove() when we can
A common use of memmove() can be handled by memcpy(). Also memcpy()
includes an optimisation for large sizes: it copies a word at a time. So
we can get a speed-up by calling memcpy() to handle our move in this case.

Update memmove() to call memcpy() if the destination is before the source.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
2017-05-09 20:19:04 -04:00
..
2016-02-06 12:00:59 +01:00
2017-04-12 13:28:27 -04:00
2017-04-07 11:23:45 +05:30
2011-01-18 23:38:08 +01:00
2016-04-11 20:48:26 -04:00
2017-04-13 09:41:10 -04:00
2010-09-19 19:29:47 +02:00
2016-05-02 18:37:09 -04:00
2014-10-25 07:02:01 -04:00
2012-04-29 14:14:08 +02:00
2015-07-21 17:39:28 -06:00
2016-11-21 14:07:30 -05:00
2016-10-11 11:55:33 +08:00