Formal semanticsmodels x86-64
ACL2 x86 ISA model (x86isa)
Also known as x86isa, X86ISA
An executable model of x86-64 machine code in the ACL2 theorem prover, from UT Austin. It can run programs, including a lightly modified Linux, and is used to prove properties of x86 machine code.
Stage 0 · Mechanized Written in ACL2 Open source · BSD-3-Clause ACL2 8.7 (community books) · 8 months ago
What it covers
- Models
- x86-64, Follows the Intel Software Developer's Manual, cross-checked with AMD manuals; no single SDM revision is named (opcode-table comments cite the May 2018 edition).
- Fragment
- IA-32e mode (64-bit and compatibility sub-modes) and 32-bit protected mode. Two views: an application-level view with flat linear memory and models of a few system calls, and a system-level view with paging, segmentation and partial models of system instructions. Many general-purpose and SSE instructions are modeled; x87 arithmetic, most AVX and all AVX-512 instructions are not. The generated implemented-opcodes list in the manual gives the exact set.
- Written in
- ACL2
- Usable in
- ACL2
- Validation
- According to the manual, an earlier version was validated by co-simulation against real processors using tools internal to Centaur Technology; that setup "was lost to history". Current open tools compare the model with real hardware: a KVM-based tool used while getting Linux to boot (described as rough) and the asmtest framework, which runs small programs on the model and on hardware and compares results. We found no published pass or fail counts.
- Maintained by
- ACL2 community (per the manual, as of 2025), Original authors Shilpi Goel, Warren A. Hunt Jr. and Matt Kaufmann (UT Austin)
Stage
Computed from the evidence below; see the criteria. MechanizedMechanized. Written in a form a computer can check, rather than on paper. means a computer can check the definition.
- Met: Can be executed or tested The model executes programs and runs a slightly modified Linux. evidence
- Unknown: Published results against conformance tests or real implementations Open differential-testing tools against real hardware exist (asmtest, KVM-based checks), and earlier papers describe co-simulation, but we found no published, reproducible results for the current model. evidence
- Not met: Adopted by the language or ISA owner, or covers the full current version and tracks new ones Adopted by the owner: no; full coverage: no; tracks new versions: no. We found no statement from Intel or AMD adopting or endorsing the model. (Intel Corporation holds copyright on some 2024 files.) Many opcodes are unimplemented, including x87 arithmetic and AVX-512. No stated policy for following new SDM revisions.
Coverage
Which parts of x86-64 the model defines.
ISA-level features
| Feature | Support | Notes |
|---|---|---|
| User-level instructions The ordinary integer, memory and branch instructions programs use. | PartialPartial.Most general-purpose instructions are modeled, with documented gaps (for example INT, INTO and some far control transfers). By our count of the opcode table (machine/inst-listing.lisp, commit 3729299), 705 of 1,104 legacy-encoded entries have a semantic function. Source | Most general-purpose instructions are modeled, with documented gaps (for example INT, INTO and some far control transfers). By our count of the opcode table (machine/inst-listing.lisp, commit 3729299), 705 of 1,104 legacy-encoded entries have a semantic function. source |
| Floating-point instructions Scalar floating-point instructions. | PartialPartial.SSE/SSE2-style scalar and packed floating point is modeled. x87 floating-point arithmetic is not (0 of 129 x87 opcode entries implemented, our count). Source | SSE/SSE2-style scalar and packed floating point is modeled. x87 floating-point arithmetic is not (0 of 129 x87 opcode entries implemented, our count). source |
| Vector / SIMD instructions Vector and SIMD extensions. | PartialPartial.Many MMX/SSE integer and floating-point instructions are modeled. By our count, 97 of 745 VEX-encoded (AVX/AVX2) entries and none of the 1,374 EVEX-encoded (AVX-512) entries are implemented. Source | Many MMX/SSE integer and floating-point instructions are modeled. By our count, 97 of 745 VEX-encoded (AVX/AVX2) entries and none of the 1,374 EVEX-encoded (AVX-512) entries are implemented. source |
| Privileged mode Privilege levels, control registers, traps and exceptions. | PartialPartial.The system-level view models supervisor state, paging-related faults and partial system instructions (for example LLDT, LGDT). The manual's to-do list says most exceptions other than page faults are still unhandled. Source | The system-level view models supervisor state, paging-related faults and partial system instructions (for example LLDT, LGDT). The manual's to-do list says most exceptions other than page faults are still unhandled. source |
| Virtual memory Page tables and address translation. | PartialPartial.IA-32e paging and segmentation are modeled in the system-level view (52-bit physical addresses). We found no statement about other paging modes. Source | IA-32e paging and segmentation are modeled in the system-level view (52-bit physical addresses). We found no statement about other paging modes. source |
| Concurrency memory model The multiprocessor memory model (for example x86-TSO, Arm, RVWMO). | UnknownUnknown.We found no multiprocessor or x86-TSO support in the documentation. | We found no multiprocessor or x86-TSO support in the documentation. |
Used by
Toolchains in this index whose proofs are about this model.
No toolchain in the index refers to it yet.
Sources
- x86isa manual source (introduction, model-validation, to-do) · accessed 26 Nov 2026
- x86isa opcode table · accessed 26 Nov 2026
- KVM-based validation tool documentation · accessed 26 Nov 2026
- asmtest differential testing framework · accessed 26 Nov 2026
- Running Linux on x86isa · accessed 26 Nov 2026
- x86isa commits (latest a3ad69d, 2026-11-07) · accessed 26 Nov 2026