From patchwork Fri Oct 27 12:48:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddhesh Poyarekar X-Patchwork-Id: 117320 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp731626qgn; Fri, 27 Oct 2017 05:49:35 -0700 (PDT) X-Google-Smtp-Source: ABhQp+R9iCh6LwNl9X24Tjuh1Ia/UQg/JLVHPvnClQA5owOYRMdEZIWk6TcUpdbe7NtUa6/oM1wA X-Received: by 10.101.85.4 with SMTP id f4mr240217pgr.10.1509108575066; Fri, 27 Oct 2017 05:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509108575; cv=none; d=google.com; s=arc-20160816; b=zCD8BGmq3NE9xBnJqNWWJ13En5Ea7cBWbmJRTJhP/nZWR2TbAN9SbzzPV4saqsOAwj T0/Gcf8p1appb1QFsXOOHdm45unRN5W8nuYdguvoj83P+6zR0I3iTOuOT4A1ENHaMdR7 wHnzs9QJflt0k30NAKXMawmt/ROxbyhgyajxR2Yeqjd7ukb8ZEQ0KZF+zMNUxk5YsUvf eV3YIlyQg9jfTqaSaf3btFwPIAl4Y5APqsTfDdh42dBvnSUtQfvtDZcuGKEDAZwluiZx bWPZY2gJJpKRLkR0qGDpQZs03aAC+o4fYPWGvGeFWnq31hDgDQy3LCv8bzkfFaeKwAta wazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to: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=rD0Zxd32eWAaeWepC24Wt84oo+4YgkGU33OwPAqoFCM=; b=YSlQ+GmdngB65do8Q5mDQrC7sELKVQGeRrsCy2kIPqBCJGQVlCDzs5V7JUgBn9fUoH Jk4OEVuuxyPjp+pyXvjNBcMpH5bznEBViBCm1iiI9nxnJeWVnpAeupmOQy5nIxiGsloR Wqlcbr3ncHitqMxzNU3X1yNqaqDtWUmJUYu6F1jTDeyR8HYo6RPtNgO9bTOhFwcZ/5hu txJXpqTpJVjgZaWJFtZApHV940PocaRYDBBoECyEMqS79cAWbvIgRsdIbXgIF4FqzQWF tjURrXZKXRG39hkNJDdwwHXS3/rMtnk38S2+P3cAvv1M9mht/j9AXqC3b/SQ4mVW11fk NWwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=RTScXvDL; spf=pass (google.com: domain of binutils-return-99021-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-99021-patch=linaro.org@sourceware.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id y1si4851901pgy.675.2017.10.27.05.49.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Oct 2017 05:49:35 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-99021-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.s=default header.b=RTScXvDL; spf=pass (google.com: domain of binutils-return-99021-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=binutils-return-99021-patch=linaro.org@sourceware.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:in-reply-to :references; q=dns; s=default; b=teFumEy7fkeIlemV2eg/vDiHqX4s12b Gge509KkwQxWa8fQLZHnjDKLGqan/bKW3UIwz6hwIBn4oTq0Q+oztQOua4lMvwzq r1pjJMCyuJr/fNOWvMTaAv6EPlQ7ixXOWGcORCSuSmK1CbRbzGSPQHsIUgjwVjlw 5rOtsSbVv7X4= 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:in-reply-to :references; s=default; bh=cKjYb7uXtzrv5jh12U3IDUdpQsA=; b=RTScX vDLdbgq9QvGckZvcfUd+kPQktdiz1OeQob85Wzk8OGSPXiBm6l28Hbx7JtXwj/Jq S5cKXHoUO8eagZH1Dj/qkvgX6Fa8C48Qvc5Jy1ZdKLhXchCnMEztMVbZ86KlRKoi tPO0P8hQjYX/NJ0IR8mFhenDCoX5mKNUMx+qxg= Received: (qmail 125384 invoked by alias); 27 Oct 2017 12:49:11 -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 125038 invoked by uid 89); 27 Oct 2017 12:49:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=Cavium, Hx-languages-length:1569, cavium X-HELO: homiemail-a52.g.dreamhost.com Received: from sub5.mail.dreamhost.com (HELO homiemail-a52.g.dreamhost.com) (208.113.200.129) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 27 Oct 2017 12:49:06 +0000 Received: from homiemail-a52.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTP id 8A11E6003E15; Fri, 27 Oct 2017 05:49:05 -0700 (PDT) Received: from devel.in.reserved-bit.com (unknown [202.189.238.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: siddhesh@gotplt.org) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTPSA id 723366003E14; Fri, 27 Oct 2017 05:49:04 -0700 (PDT) From: Siddhesh Poyarekar To: binutils@sourceware.org Cc: Siddhesh Poyarekar Subject: [PATCH 2/2] Add option for Qualcomm Saphira part Date: Fri, 27 Oct 2017 18:18:39 +0530 Message-Id: <1509108519-16813-2-git-send-email-siddhesh@gotplt.org> In-Reply-To: <1509108519-16813-1-git-send-email-siddhesh@gotplt.org> References: <1509108519-16813-1-git-send-email-siddhesh@gotplt.org> From: Siddhesh Poyarekar This adds an option for the Qualcomm saphira core, the corresponding gcc patch is here: https://gcc.gnu.org/ml/gcc-patches/2017-10/msg02055.html This was tested with an aarch64 build and make check and also by building and running SPEC2006. 2017-10-27 Siddhesh Poyarekar Jim Wilson gas/ * config/tc-aarch64.c (aarch64_cpus): Add saphira. * doc/c-aarch64.texi: Likewise. --- gas/config/tc-aarch64.c | 3 +++ gas/doc/c-aarch64.texi | 1 + 2 files changed, 4 insertions(+) -- 2.7.5 diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 64d54fd..91330dd 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8420,6 +8420,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_RDMA), "Qualcomm QDF24XX"}, + {"saphira", AARCH64_FEATURE (AARCH64_ARCH_V8_3, + AARCH64_FEATURE_CRYPTO | AARCH64_FEATURE_PROFILE), + "Qualcomm Saphira"}, {"thunderx", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO), "Cavium ThunderX"}, diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index e73d48c..c6eeda8 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -65,6 +65,7 @@ on the target processor. The following processor names are recognized: @code{exynos-m1}, @code{falkor}, @code{qdf24xx}, +@code{saphira}, @code{thunderx}, @code{vulcan}, @code{xgene1}