nuttx/libs/libc/machine/arm64/Kconfig
chenrun1 fb74c46e4d arm64/gnu:Set arch_* optimizations to be on by default.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-08-19 18:43:08 +08:00

125 lines
3.1 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config ARM64_STRING_FUNCTION
bool "Enable optimized ARM64 specific string function"
default n
depends on ARCH_TOOLCHAIN_GNU
select ARM64_MEMCHR
select ARM64_MEMCMP
select ARM64_MEMCPY
select ARM64_MEMSET
select ARM64_MEMMOVE
select ARM64_STRCHR
select ARM64_STRCHRNUL
select ARM64_STRCMP
select ARM64_STRCPY
select ARM64_STRLEN
select ARM64_STRNCMP
select ARM64_STRNLEN
select ARM64_STRRCHR
config ARM64_MEMCHR
bool "Enable optimized memchr() for ARM64"
default n
select LIBC_ARCH_MEMCHR
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific memchr() library function
config ARM64_MEMCMP
bool "Enable optimized memcmp() for ARM64"
select LIBC_ARCH_MEMCMP
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific memcmp() library function
config ARM64_MEMCPY
bool "Enable optimized memcpy() for ARM64"
select LIBC_ARCH_MEMCPY
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific memcpy() library function
config ARM64_MEMSET
bool "Enable optimized memset() for ARM64"
default n
select LIBC_ARCH_MEMSET
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific memset() library function
config ARM64_MEMMOVE
bool "Enable optimized memmove() for ARM64"
default n
select LIBC_ARCH_MEMMOVE
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific memmove() library function
config ARM64_STRCHR
bool "Enable optimized strchr() for ARM64"
default n
select LIBC_ARCH_STRCHR
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strchr() library function
config ARM64_STRCHRNUL
bool "Enable optimized strchrnul() for ARM64"
default n
select LIBC_ARCH_STRCHRNUL
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strchrnul() library function
config ARM64_STRCMP
bool "Enable optimized strcmp() for ARM64"
default n
select LIBC_ARCH_STRCMP
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strcmp() library function
config ARM64_STRCPY
bool "Enable optimized strcpy() for ARM64"
default n
select LIBC_ARCH_STRCPY
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strcpy() library function
config ARM64_STRLEN
bool "Enable optimized strlen() for ARM64"
default n
select LIBC_ARCH_STRLEN
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strlen() library function
config ARM64_STRNCMP
bool "Enable optimized strncmp() for ARM64"
default n
select LIBC_ARCH_STRNCMP
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strncmp() library function
config ARM64_STRNLEN
bool "Enable optimized strnlen() for ARM64"
default n
select LIBC_ARCH_STRNLEN
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strnlen() library function
config ARM64_STRRCHR
bool "Enable optimized strrchr() for ARM64"
default n
select LIBC_ARCH_STRRCHR
depends on ARCH_TOOLCHAIN_GNU
---help---
Enable optimized ARM64 specific strrchr() library function