Researcher reverse-engineers Apple GPU ISA, ships docs, assembler and disassembler

Promptmethus · x · 2026-12-06

Apple has never published the ISA (AGX ISA) of its GPUs, exposing developers only to the high-level Metal framework. Security researcher Dougall Johnson reverse-engineered the G13 architecture (M1/A14) down to its register model, variable-length instruction encoding and execution semantics, publishing a comprehensive architecture reference plus a Python assembler, disassembler and instruction emulator.

The project lives at github.com/dougallj/applegpu (946 stars, BSD-3) and includes a Compiler Explorer workflow for compiling, extracting and disassembling Metal shaders — a rare public resource for low-level Apple Silicon optimization.

Original post →

More from Infra

Infra channel →