evan 4dd54253ab tcg/wasm32: add ?tcgdiff2 whole-execution differential (live compiled vs TCI shadow)
Mode 2 runs compiled LIVE and authoritative so corruption accumulates across
TBs as in the real crash, with a per-TB TCI shadow (restored from pre-snapshot)
as the known-good reference. Store-TCI disabled under this mode; compares
env/pc/DRAM per eligible store TB, now including slow-path completions.

Result: 153k+ live-compiled comparisons, zero divergence, confirming inline
store codegen is correct even under live accumulation. Cannot reach the reader
corruption in-browser: 2x-execution + full-state snapshot trips the guest
interrupt watchdog and is throughput-bound. Suspects narrowed to the store
slow-path (helper/unwind) and store-width interaction.
2026-07-22 16:45:01 -04:00
2024-12-03 16:09:19 +04:00
2026-07-19 21:08:45 -04:00
2024-08-13 19:01:42 +02:00
2024-12-17 14:26:42 +03:00
2026-07-19 21:08:45 -04:00
2024-07-22 09:38:16 +01:00
2026-07-19 21:57:52 -04:00
2025-01-17 09:58:21 +03:00
2025-02-26 07:41:35 +01:00
2023-12-21 22:49:27 +01:00
2023-12-21 22:49:27 +01:00
2024-10-07 16:41:58 +02:00
2026-07-19 21:08:45 -04:00
2026-07-19 21:08:45 -04:00
2024-10-07 16:41:57 +02:00
2023-12-21 22:49:27 +01:00
2023-12-21 22:49:27 +01:00
2025-02-24 08:46:48 +03:00

xteink QEMU fork

Espressif's QEMU fork carrying the xteink X3/X4 (ESP32-C3) machine model and a wasm32 TCG backend (ported from ktock/qemu-wasm), used by xteink-web-emulator to run CrossPoint firmware in the browser.

Branch

  • main — the working branch. Base is Espressif's esp-develop-9.2.2-20260417 (40edccac).

Remotes

Building

Native (parity check — authoritative)

nix develop
./configure --target-list=riscv32-softmmu --with-devices-riscv32=xteink --enable-gcrypt
ninja -C build qemu-system-riscv32

WebAssembly

Driven by the parent repo, not here:

cd ../xteink-web-emulator
make web-dev     # incremental build straight from this tree

The parent's scripts/build-qemu-wasm.sh compiles this checkout inside the emsdk Docker image defined in xteink-web-emulator/qemu/wasm/Dockerfile.

S
Description
No description provided
Readme 599 MiB
Languages
C 83.1%
C++ 6.4%
Python 3.3%
Dylan 2.8%
Shell 1.5%
Other 2.6%