mirror of
https://github.com/siemens-mobile-hacks/pmb887x-emu-web.git
synced 2026-11-25 22:27:22 +00:00
Bumps the qemu gitlink from 133f91266b to 94754705d1, 62 commits of a review of the fork against smh/master 3403936c99: 29 defects fixed (QBUG-1..27) and 49 reductions, among them the wasm64 translator and the DSP fast loops moved into .c.inc files of their own, R5 on wasm64 only, the bswap and inverted-operand emitters through TCG's generic expansion and the never-taken general 35BE iteration gone. git diff --stat against 3403936c99: +19,802/-519 -> +18,722/-377. Whole candidate against 133f91266b, free-run: towerblox +1.5 %, bobby +1.7 %, midi +0.7 %, video MIPS -0.5 % (12 rounds, se ~0.35); S75 and KE970 boots within noise. stopwatch, music, idle and the EL71 boot were not measured: EL71v41lg91.bin was missing from the container. doc/version-pins.md has the entry, doc/wasm-fast-paths.md the changed rows, the marking and "Returned to upstream", and doc/performance.md the History row and a "2026-11-21 review cleanup" section with the numbers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android-emulator.md | ||
| architecture.md | ||
| diagnostics.md | ||
| gsm-network.md | ||
| lessons.md | ||
| performance.md | ||
| README.md | ||
| version-pins.md | ||
| wasm-fast-paths.md | ||
doc — documentation index
Doing performance work? Read performance.md (the owner's rules, the A/B method, validation, where the time goes, and the closed ideas to grep before trying anything), then wasm-fast-paths.md for what the fork changes for speed. Everything else is reference.
| Doc | What it covers |
|---|---|
| performance.md | Where the perf work stands: target and binding rules, the timing model, scenebench scenes, the paired free-run A/B and the boot A/B, profiling, lockstep and checkers, the cost model, closed ideas, open issues, history since the DSP LLE |
| wasm-fast-paths.md | Every fork change in qemu/ that exists only for speed: where it is, what it buys, how to remove it, and what was returned to upstream |
| lessons.md | Platform facts and traps: the timing model's reasons, the io-recompile rewind, the emscripten runtime, wasm and V8, backend and device design, measuring, gates, shell traps |
| diagnostics.md | The tooling: page URL params, the environment variables qemu reads, wasm exports, which script does what, native trace runs |
| gsm-network.md | The optional GSM network: qemu's built-in cell in the page, where it runs and what it costs, which boards get it, what is not supported |
| android-emulator.md | An arm64 Android emulator and an arm64 Linux Chromium under qemu-user, both inside the container: what works, and why they were too slow for profiling (2026-11-10). A phone over adb is used instead (performance.md, "On a phone") |
| architecture.md | How the browser emulator works: the wasm engine, the build pipeline from the qemu/ submodule, what the fork adds, the page, native reference builds, the testing ladder |
| version-pins.md | What the qemu and bsp submodules were bumped to and why, by date |
Scripts worth knowing
| Command | What it does |
|---|---|
scripts/ninja-fast.sh |
incremental rebuild + deploy to site/dist, or to $WEB_DIST |
scripts/gate.sh quick|keep|close |
builds the native references from qemu/ as checked out, then every correctness gate, run concurrently, one verdict table |
tools/perf/swab.sh |
paired free-run A/B of two dists built with tools/perf/freerun.diff |
tools/perf/bootab.sh |
paired boot A/B of two dists, paced as on the page |
tools/lockstep-wasm.mjs |
wasm vs native value lockstep; refuses a reference built from other sources |
scripts/run-tcg-isa.sh |
the guest op-suite on every built backend, serial logs byte-compared |
scripts/run-lockstep.sh |
native JIT-vs-TCI value lockstep over full boots |
scripts/build-qemu-wasm64.sh |
the wasm64 build and deploy on their own, from qemu/ as checked out (build-qemu.sh adds the first submodule checkout and the bsp sync; neither moves a checkout) |