xiph / daala

Modern video compression for the internet
https://xiph.org/daala/
BSD 2-Clause "Simplified" License
544 stars 102 forks source link

AVX2 alignment issues with MSVC #184

Open tterribe opened 8 years ago

tterribe commented 8 years ago

The AVX2 code does not compile with MSVC: error C2719: 'value': formal parameter with __declspec(align('32')) won't be aligned.

We don't have an OD_SIMD_INLINE for MSVC, but according to Srinath Reddy at Microsoft, using forceinline there does not solve the problem (both because MSVC reports the error before attempting to inline things and because inlining is not guaranteed, even with forceinline).

We'll have to come up with some other way to address this problem.