Add std/png decoder.filter_1_distance_4_arm_neon

On a Raspberry Pi 4 (32-bit armv7l) with -march=native and -mfpu=neon
("native" means "armv8-a+crc+simd"):

wuffs_png_decode_filt_1_dist_4/clang9                     1.09GB/s ± 1%  1.42GB/s ± 0%  +30.50%  (p=0.008 n=5+5)
wuffs_png_decode_filt_1_dist_4/gcc8                        859MB/s ± 0%   891MB/s ± 0%   +3.66%  (p=0.008 n=5+5)
This commit is contained in:
Nigel Tao committed 2021-02-14 21:43:56 +11:00
1 parent 84f3592dbe
commit 435330494e
10 files changed
+187 -3

No files matched your search

+6
View File
@@ -670,6 +670,9 @@ const (
IDARMCRC32U32 = ID(0x308)
IDARMNeon64 = ID(0x310) // 64-bit D (double-word) register
IDARMNeon128 = ID(0x311) // 128-bit Q ( quad-word) register
IDX86SSE42 = ID(0x320)
IDX86AVX2 = ID(0x321)
@@ -1091,6 +1094,9 @@ var builtInsByID = [nBuiltInIDs]string{
IDARMCRC32U32: "arm_crc32_u32",
IDARMNeon64: "arm_neon_64",
IDARMNeon128: "arm_neon_128",
IDX86SSE42: "x86_sse42",
IDX86AVX2: "x86_avx2",