Commit Graph
36 Commits
Author SHA1 Message Date
elforeign 62c933051b isa: generate complete gfx1030 instruction metadata and identification
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>
2026-11-24 00:11:00 -06:00
Ranveer Soni c12ad2e2f8 feat: expand X19 native ARM64 DBT and guest CPU runtime
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-24 11:34:39 +05:30
Ranveer Soni 93bd04c70f feat(imports): automated API compatibility generation pipeline and metadata ingestion (X18) 2026-11-24 10:50:57 +05:30
Ranveer Soni 0329e683b5 Merge pull request #61 from ranveersoni98/feat/x15-xbox-runtime
feat: Xenora X15–X17.1 runtime and Metal graphics
2026-11-24 09:54:16 +05:30
Ranveer Soni 0be6220e47 feat(add): x17things, as well as more d3d12 testing archive/pull/61/head 2026-11-24 09:49:53 +05:30
Ranveer Soni e3c082ca9d Add synthetic PE32+ guest runtime support 2026-11-24 07:15:26 +05:30
Ranveer Soni 9cf09cb823 chore: preserve X14.5 probe and documentation updates
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-24 07:03:55 +05:30
Andre EncarnacaoandClaude Opus 5.5 6722c041d1 fix: restore a compiling, green main (#60)
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>
2026-11-24 06:57:07 +05:30
Ranveer Soni 11e95b9e54 feat(loader): add static PE compatibility probe
- 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
2026-11-23 22:13:06 +05:30
Ranveer Soni cc8c71ce86 feat: work on jit and x13 (#59) 2026-11-23 22:06:04 +05:30
Ranveer Soni 585aa5fc2d feat: add RDNA2 image sampling and x86-64 guest execution (#58) 2026-11-23 21:13:02 +05:30
Ranveer Soni da1027c9a1 Merge pull request #57 from ranveersoni98/feat/x10-texture-sampling
X10: Native Metal texture sampling foundation
2026-11-23 20:03:04 +05:30
Ranveer Soni 8d6daf9261 feat(texture): add native Metal RGBA8 sampling foundation archive/pull/57/head 2026-11-23 20:02:12 +05:30
Ranveer Soni 87b4ef8f10 feat(update): readme 2026-11-23 17:29:28 +05:30
Ranveer Soni 49c3cb162e test: correct unsupported SIB addressing fixture 2026-11-23 17:26:21 +05:30
Ranveer Soni d12d04bb8f fix: restore status audit and generated progress assets 2026-11-23 17:22:53 +05:30
Ranveer Soni 12e0376fb4 chore: exclude generated Python cache 2026-11-23 17:14:41 +05:30
Ranveer Soni 0597ad06d1 feat: expand native guest execution and RDNA2 Metal graphics 2026-11-23 17:11:02 +05:30
Ranveer Soni 3133d8eddc docs: overhaul project documentation and maintenance checks
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-23 11:08:43 +05:30
Ranveer Soni 6ccb23da1d feat: implement native guest execution and Metal rendering pipeline 2026-11-23 10:43:49 +05:30
Ranveer Soni 4b9a4cecf3 docs: record Phase 01 continuation and validation results 2026-11-22 18:55:18 +05:30
Ranveer Soni 5c479005b0 test: harden independent Phase 01 oracle and record assurance 2026-11-22 18:48:08 +05:30
Ranveer Soni aff46b0904 test: add native semantic mutation campaign 2026-11-22 18:31:17 +05:30
Ranveer Soni cc0daa79e6 fix: validate the layout of skipped fixture instructions 2026-11-22 18:29:11 +05:30
Ranveer Soni 095ec65aee test: strengthen Phase 01 mutation survivor coverage 2026-11-22 18:25:31 +05:30
Ranveer Soni 79df1194eb test: expand Phase 01 validation and benchmark evidence 2026-11-22 16:46:21 +05:30
Ranveer Soni a34dadcbc0 test: run the full workspace suite for each source mutant
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>
2026-11-22 14:25:46 +05:30
Ranveer Soni 622d57272a feat: record power source and thermal state in benchmark metadata
A timing run is only protocol-compliant on AC power with the thermal state
noted. Capture both so a battery run can never be mistaken for release
evidence, and add an explicit protocol note to the report when the host is
not on AC power.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 14:25:06 +05:30
Ranveer Soni 285d0d7926 docs: describe the profiled native backend entry point
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 14:23:35 +05:30
Ranveer Soni 90e984dc77 feat: add correctness-gated benchmark harness and a second interpreter
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>
2026-11-22 14:20:32 +05:30
Ranveer Soni 42fb3f67ad test: verify gfx1030 decoding against LLVM and the reference
Compare decoded operations, operands, and instruction spans for all supported forms. Cover literal and register boundaries and distinguish malformed streams from valid encodings outside the subset.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 13:56:16 +05:30
Ranveer Soni c7ce367d16 test: extend decoder verification and document runtime licensing
Compare high vector-register encodings against LLVM and retain the upstream objc2 MIT text. Record the attribution and SDK redistribution questions that still block license sign-off.

Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 13:50:05 +05:30
Ranveer Soni 96cff7c66e feat: establish native RDNA-to-Metal recompilation foundation
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>
2026-11-22 13:41:55 +05:30
Ranveer Soni 9ab5bf9f9e docs: establish contribution and repository policies
Signed-off-by: Ranveer Soni <git@ranveersoni.me>
2026-11-22 12:06:52 +05:30
Ranveer Soni a3c8a3e7e2 Create README.md 2026-11-22 11:25:57 +05:30
Ranveer Soni d4334e68cc Create LICENSE 2026-11-22 09:23:19 +05:30