1 page.title=CPUs and Architectures 2 @jd:body 3 4 <p>When you're working with native code, hardware matters. The NDK lets you ensure you're compiling 5 for the right architectures and CPUs by giving you a variety of ABIs from which 6 to choose.</p> 7 8 <p>This section begins by explaining how to target specific 9 <a href="{@docRoot}ndk/guides/abis.html">architectures and CPUs</a>. It then 10 provides information you need to know when targeting the 11 <a href="{@docRoot}ndk/guides/abis.html">ARM</a> 12 family of CPUs and architectures. Next, it provides information about the other CPUs and 13 architectures that it supports: <a href="{@docRoot}ndk/guides/cpu-arm-neon.html">NEON</a>, x86 14 (<a href="{@docRoot}ndk/guides/x86.html">32-bit</a> and 15 <a href="{@docRoot}ndk/guides/x86-64.html">64-bit</a>), and 16 <a href="{@docRoot}ndk/guides/mips.html">MIPS</a>. Finally, it explains how to use the 17 <a href="{@docRoot}ndk/guides/cpu-features.html">{@code cpufeatures}</a> 18 library, which your app can use to query a given CPU and architecture about the optional 19 features they support.</p>