lib/libmd: reenable AVX2 SHA1 kernel
Following jrtc27@'s fix of the transcribed code, it seems to work
fine now.
See also: 207f3b2b25
This commit is contained in:
@@ -47,10 +47,8 @@ DEFINE_UIFUNC(, void, sha1_block, (SHA1_CTX *, const void *, size_t))
|
||||
{
|
||||
if (cpu_stdext_feature & CPUID_STDEXT_SHA)
|
||||
return (_libmd_sha1block_shani);
|
||||
#if 0
|
||||
if ((cpu_stdext_feature & AVX2_STDEXT_NEEDED) == AVX2_STDEXT_NEEDED)
|
||||
return (sha1block_avx2_wrapper);
|
||||
#endif
|
||||
else
|
||||
return (_libmd_sha1block_scalar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user