Browse Source

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

teensy4-core
PaulStoffregen 9 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

*/ */
//#include <asm.h> //#include <asm.h>
//#include <arch/arm/cores.h> //#include <arch/arm/cores.h>
#if defined (__OPTIMIZE_SIZE__)
#if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__) #if defined (__ARM_ARCH_7M__) || defined (__ARM_ARCH_7EM__)
.global memset .global memset
.text .text
pop { r0, pc } pop { r0, pc }


#endif #endif
#endif

Loading…
Cancel
Save