使用原生程式碼時,硬體很重要。NDK 提供各式各樣的 ABI 供您選擇,讓您可確保編譯的是正確的架構和 CPU。
本節說明如何在建構時指定特定架構和 CPU、如何使用 ARM Neon 擴充功能,以及如何運用 CPU 功能程式庫,讓您可在執行時查詢選用功能。
使用原生程式碼時,硬體很重要。NDK 提供各式各樣的 ABI 供您選擇,讓您可確保編譯的是正確的架構和 CPU。
本節說明如何在建構時指定特定架構和 CPU、如何使用 ARM Neon 擴充功能,以及如何運用 CPU 功能程式庫,讓您可在執行時查詢選用功能。
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-05-04 UTC.