Windows binary apparently requires AVX
antermin opened this issue · comments
I am creating this issue on behalf of a Discord user which goes under the name "DZgas", since he is not willing to create a GitHub account.
He is using Windows and tried 1.3.0's bzip3-x86_64.exe
on AMD Athlon II X4 640 and Celeron N3060, but the binary is not working, so he wonders whether a binary without the AVX requirement can be provided.
Ahh, this brings memories :).
AMD Athlon II X4 640 was the first CPU that was in my first PC I received from my parents in 2010 (or 2011?). I will look into this, probably -march=native
got erroneously turned on for Windows builds.
...that said, you're not going to get good performance on these CPUs, since bzip3 leverages ever-so-increasing cache sizes and fast memory. Acceptable single core performance is also a plus because it speeds up the BWT post-coder. The entire point of bzip3 was to work good on modern machines (say, 2016+), maybe using something else might be a good choice for your friend if the performance ends up not being satisfactory.