Make SSE2 and AVX2 optional
Debian's i386 architecture doesn't require SSE2, so I'm running into #5 while trying to package v1.3. It's easy to work around but the advice about using -msse2
for only the files that use intrinsics sounded right to me, and I experimented on it. Ended up pretty invasive due to splitting the SSE2 code out of some files. Then I thought it should be easier to disable things and added options for the two. So you can e.g. test on amd64 with -Dsse2=no -Davx2=no
. And a few more things along the way.