Browse Source

Only use memset.S with -Os, C lib is faster with -O

main
PaulStoffregen 8 years ago
parent
commit
248de33822
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      teensy3/memset.S

+ 2
- 0
teensy3/memset.S View File

@@ -22,6 +22,7 @@
*/
//#include <asm.h>
//#include <arch/arm/cores.h>
#if defined (__OPTIMIZE_SIZE__)
#if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
.global memset
.text
@@ -89,3 +90,4 @@
pop { r0, pc }

#endif
#endif

Loading…
Cancel
Save