#185 left both forms unsupported because the pinned XML says only "carry-out" for them. The AMD RDNA 2 ISA reference guide (GPUOpen, section 12.1 SOP2 Instructions, p. 101-102, and section 5.3 Scalar Condition Code, p. 33) defines SCC for both as signed overflow: add overflows when the operands share a sign that the result lacks; subtract when the operands' signs differ and the result's sign differs from S0's. The guide also confirms the unsigned rules used in #185. Adds both forms to the generated opcodes, the decoder, the reference (exact signed result must fit in i32), the independent interpreter (the guide's sign-bit rule over its ripple adder) and the translator, plus 400 boundary programs, eight hand-worked overflow and no-overflow cases (-1 + 1 and 0 - 1 carry or borrow but do not overflow) and two signed overflows in the scalar ALU fixture. Inverting the overflow rule in any one implementation fails three tests. s_min_i32 and the other SOP2 forms stay unsupported. Refs #185 Signed-off-by: elforeign <324243036+elforeign@users.noreply.github.com>
Xenora documentation
Getting started
Start with the project README for scope and build commands, then read the interface contracts. Reproduce an original guest test program or run the independent validation suite before changing either path. The changelog records notable changes.
Architecture and technical design
- Interface contracts — Shader inputs, guest services, native command submission, and synthetic textures.
- Fixture memory model and CPU boundary — Buffer bindings, guest address translation, and dependency direction.
RDNA 2 decoding and shader translation
- Instruction coverage — Desktop gfx1030 instruction forms, operand limits, and CPU and GPU results.
- SOP2 scalar ALU — Supported scalar add, subtract and bitwise forms, their SCC rules and sources.
- Metal Shading Language generation and independent CPU reference — Translation rules and separate CPU execution models.
Native Metal backend
- Compute interface — Resource limits, dispatch, completion, and profiling.
- Apple GPU evidence and host lab record — Observed behavior and historical floating-point results.
Guest CPU and runtime experiments
- Guest experiment guide — Bounded x86-64 execution, executable loading, experimental services, native compute, and offscreen rendering.
- Guest CPU research — Public specifications and unresolved console requirements.
- Synthetic import fixtures — Reproducible PE32+ builds and expected service behavior.
Testing, validation, and benchmarks
-
Engineering progress — Verification commands, metric definitions, and open release gates.
-
Test inventory comparison — Detect missing or newly ignored Cargo tests across commits.
-
Persistent resource and translated rendering acceptance — Pinned upstream tests, native ARM64 results and unsupported cases.
-
Baseline acceptance, Phase 01 assurance, and independent reviews — Candidate-specific results and release findings.
-
Mutation testing and benchmark protocol — Test sensitivity, benchmark inputs, and timing requirements.
Research and engineering decisions
- Public sources, RDNA 2 notes, and Xbox GPU evidence — Specifications, evidence scope, and unknown console behavior.
- Shader inputs and risk register — Input provenance and unresolved engineering risks.
- Synthetic integration and upstream evidence — Audited source snapshots and remaining commercial startup prerequisites.
Security, licensing, and contributions
- Threat model and security reporting — Execution limits and disclosure instructions.
- Legal scope, dependency licensing, and third-party notices — Input policy, attribution, and redistribution findings.
- Contribution guidelines — Original authorship, Developer Certificate of Origin sign-off, and evidence requirements.
- Agent task queue — Areas, claiming, leases, upstream sync, verification and the security model for parallel contributors and coding agents.