Bitcoin full node and query server

Dec 4, 2024

View in context in the libbitcoin Slack #general mirror.

evoskuil02:39
I took a bit of a detour today on additional sha vectorizations. I added the vectorization of endianness conversions and or k-adding. I recently moved k-adding to its own function with additions enumerated across the buffer, but there was a bug in the vectorization. I tracked that down today and was able to enable this and the vectorized endianness conversions. These save approximately a total of 5% for smaller hashing runs, declining as the size of the buffer increases. They also save 1-3% of Merkle hashing runs, again with the primary benefit on the low end (this makes sense as they only affect the 1/2/3 lane merkle hashes (unvectorized)).
(edited)