| 1 |
<internal_defines> |
| 2 |
SHA1_SIMD_4X32 -> 20250331 |
| 3 |
</internal_defines> |
| 4 |
|
| 5 |
<module_info> |
| 6 |
name -> "SHA-1 SIMD" |
| 7 |
brief -> "SHA-1 using SIMD instructions" |
| 8 |
</module_info> |
| 9 |
|
| 10 |
<isa> |
| 11 |
x86_32:ssse3 |
| 12 |
x86_64:ssse3 |
| 13 |
x32:ssse3 |
| 14 |
arm32:neon |
| 15 |
arm64:neon |
| 16 |
loongarch64:lsx |
| 17 |
wasm:simd128 |
| 18 |
|
| 19 |
# AltiVec/VMX also does work, but at least on the machines tested (POWER8 and |
| 20 |
# POWER10) this was slower than scalar, while for ARM and x86 speedups of |
| 21 |
# 25-30% are typical. |
| 22 |
</isa> |
| 23 |
|
| 24 |
<arch> |
| 25 |
x86_32 |
| 26 |
x86_64 |
| 27 |
x32 |
| 28 |
arm32 |
| 29 |
arm64 |
| 30 |
loongarch64 |
| 31 |
wasm |
| 32 |
</arch> |
| 33 |
|
| 34 |
<requires> |
| 35 |
cpuid |
| 36 |
simd_4x32 |
| 37 |
</requires> |