Nigel Tao
|
b61a827354
|
Optimize std/adler32 for SSE4.2
On a mid-range x86_64 laptop:
wuffs_adler32_10k/clang9 1.35GB/s ± 0% 10.78GB/s ± 1% +700.65% (p=0.008 n=5+5)
wuffs_adler32_100k/clang9 1.35GB/s ± 0% 12.88GB/s ± 0% +856.09% (p=0.008 n=5+5)
wuffs_adler32_10k/gcc10 1.85GB/s ± 0% 11.21GB/s ± 0% +506.34% (p=0.008 n=5+5)
wuffs_adler32_100k/gcc10 1.84GB/s ± 0% 11.43GB/s ± 0% +521.51% (p=0.008 n=5+5)
mimic_adler32_10k 1.76GB/s ± 0% 1.76GB/s ± 0% ~ (p=0.841 n=5+5)
mimic_adler32_100k 1.72GB/s ± 0% 1.72GB/s ± 0% ~ (p=0.222 n=5+5)
wuffs_zlib_decode_10k/clang9 124MB/s ± 0% 139MB/s ± 0% +12.29% (p=0.016 n=4+5)
wuffs_zlib_decode_100k/clang9 148MB/s ± 0% 155MB/s ± 0% +4.21% (p=0.008 n=5+5)
wuffs_zlib_decode_10k/gcc10 133MB/s ± 1% 141MB/s ± 0% +5.75% (p=0.008 n=5+5)
wuffs_zlib_decode_100k/gcc10 159MB/s ± 0% 172MB/s ± 0% +7.77% (p=0.016 n=5+4)
mimic_zlib_decode_10k 133MB/s ± 0% 133MB/s ± 0% +0.38% (p=0.008 n=5+5)
mimic_zlib_decode_100k 160MB/s ± 0% 160MB/s ± 0% ~ (p=0.841 n=5+5)
wuffs_png_decode_image_19k_8bpp/clang9 90.6MB/s ± 0% 94.7MB/s ± 0% +4.58% (p=0.016 n=5+4)
wuffs_png_decode_image_40k_24bpp/clang9 129MB/s ± 0% 135MB/s ± 0% +4.49% (p=0.008 n=5+5)
wuffs_png_decode_image_77k_8bpp/clang9 335MB/s ± 0% 351MB/s ± 0% +4.62% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/clang9 322MB/s ± 0% 320MB/s ± 1% -0.71% (p=0.016 n=4+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/clang9 256MB/s ± 0% 308MB/s ± 0% +20.24% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/clang9 131MB/s ± 0% 138MB/s ± 0% +5.24% (p=0.008 n=5+5)
wuffs_png_decode_image_19k_8bpp/gcc10 95.1MB/s ± 0% 100.8MB/s ± 1% +6.08% (p=0.008 n=5+5)
wuffs_png_decode_image_40k_24bpp/gcc10 131MB/s ± 0% 136MB/s ± 0% +3.65% (p=0.008 n=5+5)
wuffs_png_decode_image_77k_8bpp/gcc10 350MB/s ± 1% 371MB/s ± 0% +6.06% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/gcc10 327MB/s ± 0% 333MB/s ± 0% +1.66% (p=0.008 n=5+5)
wuffs_png_decode_image_552k_32bpp_verify_checksum/gcc10 274MB/s ± 0% 318MB/s ± 0% +15.93% (p=0.008 n=5+5)
wuffs_png_decode_image_4002k_24bpp/gcc10 132MB/s ± 0% 138MB/s ± 0% +4.73% (p=0.008 n=5+5)
mimic_png_decode_image_19k_8bpp 58.1MB/s ± 0% 58.2MB/s ± 0% +0.27% (p=0.008 n=5+5)
mimic_png_decode_image_40k_24bpp 73.0MB/s ± 1% 73.3MB/s ± 0% +0.45% (p=0.008 n=5+5)
mimic_png_decode_image_77k_8bpp 177MB/s ± 0% 177MB/s ± 0% ~ (p=0.421 n=5+5)
mimic_png_decode_image_552k_32bpp_ignore_checksum skipped
mimic_png_decode_image_552k_32bpp_verify_checksum 146MB/s ± 0% 146MB/s ± 0% ~ (p=0.310 n=5+5)
mimic_png_decode_image_4002k_24bpp 104MB/s ± 0% 104MB/s ± 0% ~ (p=0.056 n=5+5)
|
2021-01-26 22:31:54 +11:00 |
|
Nigel Tao
|
5941e7e5cc
|
Rename sse128/sse128i to x86_sse42/x86_m128i
|
2021-01-24 21:58:00 +11:00 |
|
Nigel Tao
|
d1b741338b
|
Add sse128_i.load_slice128
|
2021-01-23 22:58:21 +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
|
afc6bb9ec3
|
Add base.sse128_i
|
2021-01-15 15:47:56 +11:00 |
|
Nigel Tao
|
020b8e6903
|
Add cpu_arch
|
2021-01-15 10:26:55 +11:00 |
|
Nigel Tao
|
a1a70da539
|
Add iterate advance parameter
|
2021-01-11 00:03:44 +11:00 |
|
Nigel Tao
|
d842a20e43
|
Let iterate parameters be non-powers-of-2
|
2021-01-07 22:48:31 +11:00 |
|
Nigel Tao
|
beaf3ef11f
|
Add choose
wuffs_png_decode_filter_1_sub/clang9 905MB/s ± 0% 1339MB/s ± 0% +48.05% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.12GB/s ± 0% 1.85GB/s ± 0% +64.80% (p=0.016 n=5+4)
|
2021-01-06 23:16:16 +11:00 |
|
Nigel Tao
|
e403659c05
|
Remove more branches in std/png filters
wuffs_png_decode_19k_8bpp/clang9 95.5MB/s ± 0% 91.8MB/s ± 1% -3.90% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 115MB/s ± 0% 115MB/s ± 1% ~ (p=0.151 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 358MB/s ± 0% 345MB/s ± 0% -3.68% (p=0.008 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 124MB/s ± 0% 152MB/s ± 1% +22.35% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 116MB/s ± 0% 116MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 924MB/s ± 0% 982MB/s ± 0% +6.28% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.1GB/s ± 0% 12.7GB/s ± 0% -2.73% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 640MB/s ± 0% 757MB/s ± 0% +18.31% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 64.8MB/s ± 0% 82.1MB/s ± 0% +26.72% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 99.0MB/s ± 0% 98.9MB/s ± 0% ~ (p=0.222 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 114MB/s ± 1% 118MB/s ± 1% +3.38% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 320MB/s ± 0% 321MB/s ± 0% +0.38% (p=0.016 n=5+4)
wuffs_png_decode_552k_32bpp/gcc10 141MB/s ± 0% 144MB/s ± 0% +1.80% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10 118MB/s ± 0% 118MB/s ± 1% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.11GB/s ± 0% 0.90GB/s ± 0% -18.57% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.1GB/s ± 0% 11.0GB/s ± 0% -0.33% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/gcc10 751MB/s ± 0% 749MB/s ± 0% -0.29% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 76.9MB/s ± 0% 81.8MB/s ± 0% +6.33% (p=0.008 n=5+5)
|
2021-01-02 23:07:04 +11:00 |
|
Nigel Tao
|
be00ccf61f
|
Add "(a - b) < c: a < c; 0 <= b" axiom
wuffs_png_decode_19k_8bpp/clang9 95.7MB/s ± 1% 95.5MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 112MB/s ± 0% 115MB/s ± 0% +2.23% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 357MB/s ± 0% 358MB/s ± 0% ~ (p=0.222 n=5+5)
wuffs_png_decode_552k_32bpp/clang9 119MB/s ± 1% 124MB/s ± 0% +4.89% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 114MB/s ± 0% 116MB/s ± 0% +1.95% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 919MB/s ± 1% 924MB/s ± 0% +0.57% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.3GB/s ± 1% 13.1GB/s ± 0% -2.02% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 554MB/s ± 0% 640MB/s ± 0% +15.61% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 61.9MB/s ± 1% 64.8MB/s ± 0% +4.59% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 100MB/s ± 1% 99MB/s ± 0% -0.92% (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 114MB/s ± 0% 114MB/s ± 1% ~ (p=0.548 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 325MB/s ± 0% 320MB/s ± 0% -1.45% (p=0.016 n=4+5)
wuffs_png_decode_552k_32bpp/gcc10 160MB/s ± 0% 141MB/s ± 0% -11.59% (p=0.016 n=4+5)
wuffs_png_decode_4002k_24bpp/gcc10 117MB/s ± 0% 118MB/s ± 0% +0.91% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 979MB/s ± 0% 1109MB/s ± 0% +13.30% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.5GB/s ± 1% 11.1GB/s ± 0% -3.88% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/gcc10 644MB/s ± 0% 751MB/s ± 0% +16.69% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 84.3MB/s ± 1% 76.9MB/s ± 0% -8.74% (p=0.008 n=5+5)
|
2021-01-02 22:46:53 +11:00 |
|
Nigel Tao
|
b7b39e34d8
|
Add more facts after "x = y.max(a: z)"
wuffs_png_decode_19k_8bpp/clang9 95.8MB/s ± 1% 95.7MB/s ± 1% ~ (p=0.310 n=5+5)
wuffs_png_decode_40k_24bpp/clang9 112MB/s ± 0% 112MB/s ± 0% +0.16% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/clang9 358MB/s ± 0% 357MB/s ± 0% ~ (p=0.905 n=4+5)
wuffs_png_decode_552k_32bpp/clang9 143MB/s ± 0% 119MB/s ± 1% -17.27% (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9 114MB/s ± 0% 114MB/s ± 0% +0.42% (p=0.008 n=5+5)
wuffs_png_decode_filter_1_sub/clang9 1.02GB/s ± 0% 0.92GB/s ± 1% -9.75% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9 13.5GB/s ± 0% 13.3GB/s ± 1% -1.25% (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9 491MB/s ± 0% 554MB/s ± 0% +12.72% (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9 75.5MB/s ± 0% 61.9MB/s ± 1% -17.95% (p=0.008 n=5+5)
wuffs_png_decode_19k_8bpp/gcc10 99.4MB/s ± 0% 99.9MB/s ± 1% +0.51% (p=0.032 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10 116MB/s ± 0% 114MB/s ± 0% -2.27% (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10 321MB/s ± 0% 325MB/s ± 0% +1.32% (p=0.016 n=5+4)
wuffs_png_decode_552k_32bpp/gcc10 159MB/s ± 0% 160MB/s ± 0% ~ (p=0.190 n=5+4)
wuffs_png_decode_4002k_24bpp/gcc10 117MB/s ± 0% 117MB/s ± 0% ~ (p=0.310 n=5+5)
wuffs_png_decode_filter_1_sub/gcc10 1.12GB/s ± 0% 0.98GB/s ± 0% -12.54% (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10 11.3GB/s ± 0% 11.5GB/s ± 1% +2.08% (p=0.016 n=4+5)
wuffs_png_decode_filter_3_average/gcc10 644MB/s ± 0% 644MB/s ± 0% ~ (p=0.151 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10 83.8MB/s ± 0% 84.3MB/s ± 1% ~ (p=0.095 n=5+5)
|
2021-01-02 22:35:54 +11:00 |
|
Nigel Tao
|
2dfe222681
|
Drop args- and this-related facts after ? call
|
2020-11-05 14:49:47 +11: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
|
850dc18d16
|
Have std/cbor produce extended inline integers
|
2020-07-21 22:52:04 +10:00 |
|
Nigel Tao
|
31674f9bd2
|
Let skip_u32_fast take non-constant arguments
|
2020-07-15 14:10:43 +10:00 |
|
Nigel Tao
|
ed48514f30
|
Remove ast.NewExpr statusPkg arg
|
2020-06-10 12:05:48 +10:00 |
|
Nigel Tao
|
7dc73a856a
|
Remove unused checker.exprConstValue method
|
2020-06-10 11:43:46 +10:00 |
|
Nigel Tao
|
74d291453d
|
Un-special-case parsing base."etc"
|
2020-06-10 11:34:56 +10:00 |
|
Nigel Tao
|
3b1d3d0a39
|
Remove check.Error.OtherFoo fields
|
2020-06-09 17:00:24 +10:00 |
|
Nigel Tao
|
6f43ab4b92
|
Reject duplicate top level names
|
2020-06-09 16:59:43 +10:00 |
|
Nigel Tao
|
7e32336de0
|
Add base.PIXEL_FORMAT__ETC constants
|
2020-06-09 12:34:34 +10:00 |
|
Nigel Tao
|
8b70ad0565
|
Rename skip32 to skip_u32
|
2020-05-27 23:29:20 +10:00 |
|
Nigel Tao
|
1ed0f89948
|
Rename copy_n32_etc to limited_copy_u32_etc
|
2020-05-27 19:55:06 +10:00 |
|
Nigel Tao
|
ad1cff3921
|
Add tell_me_more? mechanism
|
2020-05-12 11:12:39 +10:00 |
|
Nigel Tao
|
1f424b2ea7
|
Propagate const-values to idents of consts
|
2020-04-16 09:37:05 +10:00 |
|
Nigel Tao
|
b791b441ef
|
Improve error message for unreachable code
|
2020-04-03 10:58:04 +11:00 |
|
Nigel Tao
|
ee23f8b3d9
|
Move loop/jump matching from check to parse
|
2020-04-03 10:26:35 +11:00 |
|
Nigel Tao
|
4cfc367a9b
|
Factor out an ast.Terminates function
|
2020-04-02 17:32:37 +11:00 |
|
Nigel Tao
|
f515dc0848
|
Rename io_writer.write_fast_etc
|
2020-04-02 12:32:40 +11:00 |
|
Nigel Tao
|
3456f39f9d
|
Rename token_writer.write_fast_token
|
2020-04-02 12:26:57 +11:00 |
|
Nigel Tao
|
40d200cdab
|
Drop cached expr MBounds when re-checking asserts
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21371
|
2020-03-26 08:14:43 +11:00 |
|
Nigel Tao
|
9e50918718
|
Add single-quoted strings
|
2020-03-25 19:41:02 +11:00 |
|
Nigel Tao
|
b86373aff5
|
Add io_reader.peek_u64le_at
|
2020-03-19 11:33:22 +11:00 |
|
Nigel Tao
|
2d2a880c18
|
Ban unlabeled break/continue for labeled loop
|
2020-02-24 14:20:05 +11:00 |
|
Nigel Tao
|
ea2cd1c5c9
|
Fix lang/check test for endwhile syntax
|
2020-02-23 17:11:27 +11:00 |
|
Nigel Tao
|
0aacdfd6e3
|
Allow r.skip32_fast!(actual: x, worst_case: x)
|
2020-02-19 14:09:43 +11:00 |
|
Nigel Tao
|
e9aba8924a
|
Add token_writer.write_fast_token
|
2020-02-12 21:45:06 +11:00 |
|
Nigel Tao
|
737e31ff3a
|
Add tokens
|
2020-02-11 12:02:58 +11:00 |
|
Nigel Tao
|
fb9a0964a2
|
Fix associative op const-value calculation
|
2020-02-08 14:54:00 +11:00 |
|
Nigel Tao
|
09ed091fe3
|
Rename skip / copy_n_etc to skip32 / copy_n32_etc
|
2020-01-16 22:07:44 +11:00 |
|
Nigel Tao
|
1a791217de
|
Add wuffs_base__pixel_blend type
|
2020-01-14 09:27:04 +11:00 |
|
Nigel Tao
|
a6ee0ee391
|
Remove builtin.ParseFuncs "generic" argument
|
2020-01-11 10:37:37 +11:00 |
|
Nigel Tao
|
ea54c2ea11
|
Add syntax support for implementing interfaces
|
2020-01-09 15:45:29 +11:00 |
|
Nigel Tao
|
9e033579c8
|
Add interface method signatures
|
2020-01-06 21:59:30 +11:00 |
|
Nigel Tao
|
4f53f3101f
|
Make wuffs_base__pixel_format a struct
|
2020-01-05 14:18:48 +11:00 |
|
Nigel Tao
|
a5dbb9160f
|
Add doc/note/assertions.md
|
2019-12-18 14:12:34 +11:00 |
|
Nigel Tao
|
688e947016
|
Check that =? types are base.status
|
2019-12-05 21:06:52 +11:00 |
|
Nigel Tao
|
cb7e9e0ce9
|
Add a ~mod* operator
|
2019-11-12 21:30:45 +11:00 |
|