Closed anson304 closed 1 year ago
Use the default makefile as is. There is nothing to change with the current version. The minimum cpu architecture is set to corei7-avx (sandy bridge). The library can be used on SSE4.1/AVX or AVX2 Systems. AVX2 functions are only usable on archtictures >= haswell.
Thank you, I have another question: how do I know what sized SIMD registers are used for v8enc32()? (Turbobyte SIMD) e.g. 128, 256, 512?
Actually only the functions with a suffix 256v32 are using avx2. All other SIMD functions are using 128 bits sse4.1 (actually compiled with corei7-avx) .
The TurboByte functions (ex. v8enc32) are compiled with sse/neon. There is no significant difference in speed between avx2 and sse.
Thank you :)
Hello,
I uncommented
AVX2=1
and commentedSSE=1
in the makefile. When I runmake
, an error occurs:The error is many lines long. How do I fix this? AVX instructions should work on my machine.