From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 1D694384D15C for ; Thu, 6 Oct 2022 09:29:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1D694384D15C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vrull.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=vrull.eu Received: by mail-wm1-x336.google.com with SMTP id ay36so664080wmb.0 for ; Thu, 06 Oct 2022 02:29:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vrull.eu; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=OVW7vD8+sJ0OU9dNVYHWrf3VLXfRpnyAb8VJPQ4WACI=; b=fVf++VE3v0cLYEQb1EyxzBTJ4pfSFZXqA04V4OgV0EJpipoesZPHoeLCeSKhmgeTqn 4k/Y90JjK51eGNnVWZ7gRAyN9cCoPPXHzOqfUK8rdzxDEFXFIcHQw7Oj2ox7wAd1Q+Lb V7JLn5EiVy/CGis6c+dDI2U5OayUl/h5mlfoX9MUD2pEe97RG7FKSTDDZ6KE0M5xoC8g ukcPmzUPb6xFuf8HeQvrBLr+kR+UMLNt2eD1A6q5wBhDkzyH1fPDnS3rslS6m2AN5cjL 4+6QiUZTRkm2hixugsLXR7YrRuZfqhMeL9rqPRFtCuS95A436ma2T4tTkklM6goGsi1X t7cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=OVW7vD8+sJ0OU9dNVYHWrf3VLXfRpnyAb8VJPQ4WACI=; b=tequ7Cj8LzE2EghMjZR6lo+DkSR80KlNY3GOU54qRiMo2RukgrCEQ0hRjHRPPptvdg 8ZJqOLmub83dX/OihrmKSqTLfjjBQyDOjONPxkI9rgLRMz4VG9lbGcHwLOJT+5vRvLnO Mvo1ReV1ff5PtoRH+aFFd6qPsiwVHUcDR4DVkSZLX+lSbhtE6aWsRTwfKcGSS04UEPif Ba8jS0qCfI/aNhucFw0kV6h3oxuKbR0okS8OEjLA5Lb/VZbzYeMjlpMbKAibE1dVSZEy SIrYp/OhM+I8H9ISYwW4NUSp9zMysF5I8wiwlnT4B6yIkzad4Q3pa9y9/6ZYEcRr+pvF 95pg== X-Gm-Message-State: ACrzQf2BXLncblKJwBlQH1ZglPs35cuelagt+bHwQja+X5gQJ8PjDTDm wUsQCgFcZaWzQaLBQTwIhhbRaCLAGKAxzDY+ X-Google-Smtp-Source: AMsMyM4i3SEMpWs6+QmOy4tXupOj/AVWaGifRp8dB2jDQus9I6isujYdrDl+xCsKWhLgjer4y4yiuQ== X-Received: by 2002:a05:600c:1547:b0:3b4:c56b:a3a6 with SMTP id f7-20020a05600c154700b003b4c56ba3a6mr2481914wmg.29.1665048595645; Thu, 06 Oct 2022 02:29:55 -0700 (PDT) Received: from ubuntu-focal.. ([2a01:4f9:3a:1e26::2]) by smtp.gmail.com with ESMTPSA id c5-20020a056000104500b0022a3a887ceasm4105739wrx.49.2022.10.06.02.29.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 02:29:55 -0700 (PDT) From: Philipp Tomsich To: gcc-patches@gcc.gnu.org Cc: Richard Sandiford , Tamar Christina , Christoph Muellner , Philipp Tomsich Subject: [PATCH v2] aarch64: update Ampere-1 core definition Date: Thu, 6 Oct 2022 11:29:51 +0200 Message-Id: <20221006092951.607412-1-philipp.tomsich@vrull.eu> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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. Signed-off-by: Philipp Tomsich --- Ok for backport? Changes in v2: - Removed explicit RCPC, as the feature is now implicitly included in the 8.3 feature definition. 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 b50628d6b51..e9a4b622be0 100644 --- a/gcc/config/aarch64/aarch64-cores.def +++ b/gcc/config/aarch64/aarch64-cores.def @@ -69,7 +69,7 @@ AARCH64_CORE("thunderxt81", thunderxt81, thunderx, V8A, (CRC, CRYPTO), thu AARCH64_CORE("thunderxt83", thunderxt83, thunderx, V8A, (CRC, CRYPTO), thunderx, 0x43, 0x0a3, -1) /* Ampere Computing ('\xC0') cores. */ -AARCH64_CORE("ampere1", ampere1, cortexa57, V8_6A, (), ampere1, 0xC0, 0xac3, -1) +AARCH64_CORE("ampere1", ampere1, cortexa57, V8_6A, (F16, RNG, AES, 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, V8A, (CRC, CRYPTO), emag, 0x50, 0x000, 3) -- 2.34.1