Nick Fitzgerald

Results 191 issues of Nick Fitzgerald

Here are some synthesized optimizations for CLIF harvested from `spidermonkey.wasm` with explicit bounds checks enabled. I won't have time to investigate, generalize, or implement them before I go on vacation,...

cranelift:goal:optimize-speed
souper

Right now, whenever we do an indirect call, we have an extra branch in the codegen to check whether the table has been initialized or not yet. We have these...

It should be possible to add new widgets easily

https://github.com/TedDriggs/darling This could replace the `PredicateConfig` parsing code.

The `"class"` and `"id"` attributes are used super frequently. We could have a `SetKnownAttribute` op that has an immediate that is an enum value for various common attributes instead of...

performance

Probably slightly faster to use `lastChild` something like this: ```js const node = changeList.stack.pop(); const parent = node.parentNode; let last = parent.lastChild; while (last !== node) { last.remove(); last =...

performance

We want to merge them together because there is no abstraction or layering or boundary between them in practice, and our architectures and designs have, at times, been constrained by...

wasmtime:api
wasmtime:config

Similar to https://github.com/bytecodealliance/wasmtime/pull/8481 but for struct types instead of array types. Note that this is support for only defining these types in Wasm or the host; we don't support allocating...

wasmtime:api

(Fleshing out and jotting down for posterity an idea I floated and we collectively refined at a recent Cranelift meeting.) This peephole pass could run after regalloc, just before encoding...

cranelift:area:regalloc
cranelift:goal:optimize-speed
cranelift:area:machinst
isle