mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 22:50:44 +00:00
Both engines refused the three fences as illegal instructions, and no document said what ordering guest memory accesses have. - instructions.toml, x86_table.rs (generated): the register forms of 0F AE digits 5, 6 and 7. The memory forms stay undeclared. - x86_exec.rs: a fence changes nothing. Each engine runs one guest instruction at a time on one host thread and completes its loads and stores before the next, so accesses are already totally ordered. - docs/cpu/instruction-registry.md: states that ordering, why the fences are no-ops under it, and that it holds only while guest threads do not run on several host threads. - Tests: five single-thread known-answer cases, three assembled fixtures, two rejected memory forms, and MASKMOVDQU as the refused SSE2 instruction in cpu_features.rs now that MFENCE runs. No multi-thread behaviour is established. Signed-off-by: sahib453 <117431595+sahib453@users.noreply.github.com>