The decoder knew 25 hand-matched forms, so any other instruction stopped
decoding with no record of what it was or how long it was. A two-stage
generator now reduces AMD's public RDNA 2 XML to all 1,460 base forms,
with a committed snapshot so CI can check the generated table offline.
identify() finds any form's exact length, including literal, SDWA, DPP
and NSA words, and the shaders CLI reports discovered against executable
forms so metadata coverage is never read as GPU support.
Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com>
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>
- Add a read-only probe command that inventories PE metadata, imports, relocations, TLS, and entry-point instruction coverage
- Export compatibility diagnostics as CSV, JSON, and Markdown
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>