Introduce new Arm64 arch variant with dot product features

In order to rely on `-march`/`-mcpu` compiler flags for feature
detection, we introduce a new arch variant based on armv8.2 with the
addition of dot product features.

Test: test-art-target on Pixel 4.

Change-Id: I4d97db6129e2cd718a2b21008d36ec767739f925
This commit is contained in:
Raphael Gault
2020-06-18 09:56:53 +00:00
parent 81a0b66d93
commit 70b96b0d64
3 changed files with 19 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ var (
Arm64ArchVariantRustFlags = map[string][]string{
"armv8-a": []string{},
"armv8-2a": []string{},
"armv8-2a-dotprod": []string{},
}
)