rockbox/firmware/asm
Michael Sevakis 77b3625763 Add mempcpy implementation
A GNU extension that returns dst + size instead of dst. It's a nice
shortcut when copying strings with a known size or back-to-back blocks
and you have to do it often.

May of course be called directly or alternately through
__builtin_mempcpy in some compiler versions.

For ASM on native targets, it is implemented as an alternate entrypoint
to memcpy which adds minimal code and overhead.

Change-Id: I4cbb3483f6df3c1007247fe0a95fd7078737462b
2014-08-29 22:06:57 -04:00
..
arm Add mempcpy implementation 2014-08-29 22:06:57 -04:00
m68k Add mempcpy implementation 2014-08-29 22:06:57 -04:00
mips Add mempcpy implementation 2014-08-29 22:06:57 -04:00
sh Add mempcpy implementation 2014-08-29 22:06:57 -04:00
asm.make Apparently make doesn't like inline comments 2012-03-28 23:14:39 +02:00
beep.c beep/mixer code: Code police a bit. 2012-02-19 00:38:58 -05:00
corelock.c kernel: Break out kernel primitives into separate files and move to separate dir. 2014-03-03 18:11:57 +01:00
ffs.c Generic find_first_set_bit can use __builtin_ctz instead of __builtin_ffs 2012-02-04 18:08:17 -05:00
lcd-as-memframe-24bit.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
lcd-as-memframe.c lcd-24bit: Introduce a 24-bit mid-level LCD driver 2014-06-21 00:15:53 +02:00
memcpy.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
memmove.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
mempcpy.c Add mempcpy implementation 2014-08-29 22:06:57 -04:00
memset.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
memset16.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
pcm-mixer.c Coldfire: Optimize emac context save/restore in mixer ISR. 2012-03-12 00:16:12 +01:00
SOURCES Add mempcpy implementation 2014-08-29 22:06:57 -04:00
strlen.c Move optimized memcpy and friends and strlen to firmware/asm, 2012-01-22 18:46:45 +01:00
thread-unix.c thread-unix patchup! 2014-08-18 10:40:44 -04:00
thread-win32.c
thread.c Rearrange #ifdefs a bit, so SIGALTSTACK overrides CPU-specific threading. 2012-06-11 22:27:41 +02:00
thread.h Hosted builds using thread.c have errno as thread context. 2014-08-05 22:05:20 -04:00