This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/5] [ARM] Factor out the thumb1 -Os implementation.


On 13/11/15 12:06, Marcus Shawcroft wrote:
> The patch moves the inline ASM thumb1 -O2 implementation out into its
> own .S file.
> 
> Tested by building newlib and comparing libc.a binaries before and
> after for all permutations of:
> 
>       Architectures:
>         armv4 armv4t armv5 armv5t armv5te armv6 armv6j armv6k
>         armv6z armv6kz armv6t2 armv6-m armv6s-m armv7 armv7-a
>         armv7ve armv7-r armv7-m armv7e-m armv8-a iwmmxt iwmmxt2
> 
>       ISAs:
>         thumb arm
> 
>       Optimization Levels:
>         Os O2
> 
>       Excluding:
>         armv6s-m -mthumb
>         armv6-m -mthumb
> 
>         armv6zk -mthumb
>         armv6z -mthumb
>         armv6k -mthumb
>         armv6j -mthumb
> 
> 
> OK?
> 
> /Marcus
> 
>        * libc/machine/arm/strlen-stub.c: Move T1 -O2 implementation to...
>        * libc/machine/arm/strlen-thumb1-Os.S: New file.
>        * libc/machine/arm/strlen.S: Include strlen-thumb1-Os.S.
> 
> 

OK.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]