Nigel Tao
|
fb4d0da844
|
Delete deprecated arm_neon_64, arm_neon_128
|
2021-02-24 22:34:04 +11:00 |
|
Nigel Tao
|
21cc4fa8ba
|
Use more arm_neon_uAxB types and methods
|
2021-02-24 22:22:30 +11:00 |
|
Nigel Tao
|
3b5d8fdfba
|
Use arm_neon_uAxB types and methods
|
2021-02-24 16:48:09 +11:00 |
|
Nigel Tao
|
1f9b6ea535
|
Generate lang/builtin arm_neon_uAxB methods
|
2021-02-24 16:01:01 +11:00 |
|
Nigel Tao
|
62ee403d06
|
Add arm_neon u8x8, u16x4, etc types
|
2021-02-24 14:28:45 +11:00 |
|
Nigel Tao
|
d29cb7d304
|
Refactor cgen's writeBuiltinCPUArchX86
|
2021-02-18 23:49:51 +11:00 |
|
Nigel Tao
|
fa774e647f
|
Add x86_sse42_utility.make_m128i_slice128
|
2021-02-18 22:32:21 +11:00 |
|
Nigel Tao
|
d4c23d091a
|
Add base.x86_sse42_utility.make_m128i_single_u32
|
2021-02-18 20:30:59 +11:00 |
|
Nigel Tao
|
8c8f534a5c
|
Add base.x86_sse42_utility
|
2021-02-18 20:02:58 +11:00 |
|
Nigel Tao
|
492068f3dc
|
Prepare to add cpu_arch_utility types
|
2021-02-18 16:16:48 +11:00 |
|
Nigel Tao
|
010b34ed38
|
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)
|
2021-02-16 22:17:46 +11:00 |
|
Nigel Tao
|
d13039d96e
|
Add std/png decoder.filter_4_distance_?_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_4_dist_3/clang9 180MB/s ± 0% 217MB/s ± 0% +20.57% (p=0.008 n=5+5)
wuffs_png_decode_filt_4_dist_4/clang9 161MB/s ± 0% 287MB/s ± 0% +78.75% (p=0.008 n=5+5)
wuffs_png_decode_image_40k_24bpp/clang9 99.1MB/s ± 0% 99.4MB/s ± 0% +0.27% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/clang9 123MB/s ± 0% 165MB/s ± 0% +33.61% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/clang9 112MB/s ± 0% 146MB/s ± 0% +29.64% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/clang9 93.1MB/s ± 0% 93.2MB/s ± 0% +0.15% (p=0.040 n=5+5)
wuffs_png_decode_filt_4_dist_3/gcc8 80.5MB/s ± 0% 211.7MB/s ± 0% +163.12% (p=0.008 n=5+5)
wuffs_png_decode_filt_4_dist_4/gcc8 77.3MB/s ± 0% 280.4MB/s ± 0% +262.98% (p=0.008 n=5+5)
wuffs_png_decode_image_40k_24bpp/gcc8 98.1MB/s ± 0% 100.8MB/s ± 0% +2.78% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/gcc8 114MB/s ± 0% 162MB/s ± 0% +41.95% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/gcc8 103MB/s ± 0% 140MB/s ± 0% +36.07% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/gcc8 93.2MB/s ± 0% 94.1MB/s ± 0% +0.96% (p=0.008 n=5+5)
|
2021-02-14 23:53:36 +11:00 |
|
Nigel Tao
|
41825fcaae
|
Add std/png decoder.filter_3_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_3_dist_4/clang9 639MB/s ± 0% 906MB/s ± 0% +41.71% (p=0.008 n=5+5)
wuffs_png_decode_filt_3_dist_4/gcc8 656MB/s ± 0% 714MB/s ± 0% +8.89% (p=0.008 n=5+5)
|
2021-02-14 22:12:48 +11:00 |
|
Nigel Tao
|
435330494e
|
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)
|
2021-02-14 21:43:56 +11:00 |
|
Nigel Tao
|
84f3592dbe
|
Add base.arm_crc32_u32 type
On a Raspberry Pi 4 (32-bit armv7l) with -march=native and -mfpu=neon
("native" means "armv8-a+crc+simd"):
wuffs_crc32_ieee_10k/clang9 825MB/s ± 0% 6802MB/s ± 0% +724.00% (p=0.008 n=5+5)
wuffs_crc32_ieee_100k/clang9 837MB/s ± 0% 6199MB/s ± 0% +640.25% (p=0.008 n=5+5)
wuffs_crc32_ieee_10k/gcc8 960MB/s ± 0% 4495MB/s ± 0% +368.35% (p=0.016 n=4+5)
wuffs_crc32_ieee_100k/gcc8 961MB/s ± 0% 4447MB/s ± 0% +363.01% (p=0.016 n=5+4)
mimic_crc32_ieee_10k 638MB/s ± 0% 631MB/s ± 0% -1.17% (p=0.008 n=5+5)
mimic_crc32_ieee_100k 639MB/s ± 0% 639MB/s ± 0% +0.02% (p=0.008 n=5+5)
wuffs_gzip_decode_10k/clang9 83.0MB/s ± 0% 90.7MB/s ± 0% +9.26% (p=0.008 n=5+5)
wuffs_gzip_decode_100k/clang9 100MB/s ± 0% 112MB/s ± 0% +11.91% (p=0.008 n=5+5)
wuffs_gzip_decode_10k/gcc8 86.1MB/s ± 0% 91.9MB/s ± 0% +6.72% (p=0.008 n=5+5)
wuffs_gzip_decode_100k/gcc8 102MB/s ± 0% 112MB/s ± 0% +9.34% (p=0.008 n=5+5)
mimic_gzip_decode_10k 98.8MB/s ± 0% 98.2MB/s ± 0% -0.60% (p=0.008 n=5+5)
mimic_gzip_decode_100k 128MB/s ± 0% 128MB/s ± 0% -0.08% (p=0.008 n=5+5)
wuffs_png_decode_image_19k_8bpp/clang9 67.6MB/s ± 0% 70.8MB/s ± 0% +4.72% (p=0.008 n=5+5)
wuffs_png_decode_image_40k_24bpp/clang9 92.8MB/s ± 0% 98.8MB/s ± 0% +6.49% (p=0.008 n=5+5)
wuffs_png_decode_image_77k_8bpp/clang9 255MB/s ± 0% 269MB/s ± 0% +5.44% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/clang9 123MB/s ± 0% 123MB/s ± 0% +0.13% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/clang9 110MB/s ± 0% 112MB/s ± 0% +1.46% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/clang9 88.4MB/s ± 0% 92.8MB/s ± 0% +4.90% (p=0.008 n=5+5)
wuffs_png_decode_image_19k_8bpp/gcc8 67.2MB/s ± 0% 70.8MB/s ± 0% +5.37% (p=0.008 n=5+5)
wuffs_png_decode_image_40k_24bpp/gcc8 94.0MB/s ± 0% 98.2MB/s ± 0% +4.45% (p=0.008 n=5+5)
wuffs_png_decode_image_77k_8bpp/gcc8 236MB/s ± 0% 248MB/s ± 0% +4.84% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/gcc8 114MB/s ± 0% 115MB/s ± 0% +1.11% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/gcc8 102MB/s ± 0% 104MB/s ± 0% +2.17% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/gcc8 88.8MB/s ± 0% 94.3MB/s ± 0% +6.21% (p=0.008 n=5+5)
mimic_png_decode_image_19k_8bpp 43.7MB/s ± 1% 43.4MB/s ± 1% ~ (p=0.095 n=5+5)
mimic_png_decode_image_40k_24bpp 54.6MB/s ± 0% 53.9MB/s ± 0% -1.25% (p=0.008 n=5+5)
mimic_png_decode_image_77k_8bpp 125MB/s ± 0% 124MB/s ± 0% -0.73% (p=0.008 n=5+5)
mimic_png_decode_image_552k_32bpp_ignore_checksum skipped
mimic_png_decode_image_552k_32bpp_verify_checksum 102MB/s ± 0% 101MB/s ± 0% -0.95% (p=0.008 n=5+5)
mimic_png_decode_image_4002k_24bpp 81.3MB/s ± 0% 81.0MB/s ± 0% -0.46% (p=0.016 n=4+5)
|
2021-02-13 22:54:47 +11:00 |
|
Nigel Tao
|
81ba41e251
|
Add slice uintptr_low_12_bits method
|
2021-02-13 17:19:35 +11:00 |
|
Nigel Tao
|
4993f88a66
|
Add base.utility.cpu_arch_is_32_bit()
|
2021-02-08 22:45:51 +11:00 |
|
Nigel Tao
|
4942324f25
|
Swizzler support src_pixfmt = PIXEL_FORMAT__Y_16BE
Binary size, before:
30800 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
32424 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
56200 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
56152 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
33416 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
35120 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
59504 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
59440 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2021-02-03 13:11:22 +11:00 |
|
Nigel Tao
|
cee57bc4ae
|
Add some more base.x86_m128i methods
|
2021-01-26 10:46:36 +11:00 |
|
Nigel Tao
|
14f194cdfc
|
Remove built-in range reset methods
|
2021-01-24 22:16:57 +11:00 |
|
Nigel Tao
|
5941e7e5cc
|
Rename sse128/sse128i to x86_sse42/x86_m128i
|
2021-01-24 21:58:00 +11:00 |
|
Nigel Tao
|
a563bb7cf8
|
Add sse128_i._mm_blend_epi16
|
2021-01-23 23:48:09 +11:00 |
|
Nigel Tao
|
d1b741338b
|
Add sse128_i.load_slice128
|
2021-01-23 22:58:21 +11:00 |
|
Nigel Tao
|
b2fe296a43
|
Add WUFFS_BASE__QUIRK_IGNORE_CHECKSUM
|
2021-01-21 22:43:24 +11:00 |
|
Nigel Tao
|
92cda94f66
|
Add png.decoder.filter_4_distance_?_sse128
wuffs_png_decode_40k_24bpp/clang9 128MB/s ± 0% 131MB/s ± 0% +2.38% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 169MB/s ± 0% 258MB/s ± 0% +52.72% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 129MB/s ± 1% 131MB/s ± 0% +1.79% (p=0.008 n=5+5)
wuffs_png_decode_filt_4_dist_3/clang9 131MB/s ± 0% 540MB/s ± 0% +311.86% (p=0.016 n=4+5)
wuffs_png_decode_filt_4_dist_4/clang9 138MB/s ± 0% 784MB/s ± 0% +469.66% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 131MB/s ± 0% 135MB/s ± 0% +3.48% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/gcc10 167MB/s ± 0% 275MB/s ± 0% +65.10% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10 134MB/s ± 0% 136MB/s ± 0% +1.78% (p=0.008 n=5+5)
wuffs_png_decode_filt_4_dist_3/gcc10 95.8MB/s ± 0% 594.7MB/s ± 0% +520.73% (p=0.008 n=5+5)
wuffs_png_decode_filt_4_dist_4/gcc10 91.5MB/s ± 0% 795.3MB/s ± 0% +769.14% (p=0.008 n=5+5)
|
2021-01-19 21:55:03 +11:00 |
|
Nigel Tao
|
a1788a0808
|
Add png.decoder.filter_3_distance_4_sse128
wuffs_png_decode_filt_3_dist_3/clang9 905MB/s ± 0% 913MB/s ± 0% +0.81% (p=0.008 n=5+5)
wuffs_png_decode_filt_3_dist_4/clang9 944MB/s ± 1% 1780MB/s ± 0% +88.51% (p=0.008 n=5+5)
wuffs_png_decode_filt_3_dist_3/gcc10 1.07GB/s ± 0% 1.08GB/s ± 0% +0.42% (p=0.008 n=5+5)
wuffs_png_decode_filt_3_dist_4/gcc10 1.01GB/s ± 1% 2.11GB/s ± 0% +109.79% (p=0.008 n=5+5)
|
2021-01-18 23:44:57 +11:00 |
|
Nigel Tao
|
4024f5f051
|
Tweak builtin.SliceU8Funcs peek method names
|
2021-01-18 16:01:44 +11:00 |
|
Nigel Tao
|
60d16b81b9
|
Have builtin.ParseFuncs call parse.Parse less
|
2021-01-18 00:04:41 +11:00 |
|
Nigel Tao
|
26a7280900
|
Add slice base.u8 peek/poke methods
wuffs_png_decode_filter_1_sub/clang9 4.59GB/s ± 0% 4.59GB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.85GB/s ± 0% 4.11GB/s ± 0% +122.24% (p=0.016 n=5+4)
|
2021-01-17 23:47:37 +11:00 |
|
Nigel Tao
|
0b6865e92c
|
Optimize png.decoder.filter_1_distance_4_sse128
wuffs_png_decode_filter_1_sub/clang9 1.26GB/s ± 0% 4.59GB/s ± 0% +263.24% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.85GB/s ± 0% 1.85GB/s ± 0% ~ (p=0.333 n=5+5)
|
2021-01-15 23:28:58 +11:00 |
|
Nigel Tao
|
afc6bb9ec3
|
Add base.sse128_i
|
2021-01-15 15:47:56 +11:00 |
|
Nigel Tao
|
8a12a64754
|
Add limited_swizzle_u32_interleaved_from_reader
|
2020-12-12 00:28:16 +11:00 |
|
Nigel Tao
|
0ccdece50a
|
Add swizzle_interleaved_transparent_black
|
2020-12-04 22:53:59 +11:00 |
|
Nigel Tao
|
8482161c91
|
Add base.pixel_buffer.palette_or_else
|
2020-12-02 22:13:35 +11:00 |
|
Nigel Tao
|
4a5df43aeb
|
Add PIXEL_FORMAT__BGRA_NONPREMUL_4X16LE
Binary size, before:
14272 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
14760 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
22336 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
22280 gen/lib/c/gcc-static/wuffs-base-pixconv.o
After:
18712 gen/lib/c/clang-9-dynamic/wuffs-base-pixconv.lo
19392 gen/lib/c/clang-9-static/wuffs-base-pixconv.o
36880 gen/lib/c/gcc-dynamic/wuffs-base-pixconv.lo
36824 gen/lib/c/gcc-static/wuffs-base-pixconv.o
|
2020-11-16 15:23:57 +11:00 |
|
Nigel Tao
|
fc304139af
|
Add WUFFS_BASE__TOKEN__VBD__FILLER__COMMENT_ANY
|
2020-08-19 09:40:02 +10:00 |
|
Nigel Tao
|
4284369bb8
|
Add TOKEN__VBD__FILLER__PUNCTUATION
|
2020-08-17 16:48:30 +10:00 |
|
Nigel Tao
|
3c3d58bfe7
|
Rename io_writer.history_available
|
2020-08-13 23:29:59 +10:00 |
|
Nigel Tao
|
be8542e313
|
Rename I/O available methods to length
|
2020-08-13 23:26:08 +10:00 |
|
Nigel Tao
|
79b923c322
|
Rename io_reader.available_valid_utf_8
|
2020-08-13 23:15:28 +10:00 |
|
Nigel Tao
|
70c42bff10
|
Break std/cbor string tokens on UTF-8 boundaries
|
2020-07-22 21:50:51 +10:00 |
|
Nigel Tao
|
850dc18d16
|
Have std/cbor produce extended inline integers
|
2020-07-21 22:52:04 +10:00 |
|
Nigel Tao
|
c9d4e34dfc
|
Split ETC__VBC__INLINE_INTEGER into {,un}signed
|
2020-07-21 15:31:49 +10:00 |
|
Nigel Tao
|
31674f9bd2
|
Let skip_u32_fast take non-constant arguments
|
2020-07-15 14:10:43 +10:00 |
|
Nigel Tao
|
4e193599ac
|
Add std/cbor
|
2020-07-15 14:08:37 +10:00 |
|
Nigel Tao
|
15cc8502b1
|
Add token enums for base-32 codecs
|
2020-07-09 21:23:38 +10:00 |
|
Nigel Tao
|
309a5ba231
|
Add base_64 codec to wuffs_base
|
2020-07-09 20:42:17 +10:00 |
|
Nigel Tao
|
b9afc26387
|
Add TOKEN__VBD__STRING__CHAIN_ETC
|
2020-07-03 13:36:13 +10:00 |
|
Nigel Tao
|
3d31ac03eb
|
Add base.TOKEN__ETC constants
|
2020-06-09 23:34:42 +10:00 |
|
Nigel Tao
|
7e32336de0
|
Add base.PIXEL_FORMAT__ETC constants
|
2020-06-09 12:34:34 +10:00 |
|