From patchwork Wed Jun 20 02:54:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongbo Zhang X-Patchwork-Id: 139275 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp236184lji; Tue, 19 Jun 2018 19:54:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJlDLQusH5IJ8zlaVPzZG8iF5nTJ6oJ58LqYrbwOVPPAmYp0XgXeSKwHdwl9w4A4k0IbXzV X-Received: by 2002:a63:7c55:: with SMTP id l21-v6mr17367485pgn.352.1529463289445; Tue, 19 Jun 2018 19:54:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529463289; cv=none; d=google.com; s=arc-20160816; b=SFT8KbW7k7vjgAZDfa8KoFbTfZfyapYArg9xQ+/3NUr74Iv1/eiBTBH0qEP+/cKXwO HXCaTuPeCe4xgb0Ny1erM//ZxFktGKrLUt2S+nDpUMOIOekAXm0T/aSYdsmwP++FrOE7 wWrJSy82zbi57jNV5mgO9qtk+XJ/+RjZzLH4YVj/li2qnQM7aS7Zu7SN253V3l8tAgHy EmCp2Z51PMtttRbLQlebvZ5Oes93poMEphDxGcFBdDZozqQZK+Iswc4h34XttxRg8rEH 3hffdaYxRYV9XqGfzO33ezSQYcZwwKSLBsOCtIHgR6JBEBhPdbzO69cbDJ8mmjp3Gdhl uf7A== 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-unsubscribe:list-id:precedence :mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=IlRjUEkCD+eLWHxx/t54kzEpM6d3AJQFz3rYJG2VQI8=; b=k0oZNAl/Kdz3cVKtJxJ0wCv83TzYi51k4izEDBOrzahFGFd4PLjDdyXb+Xb3ho9epm OemXjJjnehjbSlBOaOgurz+insylRZQPa8TasnjxqFi6lRc2JYZ8GXnR8mJSJiId86/n xCbnYVKW1XvdqzDN/I15bdcIWu6HClSSGtbV3H3m8WsJN1oTZlqTnpOCC02c+CtUVlM4 ISaOnZHU4+ymOhOxY5ilHD9bAb/AjyJZgWnvwQw4YFJ0EbAMZVzt6qNH4tKLiIM/kCrM mTwUBz3TXVxy9P7M4P1NlAVuEiLzU5Ix6FprNsxDD2p6osfUUpdzGmfozZYsCmMsSPzT 1mMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=osG8nbgB; spf=pass (google.com: domain of gcc-patches-return-480075-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-480075-patch=linaro.org@gcc.gnu.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 w10-v6si1178116pfg.328.2018.06.19.19.54.49 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Jun 2018 19:54:49 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-480075-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=osG8nbgB; spf=pass (google.com: domain of gcc-patches-return-480075-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-480075-patch=linaro.org@gcc.gnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=Mkmpm94a5hWJ IZLP0PqhsLFD6LcA9yn9EzsCfigXLaLJDT+YYzBVdB5Lx4xdwprORolfhfEoR79h WmxMTE2jmzy9AJa2gGFmjKKxkotWxtwqYui4MhiZwvV85zNlLIVeM42yk8iA38GL C/4ylfrhG28Iih0gTgMy0Gukg7lRDEY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=M+znwUw5nGU1Plrp4V /UHHHbjYo=; b=osG8nbgBotC2oHrnwRPquf0++0j9s3lqPSASDD7yZ/Pz+UfxOb u8UW1fckMvo0hVCqnciWdjh7XY10PZOcfn08+TobIOWV+rFwHrWS/wTLXkdQ09Px CpUfZO9YQedsiJAh29kQ2E+Jq0e7Q6/FiMhqJ9zEYN2W8mME4nCxHDEJ0= Received: (qmail 41200 invoked by alias); 20 Jun 2018 02:54:38 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 41190 invoked by uid 89); 20 Jun 2018 02:54:37 -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, SPF_PASS autolearn=ham version=3.3.2 spammy=zhang, Zhang X-HELO: mail-yw0-f193.google.com Received: from mail-yw0-f193.google.com (HELO mail-yw0-f193.google.com) (209.85.161.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Jun 2018 02:54:35 +0000 Received: by mail-yw0-f193.google.com with SMTP id w13-v6so655676ywa.5 for ; Tue, 19 Jun 2018 19:54:35 -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=IlRjUEkCD+eLWHxx/t54kzEpM6d3AJQFz3rYJG2VQI8=; b=P38WMcbNQKlOH8yZFo++HZRRz2PYsQTPR5hy5uIh6P1vwjS5W1zgk1YFJ4zEL3Tg1S cd/S9faX9b0w7/JanabCdH+1aa253cvA1qj6jED9+j4Jel+8VndNPQucxgPQvq9UD2ai Jj50ntI+MAD8yKZ4L4BeJVugtqdFlQV7cZOLvl3JHCEerQNqTmpEbmMg25/gqNHkfcoa BLHUHCy+Qw3CmOBrl+PDFqaP232fNCWG9hCUUM304rlqMJmA/qZgLdeBtBaiEAyWaskJ 3sWNWrLT19MUp9uRSQn2G0H5/DXXsf5uVIaw72HTn/axC/PzENSJG+EpyETK+CFhkSOb lixg== X-Gm-Message-State: APt69E1FBrMt0meq3Z5k4eD5k15j3iaeSCvGjZ2NDAdy6M9g9YbEfhkH /55qyGpC3m4ZRgTsOBpERoJeew== X-Received: by 2002:a81:4e97:: with SMTP id c145-v6mr9458406ywb.6.1529463274000; Tue, 19 Jun 2018 19:54:34 -0700 (PDT) Received: from localhost.localdomain ([104.237.86.70]) by smtp.gmail.com with ESMTPSA id y71-v6sm634390ywy.4.2018.06.19.19.54.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 19 Jun 2018 19:54:33 -0700 (PDT) From: Hongbo Zhang To: richard.earnshaw@arm.com, james.greenhalgh@arm.com, marcus.shawcroft@arm.com, gcc-patches@gcc.gnu.org Cc: Hongbo Zhang Subject: [PATCH] Add HXT Phecda core support Date: Wed, 20 Jun 2018 10:54:20 +0800 Message-Id: <1529463260-5898-1-git-send-email-hongbo.zhang@linaro.org> X-IsSubscribed: yes HXT semiconductor's CPU core Phecda, as a variant of Qualcomm qdf24xx, reuses the same tuning structure and pipeline with it. 2018-06-19 Hongbo Zhang * config/aarch64/aarch64-cores.def (AARCH64_CORE): add phecda core * config/aarch64/aarch64-tune.md: re-generated by gentune.sh * doc/invoke.texi: add phecda core entry --- gcc/config/aarch64/aarch64-cores.def | 3 +++ gcc/config/aarch64/aarch64-tune.md | 2 +- gcc/doc/invoke.texi | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index e64d831..0e3c0a0 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -61,6 +61,9 @@ AARCH64_CORE("thunderxt88", thunderxt88, thunderx, 8A, AARCH64_FL_FOR_ARCH AARCH64_CORE("thunderxt81", thunderxt81, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx, 0x43, 0x0a2, -1) AARCH64_CORE("thunderxt83", thunderxt83, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx, 0x43, 0x0a3, -1) +/* HXT ('H') cores. */ +AARCH64_CORE("phecda", phecda, falkor, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, qdf24xx, 0x68, 0x000, -1) + /* APM ('P') cores. */ AARCH64_CORE("xgene1", xgene1, xgene1, 8A, AARCH64_FL_FOR_ARCH8, xgene1, 0x50, 0x000, -1) diff --git a/gcc/config/aarch64/aarch64-tune.md b/gcc/config/aarch64/aarch64-tune.md index 7b3a746..19b44d7 100644 --- a/gcc/config/aarch64/aarch64-tune.md +++ b/gcc/config/aarch64/aarch64-tune.md @@ -1,5 +1,5 @@ ;; -*- buffer-read-only: t -*- ;; Generated automatically by gentune.sh from aarch64-cores.def (define_attr "tune" - "cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,thunderxt81,thunderxt83,xgene1,falkor,qdf24xx,exynosm1,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55" + "cortexa35,cortexa53,cortexa57,cortexa72,cortexa73,thunderx,thunderxt88p1,thunderxt88,thunderxt81,thunderxt83,phecda,xgene1,falkor,qdf24xx,exynosm1,thunderx2t99p1,vulcan,thunderx2t99,cortexa55,cortexa75,saphira,cortexa57cortexa53,cortexa72cortexa53,cortexa73cortexa35,cortexa73cortexa53,cortexa75cortexa55" (const (symbol_ref "((enum attr_tune) aarch64_tune)"))) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 940b846..43ef9ac 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -14667,7 +14667,7 @@ performance of the code. Permissible values for this option are: @samp{generic}, @samp{cortex-a35}, @samp{cortex-a53}, @samp{cortex-a55}, @samp{cortex-a57}, @samp{cortex-a72}, @samp{cortex-a73}, @samp{cortex-a75}, @samp{exynos-m1}, @samp{falkor}, @samp{qdf24xx}, @samp{saphira}, -@samp{xgene1}, @samp{vulcan}, @samp{thunderx}, +@samp{phecda}, @samp{xgene1}, @samp{vulcan}, @samp{thunderx}, @samp{thunderxt88}, @samp{thunderxt88p1}, @samp{thunderxt81}, @samp{thunderxt83}, @samp{thunderx2t99}, @samp{cortex-a57.cortex-a53}, @samp{cortex-a72.cortex-a53}, @samp{cortex-a73.cortex-a35},