Paweł Bylica
Paweł Bylica
Comparing clang-12 against clang-11, without LTO. An improvement is visible. Hopefully, not because of the code layout. ``` fizzy/parse/blake2b_mean +0.0103 +0.0103 25 25 25 25 fizzy/instantiate/blake2b_mean -0.0129 -0.0129 31 31...
# Detailed calls optimization plan ## Current status In Fizzy 0.5, the internal calls work like this: 1. The `call` instruction implementation needs to know the number or arguments in...
For `fizzy-bench-internal` create a generator that generates wasm code focusing on a selected instruction. For binary instructions it may use accumulation procedure. Fixed size array is provided as imported memory....
# Unsafe API The "unsafe" API does not pass any type information (including arity) around. One of the sides needs to trust the other side provided correct data, otherwise 🗑️...
## Levels of parsing / decoding / validation 0. "Unsafe" parser. It assumes the wasm module must be valid and happily reads it without checkout out-of-buffer access. Providing invalid module...
I think using methods instead of free function may be nicer and will be more JavaScript-like. In particular, for function execution we may have something like: ```cpp auto instance =...
Dump all inputs for `fizzy::parse()` to a directory to be used as fuzzing corpus.
1. We want to use the "loop" procedure as in `mul_loop_opt()`. 2. There, it may be good to separate first iteration which does not need to load `p[]` values as...