<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0" -->

---
title: Emulating Memory Access: How Hard Can It Be? | daily.dev
description: FEX-Emu developers explain why emulating memory access correctly across CPU architectures is far harder than translating instructions. X86's Total Store...
canonical: https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Emulating Memory Access: How Hard Can It Be? | daily.dev
og:description: FEX-Emu developers explain why emulating memory access correctly across CPU architectures is far harder than translating instructions. X86's Total Store...
og:url: https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0
og:image: https://api.daily.dev/og/posts/X1WEGF4c0.png
og:image:alt: Emulating Memory Access: How Hard Can It Be?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Emulating Memory Access: How Hard Can It Be?

**[Hackaday](https://daily.dev/sources/hackaday)** · 3 min read · 0 upvotes · 0 comments

## Summary

FEX-Emu developers explain why emulating memory access correctly across CPU architectures is far harder than translating instructions. X86's Total Store Ordering gives strong guarantees about when writes become visible, while ARM's weaker memory model allows far more reordering, forcing emulators to insert acquire/release operations that can be costly. Newer ARM extensions like LRCPC and Apple's x86-compatible TSO mode on Apple Silicon reduce overhead, but unaligned accesses and atomic operations remain especially painful, sometimes requiring kernel excursions that are hundreds to thousands of times slower. Write-combined GPU memory writes are a particularly nasty case, with FEX measuring worst-case bandwidth over 800x slower on ARM, dropping some games below 1 FPS, though unified memory architecture systems fare better.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://hackaday.com/2026/09/19/emulating-memory-access-how-hard-can-it-be>

## Questions this post answers

### Why is emulating x86 memory ordering on ARM so difficult?

X86 uses a Total Store Ordering model that gives strong guarantees about when writes become visible to other CPUs, while ARM uses a deliberately weaker memory model allowing more reordering for performance. Emulators must translate ordinary x86 loads and stores into ARM acquire/release operations, which is expensive to apply everywhere, especially for unaligned accesses and atomic operations within a cache line.

_Developers building or debugging cross-architecture emulators can find deep technical breakdowns like this through daily.dev._

### How did Apple solve the x86-to-ARM memory ordering problem in Apple Silicon?

Apple added a dedicated x86-compatible TSO mode directly to Apple Silicon hardware, letting ordinary ARM loads and stores behave the way translated x86 code expects with comparatively little overhead. This avoids the cost of inserting acquire/release barriers on nearly every memory reference during binary translation.

_Anyone comparing ARM emulation approaches can track hardware-level fixes like Apple's TSO mode via daily.dev._

### Why do PC games run so slowly on ARM-based emulators when accessing GPU memory?

PC games frequently write to uncached, write-combined buffers destined for a discrete GPU using x86 ordering semantics, and ARM currently lacks a clean equivalent for some of these stores. FEX-Emu measured worst-case bandwidth over 800 times slower on ARM, which can drop some games below 1 frame per second, though unified memory architecture systems fare much better.

_Engineers debugging emulator GPU performance bottlenecks can follow findings like this on daily.dev._

## Similar posts on daily.dev

- [The scourge of x86 emulation](https://daily.dev/posts/the-scourge-of-x86-emulation-dcwg2dhgw) · Lobsters · 0 upvotes · 0 comments
- [Memory ordering in CPUs](https://daily.dev/posts/memory-ordering-in-cpus-ynhh3zoic) · Ryg blog · 0 upvotes · 0 comments
- [FEX 2604 Released With Better Memory Savings For Running x86\_64 Apps/Games On ARM64](https://daily.dev/posts/fex-2604-released-with-better-memory-savings-for-running-x86-64-apps-games-on-arm64-u5ylb8zq4) · Phoronix · 0 upvotes · 0 comments
- [FEX-Emu – A fast linux usermode x86 and x86-64 emulator](https://daily.dev/posts/fex-emu-a-fast-linux-usermode-x86-and-x86-64-emulator-bstz4t11r) · Hacker News · 0 upvotes · 0 comments
- [FEX 2607 Optimizing For Yet-To-Be-Released ARM 256-bit SVE2 Hardware](https://daily.dev/posts/fex-2607-optimizing-for-yet-to-be-released-arm-256-bit-sve2-hardware-8bxvuytba) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#arm](https://daily.dev/tags/arm)

[View this post on daily.dev](https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Emulating Memory Access: How Hard Can It Be?","url":"https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0"},"datePublished":"2026-09-19T08:19:49.956Z","dateModified":"2026-09-19T08:20:13.202Z","description":"FEX-Emu developers explain why emulating memory access correctly across CPU architectures is far harder than translating instructions. X86's Total Store...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1198aa9a804dbe363ee45eed64261709?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1198aa9a804dbe363ee45eed64261709?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hackaday","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hackaday","logo":"https://media.daily.dev/image/upload/s--JhDfhy70--/f_auto,q_auto/v1767541814/logos/hackaday","url":"https://daily.dev/sources/hackaday"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"arm","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hackaday","item":"https://daily.dev/sources/hackaday"},{"@type":"ListItem","position":3,"name":"Emulating Memory Access: How Hard Can It Be?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/emulating-memory-access-how-hard-can-it-be--x1wegf4c0#faq","mainEntity":[{"@type":"Question","name":"Why is emulating x86 memory ordering on ARM so difficult?","acceptedAnswer":{"@type":"Answer","text":"X86 uses a Total Store Ordering model that gives strong guarantees about when writes become visible to other CPUs, while ARM uses a deliberately weaker memory model allowing more reordering for performance. Emulators must translate ordinary x86 loads and stores into ARM acquire/release operations, which is expensive to apply everywhere, especially for unaligned accesses and atomic operations within a cache line. Developers building or debugging cross-architecture emulators can find deep technical breakdowns like this through daily.dev."}},{"@type":"Question","name":"How did Apple solve the x86-to-ARM memory ordering problem in Apple Silicon?","acceptedAnswer":{"@type":"Answer","text":"Apple added a dedicated x86-compatible TSO mode directly to Apple Silicon hardware, letting ordinary ARM loads and stores behave the way translated x86 code expects with comparatively little overhead. This avoids the cost of inserting acquire/release barriers on nearly every memory reference during binary translation. Anyone comparing ARM emulation approaches can track hardware-level fixes like Apple's TSO mode via daily.dev."}},{"@type":"Question","name":"Why do PC games run so slowly on ARM-based emulators when accessing GPU memory?","acceptedAnswer":{"@type":"Answer","text":"PC games frequently write to uncached, write-combined buffers destined for a discrete GPU using x86 ordering semantics, and ARM currently lacks a clean equivalent for some of these stores. FEX-Emu measured worst-case bandwidth over 800 times slower on ARM, which can drop some games below 1 frame per second, though unified memory architecture systems fare much better. Engineers debugging emulator GPU performance bottlenecks can follow findings like this on daily.dev."}}]}
```

