aklomp / base64

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

Fix i686 builds #110

Closed mayeut closed 1 year ago

mayeut commented 1 year 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 1 year 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.