aklomp / base64

Fast Base64 stream encoder/decoder in C99, with SIMD acceleration
BSD 2-Clause "Simplified" License
890 stars 165 forks source link

Fix i686 builds #110

Closed mayeut closed 2 years ago

mayeut commented 2 years ago

Inline assembly builds are failing in 32-bit, only enable AVX/AVX2 inline assembly in 64-bit mode. This was already done for SSE* codecs. Add tests for 32-bit builds.

aklomp commented 2 years ago

Oops. I knew there were 32-bit SSSE3 machines, but didn't realize that there was such a thing as AVX/AVX2 in a 32-bit context. Nice catch.

Thanks for adding the i686 CI tests, so that this oversight won't happen again.