Nigel Tao
|
368bd5e4f7
|
Add a read_u32le method.
|
2017-07-13 16:20:59 +10:00 |
|
Nigel Tao
|
73a4f2b263
|
Remove the unnecessary PUFFS_LOW_BITS macro.
|
2017-07-13 11:46:26 +10:00 |
|
Nigel Tao
|
e7873b5ca4
|
Use "coroutine suspension point" consistently.
|
2017-07-13 10:46:05 +10:00 |
|
Nigel Tao
|
198dd1cab0
|
Make the __builtin_expect argument a bool.
No significant benchmark numbers changed. All existing uses are already
bools, but future uses might not be.
|
2017-07-06 08:53:01 +10:00 |
|
Nigel Tao
|
187bde7540
|
Pull out duplicate short_read_src code.
name old speed new speed delta
lzw_puffs_decode_20k/clang 127MB/s ± 0% 127MB/s ± 0% +0.40% (p=0.008 n=5+5)
lzw_puffs_decode_100k/clang 176MB/s ± 0% 176MB/s ± 0% +0.23% (p=0.008 n=5+5)
gif_puffs_decode_1k/clang 380MB/s ± 1% 389MB/s ± 2% +2.26% (p=0.008 n=5+5)
gif_puffs_decode_10k/clang 136MB/s ± 0% 137MB/s ± 0% +0.59% (p=0.016 n=4+5)
gif_puffs_decode_100k/clang 121MB/s ± 0% 121MB/s ± 0% +0.33% (p=0.008 n=5+5)
gif_puffs_decode_1000k/clang 124MB/s ± 0% 124MB/s ± 0% +0.25% (p=0.008 n=5+5)
lzw_puffs_decode_20k/gcc 150MB/s ± 1% 151MB/s ± 0% +0.97% (p=0.008 n=5+5)
lzw_puffs_decode_100k/gcc 207MB/s ± 0% 197MB/s ± 0% -4.84% (p=0.008 n=5+5)
gif_puffs_decode_1k/gcc 413MB/s ± 1% 406MB/s ± 1% -1.71% (p=0.008 n=5+5)
gif_puffs_decode_10k/gcc 147MB/s ± 0% 158MB/s ± 0% +7.15% (p=0.008 n=5+5)
gif_puffs_decode_100k/gcc 136MB/s ± 0% 138MB/s ± 0% +1.68% (p=0.008 n=5+5)
gif_puffs_decode_1000k/gcc 139MB/s ± 0% 142MB/s ± 0% +2.07% (p=0.008 n=5+5)
|
2017-07-02 16:11:51 +10:00 |
|
Nigel Tao
|
8ad82f5e1f
|
Generate C code to set coroutine state.
|
2017-06-23 15:35:18 +10:00 |
|
Nigel Tao
|
bacd2e3b61
|
Add a PUFFS_COROUTINE_STATE macro.
|
2017-06-23 14:47:34 +10:00 |
|
Nigel Tao
|
930ff53ff6
|
Add cmd/puffs-gen-c/base-impl.h.
Also rename preamble.h to base-header.h.
|
2017-06-01 11:02:43 +10:00 |
|