gecko-dev/js
Julian Seward e661c6d404 Bug 1811024 - wasm-baseline: speed up creation of stack maps. r=rhunt.
The wasm baseline compiler slows down significantly when compiling code that
has extensive need of stack maps, for example the Dart-Barista benchmark.
This is because StackMapGenerator::createStackMap spends a lot of time
iterating over a vector of booleans, one element at a time, to identify
reftyped stack slots.

This patch gives `class MachineStackTracker` its own iterator class `Iter` to
hide the details.  This provides fast(er) iteration by scanning backwards
through the vector of booleans until the scan-index becomes 8-aligned.  After
that, it jumps backwards in steps of 8 elements to the extent possible.

For a --no-threads --wasm-compiler=baseline compilation only of Barista 3,
this reduces compilation time from 0.110 to 0.082 user seconds (Intel Core i5
1135G7).

Differential Revision: https://phabricator.services.mozilla.com/D167288
2023-01-23 13:54:34 +00:00
..
examples
loader Bug 1247687 - Handle cancellation of long running modules; r=jonco 2023-01-18 13:46:32 +00:00
public Bug 1807169 - Properly hand over ownership of the transferables in a JSStructuredCloneData r=iain 2023-01-10 22:23:44 +00:00
src Bug 1811024 - wasm-baseline: speed up creation of stack maps. r=rhunt. 2023-01-23 13:54:34 +00:00
xpconnect Bug 1800431 - Add riscv64 backend about non riscv64 file.r=jandem 2023-01-23 11:51:35 +00:00
app.mozbuild
ffi.configure Backed out changeset 028a7f4e4b32 (bug 1776255) for causing Linux artifact builds bustages on central CLOSED TREE 2022-11-26 17:13:36 -05:00
moz.build
moz.configure Bug 1800431 - Add jit build condig for riscv64.r=jandem 2023-01-23 11:51:34 +00:00
sub.configure