diff mbox

Add RDMA support for falkot/qdf24xx.

Message ID 1498691717-31084-1-git-send-email-jim.wilson@linaro.org
State New
Headers show

Commit Message

Jim Wilson June 28, 2017, 11:15 p.m. UTC
Falkor is an armv8-a part, but also includes support for the RDMA extension
from the armv8.1-a architecture.  Falkor doesn't include any other part of
arm v8.1-a, so we just need to enable the RDMA support only.

Testing with a build and make check on an aarch64 machine, and manually
verifying that -mcpu=falkor now accepts the sqrdmlah instruction.

OK?

Jim

    	gas/
    	* config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to
    	falkor and qdf24xx entries.
---
 gas/config/tc-aarch64.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.7.4

Comments

Nick Clifton June 29, 2017, 10:30 a.m. UTC | #1
Hi Jim,

>      	gas/

>      	* config/tc-arch64.c (aarch64_cpus): Add AARCH64_FEATURE_RDMA to

>      	falkor and qdf24xx entries.


Approved - please apply.

Cheers
  Nick
diff mbox

Patch

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index f095ab9..cdbe1ef 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8407,10 +8407,12 @@  static const struct aarch64_cpu_option_table aarch64_cpus[] = {
 				 AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
 				"Samsung Exynos M1"},
   {"falkor", AARCH64_FEATURE (AARCH64_ARCH_V8,
-			      AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
+			      AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO
+			      | AARCH64_FEATURE_RDMA),
    "Qualcomm Falkor"},
   {"qdf24xx", AARCH64_FEATURE (AARCH64_ARCH_V8,
-			       AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
+			       AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO
+			       | AARCH64_FEATURE_RDMA),
    "Qualcomm QDF24XX"},
   {"thunderx", AARCH64_FEATURE (AARCH64_ARCH_V8,
 				AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),