Skip to content

eac-2610.4

Choose a tag to compare

@StonkGuy StonkGuy released this 30 Oct 02:12
b608a47

FEX-2610 (14c9268) + EAC fidelity patches as in eac-2610.3, plus the PRs below (new since eac-2610.3, 39107dd).

New since eac-2610.3:

PR change test
#27 IRETQ with RFLAGS.NT = 1 raises #GP like a real CPU (THE FINALS / ARC Raiders protection probe; lead from zzoko's CrossOver work) eac-tests/iret-nt, eac-tests/wine-ntflag
#28 DiskCache: a format version of the fork's own (0x8000 | rev << 8 | upstream), so builds never reuse another build's cached blocks InstCountCI
#29 MOV to FS/GS in 64-bit mode loads like Linux (null selectors clear the base; others #GP with the selector) eac-tests/seg-load64
#30 An instruction split across a page boundary reports its fetch fault at the boundary eac-tests/insn-straddle
#31 #GP(0) for instructions over 15 bytes and for XSETBV (THE FINALS' 20-s probe was "unexpected trap 0") eac-tests/insn-toolong
#32 Fetch fault address only at a range end within the instruction (a race with code pages decrypted on execute faults crashed Unreal) eac-tests/insn-straddle
#33 eac-tests: sigreturn-jit-regs (by yungtry) eac-tests/sigreturn-jit-regs
#34 Guest code is read fault-safely while compiling (THE FINALS in-match freeze: a decoder read-ahead fault leaked a CodeInvalidationMutex hold) eac-tests/decode-race
#36 Backport of upstream 68f4c5f: two-byte 0F B8/BC/BD decode with F2/F3/66 in any order (+ upstream test) ASM FEX_bugs/two_byte_0xbx
#37 SMC: a faulting store restarts its instruction only when it can reach the running block (Hell Let Loose EAC 210 #2; mid-instruction state reused CF / popped twice; reported with root cause in #35) eac-tests/smc-restart-state

Checked: ASM 7551/7551, InstCountCI 108/108, eac-tests run-all as expected (GitHub arm64 runner; cpuid-fault, ptrace-sigbus,
syscall-efault are runner-environment results, identical before and after), native x86-64 oracle for the new tests.
Live on this commit's code (2026-10-30, macOS VM, SteamOS guest): VRChat 2/2 runs with EAC "AntiCheat Session Begin: Success", in world 300 s each; THE FINALS boots to its menu and plays (DXMT path).
DiskCache format version 0x841E (fork revision 4, from #36; #37 does not change code generation).