ht_dec.c: Improve MSVC arm64 popcount performance (#1479)
authorPeter Johnson <johnson.peter@gmail.com>
Sat, 9 Dec 2023 21:02:11 +0000 (13:02 -0800)
committerGitHub <noreply@github.com>
Sat, 9 Dec 2023 21:02:11 +0000 (22:02 +0100)
commit41c25e3827c68a39b9e20c1625a0b96e49955445
tree2490e32ed7ed1537b564adcdf55e30547578f1cf
parentdfdedea48f0b1f0d7f7d28c5e98be6a64f8febc8
ht_dec.c: Improve MSVC arm64 popcount performance (#1479)

Use NEON instructions for ARM64 (implementation based on microsoft/STL#2127).

Godbolt output here: https://godbolt.org/z/q7GPTqT14
src/lib/openjp2/ht_dec.c