Tool/software: TI C/C++ Compiler
HI Ti Experts,
I am using TMS570LS3137 controller for development.
After compiling my project i observed that compiler is adding memcpy for copying large amount of data.
When i looked at the memcpy assembly file provided by the Ti which i pasted below.
My query here is, as i could see implementation is same for memcpy, __aeabi_memcpy, __aeabi_memcpy4, __aeabi_memcpy8 functiond
how would i know in what conditions compiler adds which memcpy function?
.thumb
.if __TI_EABI_ASSEMBLER
.asg memcpy, __TI_C$MEMCPY
.thumbfunc __aeabi_memcpy
.thumbfunc __aeabi_memcpy4
.thumbfunc __aeabi_memcpy8
.global __aeabi_memcpy
.global __aeabi_memcpy4
.global __aeabi_memcpy8
__aeabi_memcpy:
__aeabi_memcpy4:
__aeabi_memcpy8:
.thumbfunc __TI_C$MEMCPY
.global __TI_C$MEMCPY
__TI_C$MEMCPY: .asmfunc stack_usage(0)
Thanks.
Somesh