Closed mayeut closed 7 months ago
Hm, constraint errors happen when compiling the SSSE3 asm implementation on a 32-bit CPU, because 32-bit CPUs with SSE support do not have the same number of SIMD registers as 64-bit CPUs. (Such crazy hardware exists in the wild, for example the Atom N270.) It's a known limitation and therefore the asm implementation is only used when BASE64_WORDSIZE == 64
.
So what I think is happening is that mingw32
somehow sets BASE64_WORDSIZE
to 64
, yet compiles code in 32-bit mode. That would mean that the cause is somewhere in this block. Could it be that mingw32
defines __x86_64__
?
Given Windows is targeted, I could check that #123 / #125 fixes the issue (only checked #125 but same underlying issue fixed by both PR).
@mayeut #125 is now merged, can you confirm that it fixed this issue?
Fixed by 88607feedaa57abd382d6ceb4b296629c6626f08
The assembly code fails to build on mingw32: