From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Archive: List-Post: List-Help: Sender: gcc-patches-owner@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-Google-Smtp-Source: ADUXVKLdNyHg1SCiHe7cnSmCFZ58ZTSzVfTaMZVD5kr3Ocsf+na0wjSd+3CMbF7aP6DLYrVS/CDuFg== 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 02:54:00 -0000 Message-Id: <1529463260-5898-1-git-send-email-hongbo.zhang@linaro.org> X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg01198.txt.bz2 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(-) 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}, -- 2.7.4