x86-64 SIMD mechanism to "compare" 8-bit unsigned integers, giving a vector of +1 / 0 / -1 result...
Channel: Peter Schneider
Date: 09/09/2023

x86-64 SIMD mechanism to "compare" 8-bit unsigned integers, giving a vector of +1 / 0 / -1 results (signum)?
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  
Thanks to all those great people for their contributions!

 (stackoverflow.com/users/180697/vitali)Vitali 
 (stackoverflow.com/users/5691983/aqrit)aqrit 
 (stackoverflow.com/users/17167312/homer512)Homer512 
 (stackoverflow.com/users/224132/peter-cordes)Peter Cordes 
 A special thanks goes out to the (https://stackoverflow.com/questions/77054454/x86-64-simd-mechanism-to-compare-8-bit-unsigned-integers-giving-a-vector-of)Stackexchange community 
 
 I wish you all a wonderful day! Stay safe :)
 
  avx512 avx2 simd avx