Nigel Tao
|
43beae1d3d
|
lang: make "return a slice" return a slice of this
|
2023-06-13 22:38:29 +10:00 |
|
Nigel Tao
|
66723c6706
|
lang: make this.foo read-only in a pure function
|
2023-06-13 22:38:29 +10:00 |
|
Nigel Tao
|
19f56ebfd2
|
lang: allow "slice_var as ptr array[etc] etc"
|
2023-06-13 22:38:25 +10:00 |
|
Nigel Tao
|
6411561deb
|
check: add maxPointerBounds and funcBounds
|
2023-06-13 11:52:16 +10:00 |
|
Nigel Tao
|
8ac22ceab2
|
cgen: allow "var x : nptr array[etc] etc"
|
2023-06-13 10:49:37 +10:00 |
|
Nigel Tao
|
e930d66897
|
lang: reject 0-length arrays
|
2023-06-05 13:33:15 +10:00 |
|
Nigel Tao
|
2865c5bfbd
|
std/jpeg: call slice.bulk_{load,save}_host_endian
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59540
name old speed new speed delta
wuffs_jpeg_decode_30k_24bpp_progressive/clang11 131MB/s ± 0% 168MB/s ± 0% +28.44% (p=0.008 n=5+5)
wuffs_jpeg_decode_30k_24bpp_progressive/gcc10 167MB/s ± 0% 175MB/s ± 0% +4.80% (p=0.008 n=5+5)
|
2023-06-05 12:51:50 +10:00 |
|
Nigel Tao
|
2f18dc61d0
|
std/jpeg: call slice.bulk_memset
|
2023-06-04 21:22:14 +10:00 |
|
Nigel Tao
|
35fd84bea0
|
lang: allow copy_from_slice arg to be read-only
|
2023-04-12 13:18:43 +10:00 |
|
Nigel Tao
|
29c4122360
|
lang: have hasher_u32.update_u32 take a roslice
|
2023-04-10 21:16:53 +10:00 |
|
Nigel Tao
|
f3caf09d77
|
lang: add read-only type decorators
|
2023-04-10 15:29:12 +10:00 |
|
Nigel Tao
|
97eb1290f5
|
Tweak liveness analysis for if-else chains
|
2022-01-25 19:40:22 +11:00 |
|
Nigel Tao
|
f73f95b698
|
Rename from ast.IOBind to ast.IOManip
|
2021-08-15 08:40:05 +10:00 |
|
Nigel Tao
|
28a54baa19
|
Add io_bind history_position arg
|
2021-08-15 08:36:14 +10:00 |
|
Nigel Tao
|
2dddd388bc
|
Add crc32.ieee_hasher.up_x86_avx2
name old speed new speed delta
wuffs_crc32_ieee_10k/clang9 8.42GB/s ± 1% 8.12GB/s ± 1% -3.55% (p=0.000 n=9+8)
wuffs_crc32_ieee_100k/clang9 11.0GB/s ± 1% 10.9GB/s ± 1% ~ (p=0.931 n=9+9)
wuffs_crc32_ieee_10k/gcc10 9.20GB/s ± 0% 9.71GB/s ± 0% +5.54% (p=0.000 n=8+10)
wuffs_crc32_ieee_100k/gcc10 11.9GB/s ± 2% 13.1GB/s ± 1% +10.22% (p=0.000 n=10+8)
wuffs_gzip_decode_10k/clang9 219MB/s ± 1% 218MB/s ± 2% ~ (p=0.497 n=9+10)
wuffs_gzip_decode_100k/clang9 283MB/s ± 2% 281MB/s ± 1% ~ (p=0.063 n=10+10)
wuffs_gzip_decode_10k/gcc10 224MB/s ± 1% 223MB/s ± 1% ~ (p=0.489 n=9+9)
wuffs_gzip_decode_100k/gcc10 285MB/s ± 4% 290MB/s ± 0% +1.68% (p=0.004 n=10+8)
wuffs_png_decode_image_19k_8bpp/clang9 138MB/s ± 2% 138MB/s ± 1% ~ (p=0.156 n=10+9)
wuffs_png_decode_image_40k_24bpp/clang9 171MB/s ± 2% 172MB/s ± 1% ~ (p=0.971 n=10+10)
wuffs_png_decode_image_77k_8bpp/clang9 495MB/s ± 4% 504MB/s ± 1% +1.79% (p=0.000 n=9+9)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/clang9 457MB/s ± 4% 463MB/s ± 0% +1.35% (p=0.002 n=9+9)
wuffs_png_decode_image_552k_32bpp_verify_checksum/clang9 435MB/s ± 5% 445MB/s ± 1% +2.31% (p=0.000 n=10+9)
wuffs_png_decode_image_4002k_24bpp/clang9 172MB/s ± 2% 174MB/s ± 1% ~ (p=0.053 n=10+9)
wuffs_png_decode_image_19k_8bpp/gcc10 157MB/s ± 1% 157MB/s ± 1% ~ (p=0.549 n=9+10)
wuffs_png_decode_image_40k_24bpp/gcc10 187MB/s ± 1% 186MB/s ± 1% ~ (p=0.182 n=10+9)
wuffs_png_decode_image_77k_8bpp/gcc10 554MB/s ± 1% 559MB/s ± 0% +0.84% (p=0.000 n=9+9)
wuffs_png_decode_image_552k_32bpp_ignore_checksum/gcc10 502MB/s ± 1% 500MB/s ± 0% -0.38% (p=0.011 n=10+10)
wuffs_png_decode_image_552k_32bpp_verify_checksum/gcc10 481MB/s ± 1% 478MB/s ± 0% -0.46% (p=0.002 n=8+9)
wuffs_png_decode_image_4002k_24bpp/gcc10 189MB/s ± 2% 190MB/s ± 0% +0.62% (p=0.008 n=10+9)
|
2021-04-09 23:12:32 +10:00 |
|
Nigel Tao
|
fb4d0da844
|
Delete deprecated arm_neon_64, arm_neon_128
|
2021-02-24 22:34:04 +11:00 |
|
Nigel Tao
|
62ee403d06
|
Add arm_neon u8x8, u16x4, etc types
|
2021-02-24 14:28:45 +11:00 |
|
Nigel Tao
|
fa774e647f
|
Add x86_sse42_utility.make_m128i_slice128
|
2021-02-18 22:32:21 +11:00 |
|
Nigel Tao
|
492068f3dc
|
Prepare to add cpu_arch_utility types
|
2021-02-18 16:16:48 +11:00 |
|
Nigel Tao
|
df9ec5bfb6
|
Check foo is choosy in "choose foo = etc"
|
2021-02-18 13:38:27 +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
|
5941e7e5cc
|
Rename sse128/sse128i to x86_sse42/x86_m128i
|
2021-01-24 21:58:00 +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
|
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
|
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
|
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
|
1f424b2ea7
|
Propagate const-values to idents of consts
|
2020-04-16 09:37:05 +10:00 |
|
Nigel Tao
|
ee23f8b3d9
|
Move loop/jump matching from check to parse
|
2020-04-03 10:26:35 +11:00 |
|
Nigel Tao
|
9e50918718
|
Add single-quoted strings
|
2020-03-25 19:41:02 +11:00 |
|
Nigel Tao
|
2d2a880c18
|
Ban unlabeled break/continue for labeled loop
|
2020-02-24 14:20:05 +11:00 |
|
Nigel Tao
|
fb9a0964a2
|
Fix associative op const-value calculation
|
2020-02-08 14:54:00 +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 |
|
Nigel Tao
|
a9ea63ff06
|
Rename [i:j] to [i .. j], the same as Rust
|
2019-10-12 21:14:18 +11:00 |
|
Nigel Tao
|
1c1ce9b19f
|
Drop the unused ref and deref operators
|
2019-10-05 12:41:09 +10:00 |
|
Nigel Tao
|
d1f1340d47
|
Add a nothing built-in literal
|
2019-02-03 14:01:19 +11:00 |
|
Nigel Tao
|
8bbdcc4ce1
|
Allow scalar constants in type expressions
|
2019-02-02 07:53:59 +11:00 |
|
Nigel Tao
|
1ea32b3745
|
Remove the !? effect, leaving only ! and !??
|
2018-12-29 13:36:38 +11:00 |
|
Nigel Tao
|
c9e6ee6fb3
|
Fold Expr statements into Assign statements
|
2018-12-27 17:36:08 +11:00 |
|
Nigel Tao
|
6dc68950c0
|
Drop the "= RHS" out of "var x T = RHS"
|
2018-12-27 11:29:47 +11:00 |
|
Nigel Tao
|
cbe19f50e0
|
Restrict var statements to the top of functions
|
2018-12-27 11:19:22 +11:00 |
|
Nigel Tao
|
d552f88738
|
Make Iterate contain Assign's not Var's
|
2018-12-27 10:35:27 +11:00 |
|
Nigel Tao
|
bac74a830d
|
Place some vars at the top of functions
|
2018-12-26 18:34:52 +11:00 |
|