diff options
author | David 'Digit' Turner <digit@google.com> | 2014-05-12 16:29:34 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2014-05-12 16:29:34 +0200 |
commit | baa64155d31c9debf13ae1c6c96e3a6aa07b4238 (patch) | |
tree | f76927331a8ea211f37334f6337cc8086c28d501 /docs | |
parent | 0f0cd2a5013091111ff8489cb3bc68e84eacbf17 (diff) | |
download | ndk-baa64155d31c9debf13ae1c6c96e3a6aa07b4238.tar.gz |
Revert "Revert "Revert "cpu-features: Support 32-bit ARM binaries running on an ARM64 kernel."""
There is something fishy in the kingdom of Denmark. Investigating...
This reverts commit 4933fadc341c3452d4d2360e890697c37dcfeaa5.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/text/CPU-FEATURES.text | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/docs/text/CPU-FEATURES.text b/docs/text/CPU-FEATURES.text index 4ec6d20f7..3d6b2adca 100644 --- a/docs/text/CPU-FEATURES.text +++ b/docs/text/CPU-FEATURES.text @@ -43,8 +43,8 @@ Two functions are provided for now: AndroidCpuFamily android_getCpuFamily(); -Returns a value matching the CPU family/architecture supported by the -current process as an enum. Currently, the following families are defined: +Returns the target device's CPU Family as an enum. +Currently, the following families are defined: * `ANDROID_CPU_FAMILY_ARM` @@ -52,15 +52,6 @@ current process as an enum. Currently, the following families are defined: * `ANDROID_CPU_FAMILY_MIPS` - * `ANDROID_CPU_FAMILY_ARM64` - - * `ANDROID_CPU_FAMILY_X86_64` - - * `ANDROID_CPU_FAMILY_MIPS64` - -Note that when running a 32-bit executable on a 64-bit system, this function -will return the 32-bit family value only. - Secondly: uint64_t android_getCpuFeatures(); @@ -69,8 +60,7 @@ Returns the set of optional features supported by the device's CPU. The result is a set of bit-flags, each corresponding to one CPU Family-specific optional feature. -Currently, only the following flags are defined, for the 32-bit ARM CPU -Family: +Currently, only the following flags are defined, for the ARM CPU Family: * `ANDROID_CPU_ARM_FEATURE_VFPv2` > Indicates that the device's CPU supports VFPv2 instruction set. @@ -132,7 +122,7 @@ Family: available since ARMv6. Together they provide atomic update on memory with the help of exclusive monitor. -And the following flags for the 32-bit x86 CPU Family: +And the following flags for the x86 CPU Family: * `ANDROID_CPU_X86_FEATURE_SSSE3` > Indicates that the device's CPU supports the SSSE3 instruction @@ -146,8 +136,6 @@ And the following flags for the 32-bit x86 CPU Family: > Indicates that the device's CPU supports the MOVBE instruction. This one is specific to some Intel IA-32 CPUs, like the Atom. -Other CPU families do not have extensions listed at the moment, which -means that android_getCpuFeatures() will return 0 for them. The following function is also defined to return the max number of CPU cores on the target device: |