650f17169a
Porting memory and string optimize functions from newlib and bionic Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
76 lines
2.0 KiB
Plaintext
76 lines
2.0 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if ARCH_ARMV8M
|
|
|
|
config ARMV8M_MEMCHR
|
|
bool "Enable optimized memchr() for ARMv8-M"
|
|
default n
|
|
select LIBC_ARCH_MEMCHR
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv8-M specific memchr() library function
|
|
|
|
config ARMV8M_MEMCPY
|
|
bool "Enable optimized memcpy() for ARMv8-M"
|
|
default n
|
|
select LIBC_ARCH_MEMCPY
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv8-M specific memcpy() library function
|
|
|
|
config ARMV8M_MEMSET
|
|
bool "Enable optimized memset() for ARMv8-M"
|
|
default n
|
|
select LIBC_ARCH_MEMSET
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv8-M specific memset() library function
|
|
|
|
config ARMV8M_MEMMOVE
|
|
bool "Enable optimized memmove() for ARMv8-M"
|
|
default n
|
|
select LIBC_ARCH_MEMMOVE
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv8-M specific memmove() library function
|
|
|
|
config ARMV8M_STRCMP
|
|
bool "Enable optimized strcmp() for ARMv8-M"
|
|
default n
|
|
select LIBC_ARCH_STRCMP
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv8-M specific strcmp() library function
|
|
|
|
config ARMV8M_STRLEN
|
|
bool "Enable optimized strlen() for ARMv8-M"
|
|
default n
|
|
select LIBC_ARCH_STRLEN
|
|
depends on ARCH_TOOLCHAIN_GNU
|
|
---help---
|
|
Enable optimized ARMv8-M specific strlen() library function
|
|
|
|
config ARMV8M_LIBM
|
|
bool "Architecture specific optimizations"
|
|
default n
|
|
select LIBM_ARCH_CEIL if ARCH_DPFPU
|
|
select LIBM_ARCH_FLOOR if ARCH_DPFPU
|
|
select LIBM_ARCH_NEARBYINT if ARCH_DPFPU
|
|
select LIBM_ARCH_RINT if ARCH_DPFPU
|
|
select LIBM_ARCH_ROUND if ARCH_DPFPU
|
|
select LIBM_ARCH_TRUNC if ARCH_DPFPU
|
|
select LIBM_ARCH_CEILF if ARCH_FPU
|
|
select LIBM_ARCH_FLOORF if ARCH_FPU
|
|
select LIBM_ARCH_NEARBYINTF if ARCH_FPU
|
|
select LIBM_ARCH_RINTF if ARCH_FPU
|
|
select LIBM_ARCH_ROUNDF if ARCH_FPU
|
|
select LIBM_ARCH_TRUNCF if ARCH_FPU
|
|
depends on LIBM
|
|
---help---
|
|
Enable ARMv8 specific floating point optimizations.
|
|
|
|
endif
|