interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

[OMEGA-UNIVERSAL P1] Qualify an x86-64 Omega CPU execution target using LLVM or bounded native lowering

Open · #629 · open 2026-10-22 21:44 UTC

Imported from GitHub aien-dev/omega-mv#629, by drakestapleton

drakestapleton wrote on 2026-10-22 21:44 UTC

Parent https://github.com/aien-dev/aien-architecture-mv/issues/295. Requires https://github.com/aien-dev/omega-mv/issues/625, https://github.com/aien-dev/omega-mv/issues/621, https://github.com/aien-dev/omega-mv/issues/623; target-profile issue under epic.

Current baseline: src/compiler/osc_cg.c + osc_a64.c are AArch64-specific, osc_native.c checks aarch64; src/compiler/osc_interp.c defines independently calculated reference outcomes. No proven x86-64 native emitter. Existing user-owned 2017 iMac Intel i5 may become a hardware judge after environment verification; do not assume its exact CPU/OS/toolchain.

Implement: scoped OSC typed IR -> LLVM IR -> x86-64 SysV code on Linux or separately reviewed direct emitter. Choose bridge or direct lowering with explicit performance/correctness evidence and document dependency rationale. Preserve checked integer overflow, bounds, traps, argument ABI and W^X policy. Do not link untrusted LLVM output straight to launch without independent validation or restricted execution path.

Acceptance: at least 30 deterministic OSC arithmetic/branch/memory fixtures, 10 mutationally invalid code samples and 10k seeded differential input vectors across interpreter, AArch64 baseline and x86; explicit compiler/profile receipts and no stale byte admission. Run local x86-64 hardware if accessible and capture machine profile; otherwise mark native NOT_RUN and use emulation where meaningful. Compiler version and CPU flags pinned; no generic "all Intel" assertion. Context7: https://llvm.org/docs/CodeGenerator.html and https://llvm.org/docs/LangRef.html.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:16 UTC

Recovered GitHub comment. Original comment 6403000219

Taking a scoped seeded-.om x86-64/UEFI implementation slice for the explicitly requested Allen physical-boot GitHub demonstration. Isolated branch feat/allen-imac-competition from main 55f9b0af47de70a3d06357985cf99ae3e45c016f. Reusing the existing omc frontend; no LLVM/C/Rust product fallback and no runtime instruction interpreter. Default AArch64 output must remain unchanged. Native firmware-hosted boot, full owned-driver kernel, emulator checks, and physical acceptance will be reported separately. Existing shared compiler worktrees and live machine remain untouched. Source work begins now; no target is qualified yet.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:17 UTC

Recovered GitHub comment. Original comment 6526494550

Re-measured the x86 differential at main 62d1d0d6 under the pinned QEMU 10.0.14 oracle: 15182 PASS, 0 FAIL, 2 NOT_RUN, 222 EXCLUDED, verdict FAIL because NOT_RUN is not PASS. The two NOT_RUN rows are seed/host/tests/devcall.om and seed/host/tests/uvmctl.om, classified EMULATOR_ARTIFACT (QEMU returns ENOTTY for an unknown ioctl on fd -1 before checking the fd; native requires EBADF). x86 execution is EMULATED; native x86 remains NOT_RUN. An emitter mutant (xcc GT emitted as GE) is caught: 6622 FAIL against 0 on the unmutated compiler. Draft PR: https://github.com/aien-dev/omega-mv/pull/968

Sign in to comment