summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2024-09-27 15:29:57 +0000
committer Elliott Hughes <enh@google.com> 2024-09-27 15:29:57 +0000
commite9c49d5f272b83cc90494cb0d9d2147edb7c5039 (patch)
treea35c8bce9494450d09250049b3c9e7b7f6ad9785
parentaf64ca93220b96cabd94a8b62b7aa5a83e698321 (diff)
Remove obsolete 'neon' feature.
arm32 has had neon for years now, and the last explicit references to this have been removed. Change-Id: Ia3f9f8c6ba906d34e43c9c39ab01e1b96d164cf4
-rw-r--r--android/arch_list.go14
-rw-r--r--bazel/configurability.go4
2 files changed, 1 insertions, 17 deletions
diff --git a/android/arch_list.go b/android/arch_list.go
index f4409a918..5b3883d19 100644
--- a/android/arch_list.go
+++ b/android/arch_list.go
@@ -109,9 +109,6 @@ var cpuVariants = map[ArchType][]string{
}
var archFeatures = map[ArchType][]string{
- Arm: {
- "neon",
- },
Arm64: {
"dotprod",
},
@@ -141,17 +138,6 @@ var archFeatures = map[ArchType][]string{
}
var androidArchFeatureMap = map[ArchType]map[string][]string{
- Arm: {
- "armv7-a-neon": {
- "neon",
- },
- "armv8-a": {
- "neon",
- },
- "armv8-2a": {
- "neon",
- },
- },
Arm64: {
"armv8-2a-dotprod": {
"dotprod",
diff --git a/bazel/configurability.go b/bazel/configurability.go
index 2c9a5364a..3a65614da 100644
--- a/bazel/configurability.go
+++ b/bazel/configurability.go
@@ -100,9 +100,7 @@ func createPlatformArchMap() map[string]string {
// Copy of archFeatures from android/arch_list.go because the bazel
// package can't access the android package
archFeatures := map[string][]string{
- "arm": {
- "neon",
- },
+ "arm": {},
"arm64": {
"dotprod",
},