lib: fix compiler macro for vec_mem*

using incorrect names for compiler, missing ISA header for HiFi check,
also should add inlines if we don't have the HiFi implementations

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2023-02-14 14:00:38 -08:00 committed by Kai Vehmanen
parent 4269b7226a
commit ad3ae32850
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ int memset_s(void *dest, size_t dest_size, int data, size_t count)
return arch_memset_s(dest, dest_size, data, count);
}
#if !__XCC || !XCHAL_HAVE_HIFI3 || !CONFIG_LIBRARY
#if !__XCC__ || !XCHAL_HAVE_HIFI3 || CONFIG_LIBRARY
void *__vec_memcpy(void *dst, const void *src, size_t len)
{
return memcpy(dst, src, len);