Uh oh!
There was an error while loading. Please reload this page.
SHA-512 accelerated by x86 (alternative) - #787
Conversation
There was a problem hiding this comment.
Works fine on Linux. Tested with clang22 and (simulated) Nova Lake CPU. Works fine with clang22 UBSan. Works fine on MSVC Windows, but I needed to adjust an ifdef, should work since Visual Studio 2022. Tested with Visual Studio 2026. Tested with (simulated) Lunar Lake CPU.
Edit: Also tested with clang-cl, works fine. Sadly, my CPU simulator (Intel SDE) does not simulate the xgetbv instruction on Windows, so I manually disabled it for the tests.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
karel-m
commented
Aug 1, 2026
@sjaeckel this PR is IMO ready to be merged into |
sjaeckel
commented
Aug 1, 2026
LGTM |
Uh oh!
There was an error while loading. Please reload this page.
This is an alternative to #731
@MarekKnapek I have taken your
sha512_x86.cfrom #731 and:_mm256_load_si256/_mm256_store_si256>>_mm256_loadu_si256/_mm256_storeu_si256)developas much as possibleCould you please test whether this PR works as expected?