diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-11-10 18:12:30 +0300 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-11-13 14:54:28 +0300 |
commit | 99590589326b5537d549cdd41ca4177ce7051d4a (patch) | |
tree | 103fec7e2a1e14a71b853d94fd3ec7f563f069f6 /newlib/libc/machine/arm/strlen.S | |
parent | bcd5e8e3f9a46d151ed8ca69d7c250e11dff67ce (diff) |
[ARM] Factor out the thumb1 -Os implementation.cygwin-2_3_1-releasecygwin-2_3_1-relase
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
Diffstat (limited to 'newlib/libc/machine/arm/strlen.S')
-rw-r--r-- | newlib/libc/machine/arm/strlen.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/machine/arm/strlen.S b/newlib/libc/machine/arm/strlen.S index b9fb86184..ec61ae26f 100644 --- a/newlib/libc/machine/arm/strlen.S +++ b/newlib/libc/machine/arm/strlen.S @@ -28,7 +28,7 @@ #if defined __OPTIMIZE_SIZE__ || defined PREFER_SIZE_OVER_SPEED #if defined __thumb__ && !defined __thumb2__ - /* Implemented in strlen-stub.c. */ +#include "strlen-thumb1-Os.S" #else /* Implemented in strlen-stub.c. */ |