Skip to content
HN On Hacker News ↗

Apple Neural Engine: Architecture, Programming, and Performance

▲ 234 points 29 comments by Jimmc414 1w ago HN discussion ↗

Pangram verdict · v3.3

We believe that this document is primarily AI-generated with some human-written content

68 %

AI likelihood · overall

AI
17% human-written 83% AI-generated
SEGMENTS · HUMAN 1 of 2
SEGMENTS · AI 1 of 2
WORD COUNT 247
PEAK AI % 78% · §1
Analyzed
Jun 29
backend: pangram/v3.3
Segments scanned
2 windows
avg 124 words each
Distribution
17 / 83%
human / AI fraction
Verdict
AI
Pangram v3.3

Article text · 247 words · 2 segments analyzed

Human AI-generated
§1 AI · 78%

View PDF Abstract:The Apple Neural Engine (ANE) is the fixed-function matrix accelerator that has shipped in Apple systems-on-chip since the A11-class iPhone and iPad chips and the M1-class Mac chips, exposed to applications only through the Core ML model framework. This guide reports a reverse-engineered account of the engine, based on direct measurement on Apple silicon and static analysis of the private runtime, compiler, kernel driver, and firmware. It documents the datapath and the roofline that bound the engine's throughput and energy, the dispatch route that reaches it below Core ML, the compiler and on-disk program format, the weight-compression scheme, and the kernel driver, firmware, and command protocol beneath them. The account covers the A11 through A18 and M1 through M5 families, with per-chip target tables and an operation-by-device matrix; the direct measurements are on the M1 and M5. Claims are labeled as measured, decompile-derived, or predicted, and the methodology and open questions are recorded. The direct route is callable from ordinary user space but remains undocumented, unsupported, and version-fragile; it is intended for measurement, research, and on-device work, not for shipping software, where Core ML remains the supported path.

Comments: 302 pages, 12 figures. A reference for the Apple Neural Engine

Subjects: Hardware Architecture (cs.AR); Operating Systems (cs.OS); Performance (cs.PF) ACM classes: C.1.3; C.4

Cite as: arXiv:2606.22283 [cs.AR]   (or arXiv:2606.22283v1 [cs.

§2 Human · 21%

AR] for this version)   https://doi.org/10.48550/arXiv.2606.22283 arXiv-issued DOI via DataCite Submission history From: Spencer Bryngelson [view email] [v1] Sun, 21 Jun 2026 00:17:34 UTC (407 KB)