Skip to content

CodeCache: Support targeting WOW64/ARM64EC in FEXOfflineCompiler#5546

Merged
Sonicadvance1 merged 2 commits into
FEX-Emu:mainfrom
neobrain:feature_woa_fexofflinecompiler
Jun 17, 2026
Merged

CodeCache: Support targeting WOW64/ARM64EC in FEXOfflineCompiler#5546
Sonicadvance1 merged 2 commits into
FEX-Emu:mainfrom
neobrain:feature_woa_fexofflinecompiler

Conversation

@neobrain

@neobrain neobrain commented Jun 3, 2026

Copy link
Copy Markdown
Member

Alternative to #5502 (largely reusing Billy's implementation).

This makes the existing FEXOfflineCompiler usable as a PE executable that will generate FEX code caches for WOW64/ARM64EC binaries. In combination with other upcoming patches, this has been end-to-end-tested and verified to produce functional caches that pass validation when loaded at runtime.

Using a single executable makes it easier to stick to consistent conventions across our target platforms, particularly with PE support for x86 Wine running under FEX eventually being added here too. We can still diverge where needed but will be more explicit about it.

@neobrain neobrain force-pushed the feature_woa_fexofflinecompiler branch from da35bb1 to ba74dd2 Compare June 3, 2026 16:48
@Sonicadvance1

Copy link
Copy Markdown
Member

Needs a rebase.

bylaws and others added 2 commits June 16, 2026 17:30
Implements an offline JIT compiler backend that compiles x86 code blocks
from a given code map into an ARM64 code cache on Windows. Separate
binaries are built for WOW64 (32-bit) and ARM64EC (64-bit) targets.

NOTE: This patch originally added a separate binary; instead the new
      functionality is added to the existing FEXOfflineCompiler and will
      be properly integrated in the next patches.
@neobrain neobrain force-pushed the feature_woa_fexofflinecompiler branch from ba74dd2 to 6cb73ad Compare June 16, 2026 15:34
@Sonicadvance1 Sonicadvance1 merged commit 08ed4fb into FEX-Emu:main Jun 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants