FEX 2612 Tagged

It’s the end of the year and we have a new release to gift you. A lot of random bug hunting this month so let’s see what changed!

Bunches of random JIT stuff

Big news on the JIT front this month. This month we added support for the AVX-IFMA, AVX-VNNI-INT8, and AVX-VNNI-INT16 extensions. A caveat of the IFMA instruction is that it onlt works on setups with SVE because it would be too costly to emulate otherwise. While these extensions aren’t in wide use today, in ten years time when they end up getting used more heavily we will already be done with the work. Thanks to a new contributor for implementing these for us!

Additional JIT changes this month

  • SHA1 peephole optimization for a near 2x perf uplift
  • Fixes for CPUID core count
  • AVX support for wow64
  • Use software fallback for RDSEED on Snapdragon X2 Elite hardware
  • Fixes an infinite stack growth bug
  • Implement fault-free synchronous faults for Wow64
    • Improves performance for anti-tamper 32-bit games
  • Fix incorrect zero-extend on wow64 syscalls
  • Optimize PSHUFD for a common compiler idiom
  • Stop tracking reserve-only allocations on wow64
    • Was causing too much tracking overhead for some games
  • Use new ARM64ec AVX support in Wine
    • Downstream patch to wine removed, update your forks
  • Remove one instruction in SVE fdiv
  • Various edge-case instruction decode bugs that anti-tamper was triggering

Fix FEXRootFSFetcher config path

This was actually a bug for a while that someone brought up a while ago but wasn’t ever diagnosed. Turns out on a fresh system when installing FEX for the first time when we invoked the FEXRootFSFetcher tool to download the rootfs, it would download the image to an XDG directory but when it went to set the config option, the config paths weren’t yet setup. This was an oversight coming from a non-XDG setup where everything is in a single combined directory and they would always exist at that point.

This would show up as during first run FEX would complain about a missing rootfs. Now that this is fixed, XDG specification users can setup without additional troublesuiting.

Expose ARM ID registers through CPUID

A new fun feature for our developers is we are exposing the ARM64 identification registers through CPUID. We already poke through some information and we’re extending this. Basically we want to have some of our x86 unit tests only run with certain ARM64 host features but it could be useful elsewhere. Read our official documentation to understand what we’re exposing. Now that this is part of the CPUID ABI, we’re be maintaining it going forward.

Stop consuming 8MB of 32-bit guest space for Linux

When running a 32-bit application FEX needs to reserve up to 256TB of virtual address space to ensure the guest application doesn’t use memory that it isn’t supposed to. When we set this up a few years ago we left a bug where we were consuming some guest address space. It was relatively small at only 8MB but it was a known issue that we forgot about over time. We finally went back to it this month and made sure that the application gets its rightful 8MB of space, we no longer consume it.


See the 2612 Release Notes or the detailed change log in Github.

Written on December 4, 2026