Commit Graph
32 Commits
Author SHA1 Message Date
Nigel Tao a1a70da539 Add iterate advance parameter 2021-01-11 00:03:44 +11:00
Nigel Tao 2b17cf72ca Fix uint64_t vs size_t when compiling with -m32 2021-01-08 23:07:07 +11:00
Nigel Tao dcdd7928c1 Let iterate have multiple assigns
wuffs_png_decode_19k_8bpp/clang9          92.2MB/s ± 0%  93.4MB/s ± 0%   +1.33%  (p=0.008 n=5+5)
wuffs_png_decode_40k_24bpp/clang9          116MB/s ± 0%   115MB/s ± 0%     ~     (p=1.000 n=5+5)
wuffs_png_decode_77k_8bpp/clang9           347MB/s ± 0%   351MB/s ± 0%   +1.19%  (p=0.016 n=5+4)
wuffs_png_decode_552k_32bpp/clang9         150MB/s ± 0%   156MB/s ± 0%   +3.57%  (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/clang9        117MB/s ± 1%   118MB/s ± 0%   +0.62%  (p=0.008 n=5+5)

wuffs_png_decode_filter_1_sub/clang9      1.34GB/s ± 0%  1.24GB/s ± 0%   -7.30%  (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/clang9       13.3GB/s ± 0%  13.4GB/s ± 0%   +0.96%  (p=0.008 n=5+5)
wuffs_png_decode_filter_3_average/clang9   754MB/s ± 0%   948MB/s ± 0%  +25.62%  (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/clang9     127MB/s ± 0%   138MB/s ± 0%   +9.01%  (p=0.008 n=5+5)

wuffs_png_decode_19k_8bpp/gcc10            100MB/s ± 1%   100MB/s ± 0%     ~     (p=0.690 n=5+5)
wuffs_png_decode_40k_24bpp/gcc10           114MB/s ± 0%   118MB/s ± 0%   +3.21%  (p=0.008 n=5+5)
wuffs_png_decode_77k_8bpp/gcc10            323MB/s ± 2%   325MB/s ± 0%     ~     (p=0.841 n=5+5)
wuffs_png_decode_552k_32bpp/gcc10          159MB/s ± 0%   172MB/s ± 0%   +8.38%  (p=0.008 n=5+5)
wuffs_png_decode_4002k_24bpp/gcc10         118MB/s ± 0%   118MB/s ± 0%     ~     (p=0.056 n=5+5)

wuffs_png_decode_filter_1_sub/gcc10       1.84GB/s ± 1%  1.85GB/s ± 0%   +0.22%  (p=0.008 n=5+5)
wuffs_png_decode_filter_2_up/gcc10        10.5GB/s ± 0%  10.5GB/s ± 0%     ~     (p=0.310 n=5+5)
wuffs_png_decode_filter_3_average/gcc10    743MB/s ± 0%  1008MB/s ± 0%  +35.66%  (p=0.008 n=5+5)
wuffs_png_decode_filter_4_paeth/gcc10     83.1MB/s ± 0%  94.1MB/s ± 0%  +13.15%  (p=0.008 n=5+5)
2021-01-07 23:40:50 +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 43a74d6b81 Apply io_limit to original not just derived vars 2020-12-24 22:45:31 +11:00
Nigel Tao b81999f9fc Restrict an io_bind io arg to local variables only 2020-12-24 14:11:48 +11:00
Nigel Tao 78c7087eee Implement io_limit 2020-12-24 14:01:48 +11:00
Nigel Tao 42d569f5db Refactor cgen's write{Load,Save}DerivedVar 2020-11-13 22:42:41 +11:00
Nigel Tao 7ea23d56e3 Refactor cgen's writeStatementAssign 2020-11-11 23:20:08 +11:00
Nigel Tao 0566cb2a8e Remove obsolete writeStatementAssign0 return value 2020-11-11 22:28:59 +11:00
Nigel Tao feac89519f Rearrange cgen temporary assignment for =? 2020-11-11 22:05:46 +11:00
Nigel Tao b3c793eef0 Remove obsolete cgen of Optional effects
This if-else branch was obsoleted by commit 1ea32b37.
2020-11-09 22:16:00 +11:00
Nigel Tao 74d291453d Un-special-case parsing base."etc" 2020-06-10 11:34:56 +10:00
Nigel Tao 709e169955 Have cgen line-break some long expressions 2020-06-07 10:12:47 +10:00
Nigel Tao b2dc84105a Clean up more wuffs-c output (before clang-format) 2020-06-04 23:26:15 +10:00
Nigel Tao 6c83516afa Ensure that you cannot return a suspension 2020-06-03 11:08:23 +10:00
Nigel Tao 055e944584 Make cgen io_reader pointers' elements const 2020-05-27 14:28:31 +10:00
Nigel Tao 9e50918718 Add single-quoted strings 2020-03-25 19:41:02 +11:00
Nigel Tao 16867779be Tighten cgen's funk.jumpTarget return type 2020-03-01 12:01:59 +11:00
Nigel Tao e6f34fe8a9 Rename cgen's break/continue labels 2020-02-24 14:26:52 +11:00
Nigel Tao 6a7a4d08e3 Save derived vars for returns in non-coroutines 2020-02-19 14:31:42 +11:00
Nigel Tao 0fa32bd09f Rename warnings to notes 2020-01-05 13:15:00 +11:00
Nigel Tao e6db7f6a40 Make wuffs_base__status a struct 2020-01-05 10:48:20 +11:00
Nigel Tao fb54ba452f Add wuffs_base__make_status 2020-01-02 20:44:23 +11:00
Nigel Tao f0e9a9bc13 Remove obsolete reference to io_reader.set_limit 2019-07-07 17:21:41 +10:00
Nigel Tao 5653fb0409 Simplify wuffs_base__io_{reader,writer}__set 2019-07-07 17:19:23 +10:00
Nigel Tao daeec2bc1e Have io_{reader,writer}.mark use io0_etc 2019-07-07 16:55:25 +10:00
Nigel Tao 7c6a88882e Rename the generated C's io1_etc to io2_etc 2019-07-06 21:42:53 +10:00
Nigel Tao aa846d2dd7 Remove io_{reader,writer} C types 2019-07-06 17:23:34 +10:00
Nigel Tao 3c86337cac Fix some more -Wconversion warnings 2019-04-07 16:04:30 +10:00
Nigel Tao 6826f2f748 Move internal/cgen up a couple of directories 2019-03-09 13:28:59 +11:00