Commit 74981bf8 authored by Yuval Peress's avatar Yuval Peress Committed by Stephanos Ioannidis
Browse files

Update DSP library for additional platforms



The `tmp` variable was unused if `!__aarch64__` and it was causing a compile warning.
Also, replace the compile definitions to include `__GNUC_PYTHON__` for all non ARM platforms.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent 093de61c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,4 +9,4 @@ endif()

add_subdirectory(Source)

zephyr_compile_definitions_ifdef(CONFIG_ARCH_POSIX __GNUC_PYTHON__)
zephyr_compile_definitions_ifndef(CONFIG_ARM __GNUC_PYTHON__)
+2 −0
Original line number Diff line number Diff line
@@ -132,7 +132,9 @@ void arm_dot_prod_f32(
    f32x4_t vec1;
    f32x4_t vec2;
    f32x4_t accum = vdupq_n_f32(0);   
#if !__aarch64__
    f32x2_t tmp = vdup_n_f32(0);    
#endif

    /* Compute 4 outputs at a time */
    blkCnt = blockSize >> 2U;