From patchwork Fri Jun 22 07:52:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongbo Zhang X-Patchwork-Id: 139578 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp568626lji; Fri, 22 Jun 2018 00:56:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJgX8jtipB6bH/9BiOfCHHhJc3qSXtVEFuK487lojLtDX38oivFehZY7x1u8bWgooJ2fWWf X-Received: by 2002:a65:61c7:: with SMTP id j7-v6mr480102pgv.358.1529654192468; Fri, 22 Jun 2018 00:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529654192; cv=none; d=google.com; s=arc-20160816; b=ILHExgO0j6hZZZSkTKDqw7lHJ7lSlPX9k/hoqjwp7+J8+NjKAugSQSvf9udGxmGKPA WCvjTcyzr8RgLcZOUYXwicYmysXs7shwZENEjOhWrhZOZ/ntTVh8/pkaEYXnXOf5JNn3 hiznA8UVnDlKynOxQDaHaLf5W4W6sMp+3XvlJCPixYewOnEeZpSqdIT3BKTbU/JHr6AA fK9Dg/XeWW8FsIAFZ9nCJUass4EXtBx6gD5IGJaJMaYQxKziTFl9LTk3jcmLgqkAeUt4 WvOvL34X53JMxNGmR3KE/R6nqpS6N9qIox/XcmEBdzW0t8br+3P8FRr69MjKFHKKOiSJ BK+Q== 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=Scj6oUPL1NAyxbo68ZKlCB0IYQjCC+qFdKq1QwMfRfY=; b=EaKmTIi3RE8IdwMbXF3ngVTyfSTxb3mQaHkEy1c7wljDMyuaW23YszxvKOMbV6NSJ0 e+c/z4B9JMo4WyldsMvLf/ef9Stl33hJT3MvwlFa/t2+atBzvWQcK9EbjqsXlxoTaiBf FkighZbZRQinev/ZV30ZKom8itzJ36q9AKVjxY9eiEyc5tQebSngY77cKwKRb7PsCU0s ZYI3NZKS1tp/5GpmNOFIFotEmwS3OajUlY+ZMlSHiB5wpGYll143hChiG4TGw6CrgK4/ UDOENuIQHK+mt29uRgT+/5sXYZuT+K9iVGv/L+kglo68q6j0sZHlNwe3F5IszfR/DA8w oxQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ttaEYio1; spf=pass (google.com: domain of gcc-patches-return-480258-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-480258-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 b26-v6si5114562pgf.4.2018.06.22.00.56.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 00:56:32 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-480258-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=ttaEYio1; spf=pass (google.com: domain of gcc-patches-return-480258-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-480258-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=El5kxznIVCTD 84dAArh0sRDdxu+XQ5ZduVwIoXxaaRCqMBGhABr7CyQm+79rnE3UVfzrhI6+uVa5 e3Ia/PFJ4yLZ0qw+i+x3X3i4YPDXIPjGqzDGwEw9sqxoovOZ7/ebPkWWVB3x299o 9JnxD8Cby01YKjJUNXweejJ7Uahgk2I= 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=JZZOpyKrDc+7D7xPZb E2JxJTM5g=; b=ttaEYio1donUMc2645BvQdxsJVg9zrowH7H0t6fjT3m/Din5Bt ZipxcrB0U6yZAEvVG2aE4iWf5s5TPocCBstXas1mloe2KPdQqed02qvuhpRj3oW7 mZyW2lACCDh+J6JTJ19ZyZENz8/48ZmxrweCEwNjdT2UHVp6KiVarqPyQ= Received: (qmail 22873 invoked by alias); 22 Jun 2018 07:53:12 -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 14603 invoked by uid 89); 22 Jun 2018 07:53:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy= X-HELO: mail-yb0-f173.google.com Received: from mail-yb0-f173.google.com (HELO mail-yb0-f173.google.com) (209.85.213.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Jun 2018 07:52:45 +0000 Received: by mail-yb0-f173.google.com with SMTP id n23-v6so2223295ybg.1 for ; Fri, 22 Jun 2018 00:52:44 -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=Scj6oUPL1NAyxbo68ZKlCB0IYQjCC+qFdKq1QwMfRfY=; b=d550Sdu5ddef5WVCWAztGSvxpcCJq2AzQ85Q+D+Nq1f3xS/ijXWgxeuQ7rhdqbrpxA FxWAYSV0QDYmSHfxzmowNuJ1lhSa6nPVnJ3txLZeJieOWz1Wfc7I5XynsErVUv8+XPbM nEdQKuz0aiYUWJztA4skdzF/sx79utDf1/cI12e3NkXSBHvKfJDeOhJLvvCZcWdNR30N /79qrCJI/r762uBpkO4Gi+5oYhOZD6U5Z1BbbIXd+TvJ9v4xB2MyYi4qQiRq93yoMJTq oXZQPJK9RpA/jSWsAKOBqSGnbMr0ea98ZD+JDRH/ago2PDp6Cvbv16AuBq0Kd8UGbvXk DlXA== X-Gm-Message-State: APt69E04x6Z7EVus9zaK++ErfzhK0duQDCgVefuGCUtIt4BTDlxsv6gg mn6rBBVMk7JoNW/AKcsFfL0q6Q== X-Received: by 2002:a25:5b57:: with SMTP id p84-v6mr241772ybb.7.1529653963465; Fri, 22 Jun 2018 00:52:43 -0700 (PDT) Received: from localhost.localdomain ([104.237.86.172]) by smtp.gmail.com with ESMTPSA id m13-v6sm2854746ywh.102.2018.06.22.00.52.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Jun 2018 00:52:42 -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 v2] Add HXT Phecda core support Date: Fri, 22 Jun 2018 15:52:33 +0800 Message-Id: <1529653953-13261-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: Regenerate. * doc/invoke.texi: Add phecda core. --- v2 change: description in change log updated. 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},