aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-05-12 11:12:55 +0000
committerNarayan Kamath <narayan@google.com>2014-05-12 11:12:55 +0000
commit85b60dd97d351766fe1023e9eba23df23644953d (patch)
treef76927331a8ea211f37334f6337cc8086c28d501 /docs
parent2016d8782c69b0ac6729b47884d874a606ebba52 (diff)
downloadndk-85b60dd97d351766fe1023e9eba23df23644953d.tar.gz
Revert "cpu-features: Support 32-bit ARM binaries running on an ARM64 kernel."
This reverts commit 2016d8782c69b0ac6729b47884d874a606ebba52. Change-Id: I4cdfa6dcc39e5fdd14fc3287d6f44e09eaa910c7
Diffstat (limited to 'docs')
-rw-r--r--docs/text/CPU-FEATURES.text20
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: