News for hackers. Stuff that matters.
Re:Ara: A 1 GHz+ Scalable and Energy-Efficient RISC-V Vector... by snovv_crash on Saturday June 08, 2019 @02:01AM (#20130883)
I've used it for bitwise hamming distance - xor+popcnt - having a hardware instruction on x86 made the entire pipeline over 6x faster.
Re:Ara: A 1 GHz+ Scalable and Energy-Efficient RISC-V Vector... by stochastic_monk on Saturday June 08, 2019 @03:46PM (#20134668)
I’ve used popcounts for full vectorization for b-bit minwise hashing, comparing bloom filters efficiently, and bitvector traversal. It’s a standard primitive in a lot of low-level code.