~linaro-toolchain-dev/cortex-strings/trunk

« back to all changes in this revision

Viewing changes to src/reference/glibc/memcpy.S

  • Committer: Michael Hope
  • Date: 2010-08-26 22:34:40 UTC
  • Revision ID: michael.hope@linaro.org-20100826223440-ddib3epkpb63yfct
Made the different routines compile.  Expanded the tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19
19
   02111-1307 USA.  */
20
20
 
21
 
#include <sysdep.h>
22
 
 
23
21
/*
24
22
 * Data preload for architectures that support it (ARM V5TE and above)
25
23
 */
55
53
 
56
54
/* Prototype: void *memcpy(void *dest, const void *src, size_t n); */
57
55
 
58
 
ENTRY(memcpy)
 
56
memcpy:
59
57
 
60
58
                stmfd   sp!, {r0, r4, lr}
61
59
 
227
225
17:             forward_copy_shift      pull=16 push=16
228
226
 
229
227
18:             forward_copy_shift      pull=24 push=8
230
 
 
231
 
END(memcpy)
232
 
libc_hidden_builtin_def (memcpy)