JustasMasiulis / xorstr

heavily vectorized c++17 compile time string encryption.
Apache License 2.0
1.21k stars 194 forks source link

xorstr_ CPU Issues #53

Closed xo1337 closed 2 years ago

xo1337 commented 2 years ago

I've done some testing and xorstr_ does not work on certain types of CPU's such as the Intel I5 2500 model. I've yet to find the reason why it crashes.

xo1337 commented 2 years ago

I apologize, I have fully read your github repo and I fixed the issue now :)

JustasMasiulis commented 2 years ago

Yeah. this is a somewhat common issue. Having AVX2 on by default might not have been the best choice, but as detailed in readme it's a single define to disable it.