From e77d73e3cecec7a4b69361ff63ec2a998270fc5b Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Wed, 28 Apr 2021 22:38:10 +1000 Subject: [PATCH] Add std/adler32 bench comment for the roll back --- std/adler32/common_adler32.wuffs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/std/adler32/common_adler32.wuffs b/std/adler32/common_adler32.wuffs index eb2a93b6..5413e851 100644 --- a/std/adler32/common_adler32.wuffs +++ b/std/adler32/common_adler32.wuffs @@ -25,6 +25,10 @@ pub func hasher.update_u32!(x: slice base.u8) base.u32 { if not this.started { this.started = true this.state = 1 + // There used to be an up_x86_avx2 implementation too, but while it + // made the std/adler32 micro-benchmarks better, it also made the + // std/zlib and std/png micro-benchmarks worse. See commit baec831f + // "Add std/adler32 hasher.up_x86_avx2". choose up = [ up_arm_neon, up_x86_sse42]