CPUs and Architectures

When you're working with native code, hardware matters. The NDK lets you ensure you're compiling for the right architectures and CPUs by giving you a variety of ABIs from which to choose.

This section begins by explaining how to target specific architectures and CPUs. It then provides information you need to know when targeting the ARM family of CPUs and architectures. Next, it provides information about the other CPUs and architectures that it supports: NEON, x86 (32-bit and 64-bit), and MIPS. Finally, it explains how to use the cpufeatures library, which your app can use to query a given CPU and architecture about the optional features they support.