From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1923) id AF7CA382C148; Wed, 26 Oct 2022 20:55:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF7CA382C148 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666817708; bh=ienTfG92UTwPNw2XhRspNR5452EjXLmtMaed/8HxXH4=; h=From:To:Subject:Date:From; b=rIb8VCj2hcv44GiiCMeVvX4GrxoM4lYKT6iO3PP647UtisoL18dzVL1pYGn4dlo21 HSHSMbl44/5E46PizbqGLc6ETH0RCxlr4GxRgmXNJ50kutZgHMU3i5rzFv2g8snCXl 5pdQ9ifTJnbYO9NwfYZWkbsEk+vNgZBqW8jvddEo= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Philipp Tomsich To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-10339] aarch64: update Ampere-1 core definition X-Act-Checkin: gcc X-Git-Author: Philipp Tomsich X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 531731c449d175c19a5c5a6e264a1bfe36f6c57e X-Git-Newrev: f6daf95983de84132302e0b6182633e135b14b67 Message-Id: <20221026205508.AF7CA382C148@sourceware.org> Date: Wed, 26 Oct 2022 20:55:08 +0000 (GMT) List-Id: https://gcc.gnu.org/g:f6daf95983de84132302e0b6182633e135b14b67 commit r11-10339-gf6daf95983de84132302e0b6182633e135b14b67 Author: Philipp Tomsich Date: Mon Aug 8 00:30:52 2022 +0200 aarch64: update Ampere-1 core definition This brings the extensions detected by -mcpu=native on Ampere-1 systems in sync with the defaults generated for -mcpu=ampere1. Note that some early kernel versions on Ampere1 may misreport the presence of PAUTH and PREDRES (i.e., -mcpu=native will add 'nopauth' and 'nopredres'). gcc/ChangeLog: * config/aarch64/aarch64-cores.def (AARCH64_CORE): Update Ampere-1 core entry. (cherry picked from commit db2f5d661239737157cf131de7d4df1c17d8d88d) Diff: --- gcc/config/aarch64/aarch64-cores.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/aarch64/aarch64-cores.def b/gcc/config/aarch64/aarch64-cores.def index 306cedffbd2..d13eaeb15aa 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -69,7 +69,7 @@ AARCH64_CORE("thunderxt81", thunderxt81, thunderx, 8A, AARCH64_FL_FOR_ARCH AARCH64_CORE("thunderxt83", thunderxt83, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx, 0x43, 0x0a3, -1) /* Ampere Computing ('\xC0') cores. */ -AARCH64_CORE("ampere1", ampere1, cortexa57, 8_6A, AARCH64_FL_FOR_ARCH8_6, ampere1, 0xC0, 0xac3, -1) +AARCH64_CORE("ampere1", ampere1, cortexa57, 8_6A, AARCH64_FL_FOR_ARCH8_6 | AARCH64_FL_CRYPTO | AARCH64_FL_F16 | AARCH64_FL_RNG | AARCH64_FL_SHA3, ampere1, 0xC0, 0xac3, -1) /* Do not swap around "emag" and "xgene1", this order is required to handle variant correctly. */ AARCH64_CORE("emag", emag, xgene1, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, emag, 0x50, 0x000, 3)