Roll back 'std/xxhash32: add hasher.up_x86_sse42'

See the previous commit for the rationale.
This commit is contained in:
Nigel Tao committed 2023-10-06 14:04:56 +11:00
1 parent b9b28dbe8b
commit be2eb64a51
3 files changed
+1 -261

No files matched your search

+1 -6
View File
@@ -49,9 +49,6 @@ pub func hasher.update!(x: roslice base.u8) {
this.v1 = INITIAL_V1
this.v2 = INITIAL_V2
this.v3 = INITIAL_V3
choose up = [
up_x86_sse42]
}
while args.x.length() > 0 {
@@ -72,9 +69,7 @@ pub func hasher.update_u32!(x: roslice base.u8) base.u32 {
return this.checksum_u32()
}
pri func hasher.up!(x: roslice base.u8),
choosy,
{
pri func hasher.up!(x: roslice base.u8) {
var new_lmu : base.u32
var buf_u32 : base.u32
var buf_len : base.u32[..= 15]