mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Add std/adler32 hasher.up_arm_neon
On a Raspberry Pi 4 (32-bit armv7l) with -march=native and -mfpu=neon
("native" means "armv8-a+crc+simd"):
wuffs_adler32_10k/clang9 1.21GB/s ± 0% 6.58GB/s ± 1% +442.43% (p=0.008 n=5+5)
wuffs_adler32_100k/clang9 1.20GB/s ± 0% 6.58GB/s ± 0% +449.37% (p=0.008 n=5+5)
wuffs_adler32_10k/gcc8 1.24GB/s ± 0% 4.31GB/s ± 0% +248.87% (p=0.008 n=5+5)
wuffs_adler32_100k/gcc8 1.22GB/s ± 0% 4.29GB/s ± 0% +251.09% (p=0.008 n=5+5)
mimic_adler32_10k 1.40GB/s ± 0% 1.40GB/s ± 0% -0.04% (p=0.008 n=5+5)
mimic_adler32_100k 1.35GB/s ± 0% 1.38GB/s ± 0% +2.77% (p=0.008 n=5+5)
wuffs_zlib_decode_10k/clang9 85.3MB/s ± 0% 91.1MB/s ± 0% +6.83% (p=0.008 n=5+5)
wuffs_zlib_decode_100k/clang9 107MB/s ± 0% 113MB/s ± 0% +5.20% (p=0.008 n=5+5)
wuffs_zlib_decode_10k/gcc8 86.1MB/s ± 0% 91.0MB/s ± 0% +5.69% (p=0.008 n=5+5)
wuffs_zlib_decode_100k/gcc8 104MB/s ± 0% 111MB/s ± 0% +7.08% (p=0.016 n=5+4)
mimic_zlib_decode_10k 108MB/s ± 0% 108MB/s ± 0% ~ (p=0.548 n=5+5)
mimic_zlib_decode_100k 142MB/s ± 0% 141MB/s ± 1% ~ (p=0.310 n=5+5)
wuffs_png_decode_image_19k_8bpp/clang9 69.9MB/s ± 0% 74.3MB/s ± 0% +6.37% (p=0.016 n=5+4)
wuffs_png_decode_image_40k_24bpp/clang9 99.4MB/s ± 0% 104.3MB/s ± 0% +4.92% (p=0.008 n=5+5)
wuffs_png_decode_image_77k_8bpp/clang9 266MB/s ± 0% 280MB/s ± 0% +5.21% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/clang9 165MB/s ± 0% 169MB/s ± 0% +2.45% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/clang9 146MB/s ± 0% 163MB/s ± 0% +11.86% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/clang9 93.2MB/s ± 0% 97.7MB/s ± 0% +4.78% (p=0.008 n=5+5)
wuffs_png_decode_image_19k_8bpp/gcc8 70.3MB/s ± 0% 74.3MB/s ± 0% +5.70% (p=0.008 n=5+5)
wuffs_png_decode_image_40k_24bpp/gcc8 101MB/s ± 0% 107MB/s ± 0% +5.67% (p=0.008 n=5+5)
wuffs_png_decode_image_77k_8bpp/gcc8 247MB/s ± 0% 259MB/s ± 0% +4.71% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/gcc8 162MB/s ± 0% 162MB/s ± 0% +0.09% (p=0.032 n=5+4)
wuffs_png_decode_image_552k_32bpp_verify_checksum/gcc8 140MB/s ± 0% 155MB/s ± 0% +10.67% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/gcc8 94.1MB/s ± 0% 99.4MB/s ± 0% +5.57% (p=0.008 n=5+5)
mimic_png_decode_image_19k_8bpp 43.6MB/s ± 0% 43.3MB/s ± 1% ~ (p=0.167 n=5+5)
mimic_png_decode_image_40k_24bpp 54.6MB/s ± 0% 54.6MB/s ± 0% ~ (p=1.000 n=5+5)
mimic_png_decode_image_77k_8bpp 125MB/s ± 0% 123MB/s ± 0% -1.03% (p=0.016 n=5+4)
mimic_png_decode_image_552k_32bpp_ignore_checksum skipped
mimic_png_decode_image_552k_32bpp_verify_checksum 102MB/s ± 0% 101MB/s ± 0% -0.43% (p=0.008 n=5+5)
mimic_png_decode_image_4002k_24bpp 81.3MB/s ± 0% 81.8MB/s ± 0% +0.62% (p=0.008 n=5+5)
This commit is contained in:
1 parent
d13039d96e
commit
010b34ed38
7 files changed
+629
-50
No files matched your search
+14
-8
@@ -695,14 +695,17 @@ const (
|
||||
IDStoreSlice256 = ID(0x38B)
|
||||
IDStoreSlice512 = ID(0x38C)
|
||||
|
||||
IDCreateMMSet1EPI8 = ID(0x390)
|
||||
IDCreateMMSet1EPI16 = ID(0x391)
|
||||
IDCreateMMSet1EPI32 = ID(0x392)
|
||||
IDCreateMMSet1EPI64X = ID(0x393)
|
||||
IDCreateMMSetEPI8 = ID(0x394)
|
||||
IDCreateMMSetEPI16 = ID(0x395)
|
||||
IDCreateMMSetEPI32 = ID(0x396)
|
||||
IDCreateMMSetEPI64X = ID(0x397)
|
||||
IDCreateSlice64 = ID(0x390)
|
||||
IDCreateSlice128 = ID(0x391)
|
||||
|
||||
IDCreateMMSet1EPI8 = ID(0x3A0)
|
||||
IDCreateMMSet1EPI16 = ID(0x3A1)
|
||||
IDCreateMMSet1EPI32 = ID(0x3A2)
|
||||
IDCreateMMSet1EPI64X = ID(0x3A3)
|
||||
IDCreateMMSetEPI8 = ID(0x3A4)
|
||||
IDCreateMMSetEPI16 = ID(0x3A5)
|
||||
IDCreateMMSetEPI32 = ID(0x3A6)
|
||||
IDCreateMMSetEPI64X = ID(0x3A7)
|
||||
)
|
||||
|
||||
var builtInsByID = [nBuiltInIDs]string{
|
||||
@@ -1114,6 +1117,9 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
IDStoreSlice256: "store_slice256",
|
||||
IDStoreSlice512: "store_slice512",
|
||||
|
||||
IDCreateSlice64: "create_slice64",
|
||||
IDCreateSlice128: "create_slice128",
|
||||
|
||||
IDCreateMMSet1EPI8: "create_mm_set1_epi8",
|
||||
IDCreateMMSet1EPI16: "create_mm_set1_epi16",
|
||||
IDCreateMMSet1EPI32: "create_mm_set1_epi32",
|
||||
|
||||
Reference in new issue
Block a user