From patchwork Mon Oct 20 18:42:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Pinski X-Patchwork-Id: 39070 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 73C5F202DB for ; Mon, 20 Oct 2014 18:43:32 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id y10sf2862186wgg.6 for ; Mon, 20 Oct 2014 11:43:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:cc:subject:date :message-id:x-original-sender:x-original-authentication-results; bh=XEj6XEc3glL2tZK3qmZa3b05q3/1KfWE2So3Kr1mves=; b=Z47AgXaXPY0DU8Jf41FtdGhvxhGGc1gJgzMRgHiTkNcImv9Mf2YGgOXnC6o/ICb+IF 3u/79Is1JOnSYrHioR/bj8jWkHU8RooIcBo92zlTQ7M1L8DmJ7orELCZnG4f+oUQ21aT g9nC0lFWRi2beN2MYWCOQO2aBR8cuILygNEz9kz9Fq6E+R8g/BDKgrqZtSwiyGukJ2yA tMPFRlv+F0uZATFqUkqQ/3QCDnt6Aou23XfRV4UKPgltfDJ1Whr5+CFHTxkbuC+KK4nS hYbzqTY8ZEaslEFaSvsn80NZP85gcDwuyN8vfZJh9zqllLwEuS9p36URTp3TCOoQLsmm mK4g== X-Gm-Message-State: ALoCoQlF+Rf+4LLoUB4AEQC7GPBFHc+ihhghhg3wrNhSyTLkJnOLZOcRX1dH6k+SfAPEuE0GBYcF X-Received: by 10.112.40.161 with SMTP id y1mr703824lbk.13.1413830611213; Mon, 20 Oct 2014 11:43:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.37 with SMTP id g5ls124318laa.91.gmail; Mon, 20 Oct 2014 11:43:31 -0700 (PDT) X-Received: by 10.153.9.7 with SMTP id do7mr2579804lad.98.1413830611004; Mon, 20 Oct 2014 11:43:31 -0700 (PDT) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com. [2a00:1450:4010:c04::22a]) by mx.google.com with ESMTPS id an7si15543777lac.128.2014.10.20.11.43.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Oct 2014 11:43:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22a as permitted sender) client-ip=2a00:1450:4010:c04::22a; Received: by mail-lb0-f170.google.com with SMTP id u10so4440078lbd.29 for ; Mon, 20 Oct 2014 11:43:30 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr29442631lad.29.1413830610353; Mon, 20 Oct 2014 11:43:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp364746lbz; Mon, 20 Oct 2014 11:43:29 -0700 (PDT) X-Received: by 10.70.61.161 with SMTP id q1mr30215808pdr.16.1413830608826; Mon, 20 Oct 2014 11:43:28 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id dt17si8616067pdb.181.2014.10.20.11.43.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Oct 2014 11:43:28 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-return-85090-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 12450 invoked by alias); 20 Oct 2014 18:43:13 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 12440 invoked by uid 89); 20 Oct 2014 18:43:12 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-ig0-f171.google.com Received: from mail-ig0-f171.google.com (HELO mail-ig0-f171.google.com) (209.85.213.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 20 Oct 2014 18:43:09 +0000 Received: by mail-ig0-f171.google.com with SMTP id h15so5899449igd.16 for ; Mon, 20 Oct 2014 11:43:07 -0700 (PDT) X-Received: by 10.50.4.35 with SMTP id h3mr20324339igh.37.1413830587204; Mon, 20 Oct 2014 11:43:07 -0700 (PDT) Received: from localhost.localdomain (64.2.3.195.ptr.us.xo.net. [64.2.3.195]) by mx.google.com with ESMTPSA id ft10sm3369100igb.19.2014.10.20.11.43.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 20 Oct 2014 11:43:06 -0700 (PDT) Received: from localhost.localdomain (apinskidesktop [127.0.0.1]) by localhost.localdomain (8.14.3/8.14.3/Debian-9.4) with ESMTP id s9KIh1VF005978 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Mon, 20 Oct 2014 11:43:01 -0700 Received: (from apinski@localhost) by localhost.localdomain (8.14.3/8.14.3/Submit) id s9KIh17d005975; Mon, 20 Oct 2014 11:43:01 -0700 From: Andrew Pinski To: binutils@sourceware.org, pinskia@gmail.com Cc: Andrew Pinski Subject: [PATCH] [AARCH64] Add thunderx support to gas Date: Mon, 20 Oct 2014 11:42:58 -0700 Message-Id: <1413830578-5937-1-git-send-email-apinski@cavium.com> X-Original-Sender: apinski@cavium.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::22a as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 This patch adds -mcpu=thunderx support to gas. OK? Tested with no regressions. ChangeLog: * config/tc-aarch64.c (aarch64_cpus): Add thunderx. * doc/c-aarch64.texi: Document that thunderx is a valid processor name. --- gas/config/tc-aarch64.c | 1 + gas/doc/c-aarch64.texi | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 03fddd1..3805e01 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -7201,6 +7201,7 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { {"all", AARCH64_ANY, NULL}, {"cortex-a53", AARCH64_ARCH_V8, "Cortex-A53"}, {"cortex-a57", AARCH64_ARCH_V8, "Cortex-A57"}, + {"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"}, {"xgene-1", AARCH64_ARCH_V8, "APM X-Gene 1"}, {"generic", AARCH64_ARCH_V8, NULL}, diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index 1f4ce4c..f3d4e41 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -57,6 +57,7 @@ message if an attempt is made to assemble an instruction which will not execute on the target processor. The following processor names are recognized: @code{cortex-a53}, @code{cortex-a57}, +@code{thunderx}, and @code{xgene-1}. The special name @code{all} may be used to allow the assembler to accept