mirror of https://github.com/thesofproject/sof.git
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:
parent
4269b7226a
commit
ad3ae32850
|
@ -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);
|
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)
|
void *__vec_memcpy(void *dst, const void *src, size_t len)
|
||||||
{
|
{
|
||||||
return memcpy(dst, src, len);
|
return memcpy(dst, src, len);
|
||||||
|
|
Loading…
Reference in New Issue