Closed KrossX closed 2 years ago
This looks right to me, and I’m applying it as a downstream patch in the Fedora Linux package.
You're totally right. Good catch! Merged into the dev branch. Will get this released soon.
Will get this released soon.
Looking forward to the new release(s)! Thank you, @mackron.
The code on
drflac_has_sse41
seems to be copy pasted fromdrflac_has_sse2
and as such I think the detection has some problems.True for SSE2, not necessarily true for SSE4.1
_M_IX86_FP == 2
is true when using/arch:SSE2
with MSVC but also doesn't seem to define the SSEn macros, yet it does define AVX.This code is untested, cuz I'm lazy as I've been using
DRFLAC_NO_SSE41
as a workaround.