From d5bdf8f76039d371511d118d1146d4e1d94e7655 Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Thu, 11 May 2023 09:39:13 -0700 Subject: [PATCH] XDSP fix when building for NO-INTRINSICS (#164) --- XDSP/XDSP.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/XDSP/XDSP.h b/XDSP/XDSP.h index 55ec0b5..b8c2f0e 100644 --- a/XDSP/XDSP.h +++ b/XDSP/XDSP.h @@ -730,8 +730,8 @@ namespace XDSP assert(uChannelCount > 0 && uChannelCount <= 6); assert(uLog2Length >= 2 && uLog2Length <= 9); - XMVECTOR vRealTemp[768]; - XMVECTOR vImaginaryTemp[768]; + XM_ALIGNED_DATA(16) XMVECTOR vRealTemp[768]; + XM_ALIGNED_DATA(16) XMVECTOR vImaginaryTemp[768]; const size_t uLength = size_t(1) << uLog2Length; if (uChannelCount > 1) @@ -813,8 +813,8 @@ namespace XDSP assert(uLog2Length >= 2 && uLog2Length <= 9); _Analysis_assume_(uLog2Length >= 2 && uLog2Length <= 9); - XMVECTOR vRealTemp[768] = {}; - XMVECTOR vImaginaryTemp[768] = {}; + XM_ALIGNED_DATA(16) XMVECTOR vRealTemp[768] = {}; + XM_ALIGNED_DATA(16) XMVECTOR vImaginaryTemp[768] = {}; const size_t uLength = size_t(1) << uLog2Length;