Hi everybody,
It’s reported that linaro android 4.0.4 boost performance by up to 100% over AOSP because of the optimization of bionic libc, especially the functions memchr( ), strlen( ) and so on. But I found that there is no difference between linaro source code and AOSP source code in these functions. Is there anything wrong?
Thanks & Best Regards! 牟刚 Actions Semiconductor Co.,Ltd Tel: +86-756-3392353 ext.3103 Fax: +86-756-3392251 Email: mugang@actions-semi.com HTTP://www.actions-semi.com
Hi,
On 27 September 2012 01:05, 牟刚 mugang@actions-semi.com wrote:
It’s reported that linaro android 4.0.4 boost performance by up to
100% over AOSP because of the optimization of bionic libc, especially the functions memchr( ), strlen( ) and so on. But I found that there is no difference between linaro source code and AOSP source code in these functions.
You're probably looking in the wrong place. The Linaro versions are ARMv7 specific, so we're keeping the original implementations around just in case we ever want to run on ARMv6 or the likes.
The ARMv7 specific implementations live in bionic/libc/arch-arm/bionic/armv7/
Another Bionic change you probaby want to take a look at is bionic/libm/sincos.c.
ttyl bero
linaro-android@lists.linaro.org