1
0
mirror of https://github.com/microsoft/DirectXMath synced 2024-11-22 04:10:06 +00:00

XDSP fix when building for NO-INTRINSICS (#164)

This commit is contained in:
Chuck Walbourn 2023-05-11 09:39:13 -07:00 committed by GitHub
parent f8dccac0c2
commit d5bdf8f760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -730,8 +730,8 @@ namespace XDSP
assert(uChannelCount > 0 && uChannelCount <= 6); assert(uChannelCount > 0 && uChannelCount <= 6);
assert(uLog2Length >= 2 && uLog2Length <= 9); assert(uLog2Length >= 2 && uLog2Length <= 9);
XMVECTOR vRealTemp[768]; XM_ALIGNED_DATA(16) XMVECTOR vRealTemp[768];
XMVECTOR vImaginaryTemp[768]; XM_ALIGNED_DATA(16) XMVECTOR vImaginaryTemp[768];
const size_t uLength = size_t(1) << uLog2Length; const size_t uLength = size_t(1) << uLog2Length;
if (uChannelCount > 1) if (uChannelCount > 1)
@ -813,8 +813,8 @@ namespace XDSP
assert(uLog2Length >= 2 && uLog2Length <= 9); assert(uLog2Length >= 2 && uLog2Length <= 9);
_Analysis_assume_(uLog2Length >= 2 && uLog2Length <= 9); _Analysis_assume_(uLog2Length >= 2 && uLog2Length <= 9);
XMVECTOR vRealTemp[768] = {}; XM_ALIGNED_DATA(16) XMVECTOR vRealTemp[768] = {};
XMVECTOR vImaginaryTemp[768] = {}; XM_ALIGNED_DATA(16) XMVECTOR vImaginaryTemp[768] = {};
const size_t uLength = size_t(1) << uLog2Length; const size_t uLength = size_t(1) << uLog2Length;