From patchwork Wed Jun 28 23:15:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Wilson X-Patchwork-Id: 106582 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp455217qge; Wed, 28 Jun 2017 16:16:17 -0700 (PDT) X-Received: by 10.99.107.136 with SMTP id g130mr13070858pgc.3.1498691777498; Wed, 28 Jun 2017 16:16:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498691777; cv=none; d=google.com; s=arc-20160816; b=MBXNmraTepfaAi46UWe2hNAI8bSebHYial2dV9BRfn3gmq9pTzBO7s2FD8CBvg26J7 VgqoJlK5CExYVZ3xr1Z8uetUVqrs0YV4DU3jCXp7TIAeH1zpL6NcfOWsjyUlGOrqSu5M 2kN9QD86tASqQrIjM00Js7Qsto1tcsyeiGXmLFSXV4Bc6E+AMJ+noD8OmFxKDquOoWZB wwKLZVjgfS6u4Nzt0IQ9GOMcquXHp6gIJ8hcPSSjTJs8liyCdIafH4Z1T6zOOmt27AXN FUSSW0zgpB9r+U5AwR2o11cHRbkFfWA3ekkeu8vgp2A++JW+ROtdHLKzBjO60I6i4Ukc s7IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-subscribe:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=G9ScGZL/jNrsS5nTVDRCoCIkRU2qKopfKZ2zvEOlQpM=; b=g8Ls2PELOphy1aS7ydzFQUZrhGhXRfqF2WWtZltGT4YISxZIGDaTJGBvUint2nIc8x HUE5SmGZ3nbUaSELAlFZuvv+Yk5LuoadRpEIt3/84lVj9lkQN02Ay0VhjDcp3geD9Czn abo+nugwsKMBSiVBN+xw5KsXaDhWIF4rC0ZwGv2u7wPI3yl2DsfFu8xv4xbs6Mz5fuU0 Br8h9mZncFFivlxFNwoWWyCOMlyywbghfpX/PFRzrcjEesNZ2LvQuLTC6u2D9kwqSsJ8 OBE6Re6x7IoQLpKIs8IC3AFnI+Q4t7NQXuylVDBSZssjFGh9WP87TUJ1N7v6BdU2yngT kJ0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.b=qcId+F83; spf=pass (google.com: domain of binutils-return-97452-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-97452-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id x74si2442231pfe.463.2017.06.28.16.16.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Jun 2017 16:16:17 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-97452-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.b=qcId+F83; spf=pass (google.com: domain of binutils-return-97452-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-97452-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=LHGq878ymJJHjo85Dv6c5/nN/Cj29erB4Tf1mUqQSvdp5hh2dxa8F G78GY9cPSsZ8IgDNOhFYQi2h3dhP7xF2H6KZ103pedTQN5qEvK+bqvJNd0pbzy6J BCcfdWt6rMbJHt1EzDiizZAEhUWFFUHbAnQxeHMjgjClT+b0yywW9Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=kvS6NksOKmdedApZjl1dn6vUYMQ=; b=qcId+F83KMcyhqTUw0X90oQysGQz kRCe+LlsIe3BntX+OPTTftMSEzwKYBkgIzF5KXsZUbht+P40woP15kUO+axCFrmW u0rRCGKDIjngvNFOKDTbjPEhzP1o+vKsRrMZlB0ORxJOaqdtqg4j3TvxLoRIB/1r /gBc/OnaZi02RLc= Received: (qmail 43352 invoked by alias); 28 Jun 2017 23:15:51 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Delivered-To: mailing list binutils@sourceware.org Received: (qmail 43218 invoked by uid 89); 28 Jun 2017 23:15:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-oi0-f48.google.com Received: from mail-oi0-f48.google.com (HELO mail-oi0-f48.google.com) (209.85.218.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Jun 2017 23:15:38 +0000 Received: by mail-oi0-f48.google.com with SMTP id p66so53795376oia.0 for ; Wed, 28 Jun 2017 16:15:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=G9ScGZL/jNrsS5nTVDRCoCIkRU2qKopfKZ2zvEOlQpM=; b=Zm046x6hprNZog4ZnxR1mVlsTxS/vKzQfrACqNI6/hbKJsXTWtGMB1cJ264Aqf+0Us Nl9rhfC6JfmlS4eV8B1moR15lFgE7e+oP+jBJl3kZzHwo+WCOrglt1vwBXgKsBVoT92J ZUI2jn1A3AfVpxoZ0lLEHFDqKmN+8ZClDaIdT3BKDaevxV3okYJ2Vuf9Bntr0Tx/a6u9 fXdJTiM+37lxoyu6aPsrcCBGseV5z0OEEY76YBOQ5F0RqhHWEPl8v8Lvy5dirLhpwBl9 SaZ79+xYer6wsMy59LiDOAqvJ9dLufwxeOgxUF6XhHqIYzaZWTvXwTVdMzBue9qCWT7b +lZg== X-Gm-Message-State: AIVw111uFQbOX4dVmEwWiAME78oVydsdc9KOBfE/ecpTyxRueXDm9GTJ aGvp1q4lZ0lyiwE3H41Nmz7S X-Received: by 10.202.220.67 with SMTP id t64mr738080oig.111.1498691726366; Wed, 28 Jun 2017 16:15:26 -0700 (PDT) Received: from r3-a15.aus-colo ([64.28.108.36]) by smtp.gmail.com with ESMTPSA id w189sm3419494oib.19.2017.06.28.16.15.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jun 2017 16:15:25 -0700 (PDT) From: Jim Wilson To: binutils@sourceware.org Cc: Jim Wilson Subject: [PATCH] Add RDMA support for falkot/qdf24xx. Date: Wed, 28 Jun 2017 18:15:17 -0500 Message-Id: <1498691717-31084-1-git-send-email-jim.wilson@linaro.org> 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 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),