The static PE probe commit left main failing CI at every step after formatting:
- cargo fmt: apply rustfmt to cli/main.rs, loader/probe.rs and
loader/tests/probe_static.rs.
- clippy: collapse the four nested if / if-let blocks in probe.rs into
let-chains (edition 2024); no behaviour change.
- build: make the probe library match its two callers.
run_probe_and_export now takes the PE bytes and a ProbeConfig (the
CLI's config was previously ignored in favour of the default),
ProbeReport.pe is renamed to ProbeReport.parsed, and
pe::IMAGE_SCN_CNT_CODE (0x00000020, PE/COFF section flag) is added.
- tests: gate test_guest_dbt_first_rendered_frame_with_metal behind a new
xenora-loader gpu-tests feature. CI's paravirtual Metal device lacks
Apple family 7; the two CPU-only DBT tests in the same file keep
running in CI. scripts/test-gpu.sh now runs the gated test.
Signed-off-by: Andre Encarnacao <andreencar@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Cross-package tests, including the semantic-review differential interpreter,
can kill mutants that a package-only test run would miss. Run the whole
workspace (GPU tests stay behind their feature gate) and give cold builds a
generous timeout.
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
Add a manifest-driven benchmark binary that verifies each fixture against
the independent reference and the GPU before timing it, reports per-stage
CPU and GPU durations with medians and quartiles, and writes metadata,
raw JSON and a markdown report. Extend the Metal backend with a profiled
execution path that reads command-buffer GPU start and end times.
Add a structurally independent second interpreter for the demo subset in
the semantic-review suite. It imports neither the decoder, ISA nor
reference and re-derives the encodings from the RDNA 2 field layout. A
differential test compares both interpreters across all three fixtures on
boundary-dense and pseudorandom inputs.
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
Add gfx1030 decoding, semantic validation, Metal shader generation, and an independent CPU interpreter for three reproducible compute fixtures. Include native Metal tests, LLVM fixture verification, and the existing CI and Phase 01 handoff.
Verified formatting, all-features Clippy and tests, LLVM decoding, native ARM64 linkage, and all three demo fixtures with Metal API and shader validation enabled.
Signed-off-by: Ranveer Soni <git@ranveersoni.me>