Adding software fallback

This commit is contained in:
Frederick F. Kautz IV
2015-04-27 13:48:56 -07:00
parent f5a51ae1bb
commit 289c859675
4 changed files with 270 additions and 2 deletions

View File

@@ -65,6 +65,8 @@ func block(dig *digest, p []byte) {
blockAVX(dig, p)
case cpu.HasSSE41() == true:
blockSSE(dig, p)
default:
blockSoftware(dig, p)
}
}