This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][GAS][AArch64] Enable dot product support by default to cores that support it.
- From: Tamar Christina <tamar dot christina at arm dot com>
- To: binutils at sourceware dot org
- Cc: nd at arm dot com, Richard dot Earnshaw at arm dot com, marcus dot shawcroft at arm dot com
- Date: Thu, 31 Aug 2017 16:39:48 +0100
- Subject: [PATCH][GAS][AArch64] Enable dot product support by default to cores that support it.
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tamar dot Christina at arm dot com;
- Nodisclaimer: True
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Hi All,
This patch enabled Dot Product support by default for the
Cortex-A55 and Cortex-A57 which have hardware support
for these instructions.
Checked with check-gas and no regressions.
Ok for Trunk?
Ps. I do not have commit access so if OK can someone apply for me?
Thanks,
Tamar
gas/
2017-08-31 Tamar Christina <tamar.christina@arm.com>
* config/tc-aarch64.c (aarch64_cpus): Enable DOTPROD.
--
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 6a23f21b6c0fa0370ca5f329f98df86c1d3dd8b8..f08e24eb093066bca446e900bc1a88853919e2a5 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8403,10 +8403,10 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"cortex-a73", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "Cortex-A73"},
{"cortex-a55", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
- AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16),
+ AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
"Cortex-A55"},
{"cortex-a75", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
- AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16),
+ AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
"Cortex-A75"},
{"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),