From patchwork Wed Feb 14 15:18:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tamar Christina X-Patchwork-Id: 1898980 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=CEqc19pD; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=CEqc19pD; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TZhg90N24z23y6 for ; Thu, 15 Feb 2024 02:19:00 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C20303857830 for ; Wed, 14 Feb 2024 15:18:58 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2070.outbound.protection.outlook.com [40.107.8.70]) by sourceware.org (Postfix) with ESMTPS id B5C733857731 for ; Wed, 14 Feb 2024 15:18:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B5C733857731 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B5C733857731 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.8.70 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1707923917; cv=pass; b=hwfOv/ZKMbAzYj5UQGRJsXXfMTPG+uF8t7lq9ZioDqlUVjeTdx+shaIF+lLGLgZwo6JI4CP2+Z57kbHaA/SGUetM2RIsPXvtsyPvsMjCEAqtEU2IJpRwUSySHcu3y+BQ88sE0W4f4u+Qwb2Pukec4lUOaCkK+rF2593880n6F3A= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1707923917; c=relaxed/simple; bh=unzCdrom91tkE3Vujwc3E0nlLyjmRePMp2y6n2NPb98=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=flrQqDP379dM7qLpEhsVShoRh3Sc4+kj8BWFtCQlByKXKMpB/SG6EWfqaQ7WCVaiv+KC6yUiciC9fCshr9bnm0t7OMfNHWPQhUNaYjUBEMvH6u/s+DT0IiIwwXSOv4vU3RxM9qNoNDez0hUnHN9DpBoKDe6lxpDI9P6nqf9ryEg= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=ARY7EJ2BnGozPOAfPpB6FjhYmwBVolwKzDda223hibF1TmLIZDKaDiYZ2RK/Hjqy+D6b7vOqyEiu6+epSIXT777m1N0Zb/rG8iddRaCtnKO36W5UEgfagPGayvc02ONn61m58md8KLHUim3H09KUmHfu4ym/O44/WfKaKaa6CEthMMoYM7ebxe3heavMhz+qFw/P2THuHyht+CNWzJbHy493F9AV26DITN0WGJH9ZgBV+rPrYtKNcfYNr8S9qG0hFHxg6Tqx0vyTiQw86fvKH5xbix3RUAl/0krI6wYrUIo+Jtfh1xpE/S3wHPZT/hvA2RQ4zSSNFmCVp4q5CVfjBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VYJs3Hs1lFPnjoNHCKrB5oz6nkbh9RluEMUnppz5w9U=; b=ibY/ocXLKq1cWWKL+OQ0UXvRrSR6ChSoqfpbhiqEcMO7n2chU6Q1vvbYUS/477HD8HOM5MmUExnfAcmyUZtopty4kECBuDZSZVJmArAk/SYlu0j//MW68f2hUdn5BReEdnwD4Gf8sXEuD8397IQaq+DJ2SsU5Mx/ww7GhETqSWttyF+4rCHqrI5p9mD8AaQlS+IgRCJoqlflArRRno9YNIzXbAOsHqJ4nKxNbrcnA3fyARUFrcdYtc0wrcktjKnLBST10Xhl2M6KhLE5k+5NLjjkTWF+VhfyN4kNob/puFg3o2B98KL3E0uXPNbieMLkvHrNjpSvySNO595uLJQ3mQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VYJs3Hs1lFPnjoNHCKrB5oz6nkbh9RluEMUnppz5w9U=; b=CEqc19pDiAGWYJL4nz5nG8I0xMA7T0kcwl6vQi5j5YczYHf2QD9pxe+Xmp9CdDYA4UMClHxU8lq+fNMfbrw6ahY8sWGAAN7hOBIx7OsS/RHqAuPZFuNTjW/SkBWSntXd/3Uk0bCbN36lDK3uPtM3hnG4DpgMLu2Q6amZ3/Vc9Fg= Received: from DUZPR01CA0226.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b4::13) by PAXPR08MB6767.eurprd08.prod.outlook.com (2603:10a6:102:133::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.26; Wed, 14 Feb 2024 15:18:31 +0000 Received: from DU2PEPF0001E9C0.eurprd03.prod.outlook.com (2603:10a6:10:4b4:cafe::5b) by DUZPR01CA0226.outlook.office365.com (2603:10a6:10:4b4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.26 via Frontend Transport; Wed, 14 Feb 2024 15:18:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU2PEPF0001E9C0.mail.protection.outlook.com (10.167.8.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.19 via Frontend Transport; Wed, 14 Feb 2024 15:18:31 +0000 Received: ("Tessian outbound 982a51ae93a5:v228"); Wed, 14 Feb 2024 15:18:31 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 2f21d721d04f126a X-CR-MTA-TID: 64aa7808 Received: from 4a9f883e89c9.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 58071260-477B-4FAE-8274-D66BBE8538D4.1; Wed, 14 Feb 2024 15:18:24 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 4a9f883e89c9.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 14 Feb 2024 15:18:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fn00amzXwH5WHObbKsUSwfI7JOwF/4lsGdgqGKnAdisC/Vh8TcLYvIpgWEERaZEhKHJtc5JiOUplcooJ7mahz0VmpYOYEorfNfGYJaVREiRjtyv0Cr4KypUrZIey+naS5+LmHX7iljhtVcs7PT2AKcalyQC0Y12TXR+FySPtqSavbe/WHn67YAo38J65QCDOnYWJE+qtTW5JtYkoaiJCPjNsH4n1hEZXBaDX+UVYg10m5DLUx5z4+BFm7pWLqOVbY/WqwAgyXiQZAwMA16Cf6LVxGioJjkvHrfvxxcPq/yfFSHhyWaCVY75RcdLI7SjXwnH/ydsBw+274z7JuDkw0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VYJs3Hs1lFPnjoNHCKrB5oz6nkbh9RluEMUnppz5w9U=; b=PNIIvrCU4yuP7m813NTHZLl58RsADHkcpYNExuwZzlld0ZsVW77qVygTLjCZCrYoI2lKCl+VEXzkPg9qtn6ZOrV6gTyWOITcfRhHbbnP/Y68nfTiG5aFj71bBSdgpY+cBKWIkBulLYhpxTfqwMyj3Z+Dt5x7JiUri2MsHSJhnTbt2QsucT/HZeuvP7MM7XZkUbdSMMu4LvhdMUI97okMIz5VssNvu1CRZSoB9tEK3QGcUhqCy/RHaAPwBqySy1QJpbB39DxqU2X841BM/fZm81Q07f2wN5KyoesDOUc5QHw9zy1EkQt5c+VAHMK17TKQ0kYvaF2+PNThRoSDsUPI0Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VYJs3Hs1lFPnjoNHCKrB5oz6nkbh9RluEMUnppz5w9U=; b=CEqc19pDiAGWYJL4nz5nG8I0xMA7T0kcwl6vQi5j5YczYHf2QD9pxe+Xmp9CdDYA4UMClHxU8lq+fNMfbrw6ahY8sWGAAN7hOBIx7OsS/RHqAuPZFuNTjW/SkBWSntXd/3Uk0bCbN36lDK3uPtM3hnG4DpgMLu2Q6amZ3/Vc9Fg= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) by AM0PR08MB5476.eurprd08.prod.outlook.com (2603:10a6:208:18d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.39; Wed, 14 Feb 2024 15:18:22 +0000 Received: from VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::810c:8495:3f0a:ef8]) by VI1PR08MB5325.eurprd08.prod.outlook.com ([fe80::810c:8495:3f0a:ef8%7]) with mapi id 15.20.7292.026; Wed, 14 Feb 2024 15:18:22 +0000 Date: Wed, 14 Feb 2024 15:18:18 +0000 From: Tamar Christina To: gcc-patches@gcc.gnu.org Cc: nd@arm.com, Richard.Earnshaw@arm.com, Marcus.Shawcroft@arm.com, Kyrylo.Tkachov@arm.com, richard.sandiford@arm.com Subject: [PATCH]AArch64: remove ls64 from being mandatory on armv8.7-a.. Message-ID: Content-Disposition: inline X-ClientProxiedBy: LO4P265CA0281.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:37a::13) To VI1PR08MB5325.eurprd08.prod.outlook.com (2603:10a6:803:13e::17) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: VI1PR08MB5325:EE_|AM0PR08MB5476:EE_|DU2PEPF0001E9C0:EE_|PAXPR08MB6767:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a6962cc-0f3d-4816-bc80-08dc2d703457 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: w5nCpa96xUcaOSAu5p7qFG26lhimx1OFQZDBfaEr4suSQbzLE2MuzUUlEcBPmcyzvwcct9UhiiFslYRYq6NcDHygAQTotMddxOIf7nicRTVbYYhe0V7RlWDSS7MN1DbWx3hE7R+qLVimeLlAua6DJDxrN1k21dxeCO12H3JqKlF5kaX5DKS3J2NUzFR6sZmlytT3woN54eZjfc51ZecxPFr3iY/83eBnaxQRMBGE0tiXeOiIN+RcHj5djX4M2eoT3vKh6CfhDrZNbDo7Gbinub4enHSO1MBp2+Rjl3scF+yqYKkAmC+eavxad4iCmOKbPcnDXO9BCGj8zyWZyOg/490DvFwGlrM34l/pzGfQEsLc+mT6lWtm2VRwKPdX0elZ94EiuCc92fsTUdBrQJwBMBO1IgXKzFe5aRxdFwpoB7jIBqtEOJSU82RmYoDHcqDVCJle1+D3SwaNc6qRVLhHXQHOT2UVums01YPG0+cWiH3OBqNywPtSXHoB/31nl24hIsuiLYqCmgDrq3NeQN497dcJ4BXZQZlFsPTXrN2CAMFdw1yswhbfRfR0yReyvyOx X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR08MB5325.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(346002)(396003)(136003)(366004)(230273577357003)(230922051799003)(186009)(1800799012)(451199024)(64100799003)(44832011)(2906002)(235185007)(5660300002)(6512007)(26005)(36756003)(2616005)(33964004)(478600001)(6506007)(6666004)(38100700002)(66476007)(86362001)(6916009)(44144004)(66556008)(66946007)(8936002)(4326008)(316002)(8676002)(83380400001)(84970400001)(6486002)(41300700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5476 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF0001E9C0.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 243c3e37-d943-4582-d64d-08dc2d702e76 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Wi4f8hbOFj8ovyPPikSOwIQcxcVl+aTkmItqAo2Em27Xd/6pmFdPGuYdJisYuxair0JIPFyZ+5y1UZJMpaAXrNTFRpPODkH4RTqGusH6sbHZu3HtSHfBBcKVJXwc+Rd8nKVW8kpg64o2oa4/FNQzmnh17GmjaVeIxhWG38V+3OGh1mU3bAoIEyKibDFiFjjUAU9HYT8ufTngJMoupIPVzh2gENeKE2yCORDyN+NA1i11RFVlNlpizESaj3xtsgZKscEnhBrIh/HVDIAkQX6cUuHLzn8JBAcOHoma09GEuAKVGg6ykaoJKTKLBuvJ5sU5X6m6vZg67gVntc2pZJrsfI+jvqiReN6rRupD4WeJc/FXV4XdFMpff4qKF7KwlA0m3kdgTlS6sXLa7kZgzU9VlDrxqxACGejGjw3T1y1qw/qdzhkGpGg7W/6A4Vxg8jxdzXsZqqEkb37VR2YT2x9yVRs6xDOgnFmkM6m9kstIbTNuifOsDQogNIxd0x/PlSQOKyiTABvkihOIKIt/6Ns1Ma+eCVBNIWx+78yyPLa5T6Pk1zp0P5OPJ4O3zOGBy78xOJ5UZjPIFobkTs8FBCeHkg== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(4636009)(396003)(136003)(346002)(376002)(39860400002)(230273577357003)(230922051799003)(82310400011)(186009)(64100799003)(1800799012)(451199024)(46966006)(40470700004)(36840700001)(8676002)(4326008)(235185007)(5660300002)(8936002)(44832011)(2906002)(86362001)(336012)(83380400001)(2616005)(26005)(82740400003)(36756003)(356005)(81166007)(6916009)(316002)(70586007)(70206006)(33964004)(6506007)(44144004)(6512007)(6666004)(6486002)(478600001)(41300700001)(84970400001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2024 15:18:31.7363 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a6962cc-0f3d-4816-bc80-08dc2d703457 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF0001E9C0.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6767 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, KAM_LOTSOFHASH, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Hi All, The Arm Architectural Reference Manual (Version J.a, section A2.9 on FEAT_LS64) shows that ls64 is an optional extensions and should not be enabled by default for Armv8.7-a. This drops it from the mandatory bits for the architecture and brings GCC inline with LLVM and the achitecture. Note that we will not be changing binutils to preserve compatibility with older released compilers. Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. Ok for master? and backport to GCC 13,12,11? Thanks, Tamar gcc/ChangeLog: * config/aarch64/aarch64-arches.def (AARCH64_ARCH): Remove LS64 from Armv8.7-a. gcc/testsuite/ChangeLog: * g++.target/aarch64/acle/ls64.C: Add +ls64. * gcc.target/aarch64/acle/pr110100.c: Likewise. * gcc.target/aarch64/acle/pr110132.c: Likewise. * gcc.target/aarch64/options_set_28.c: Drop check for nols64. * gcc.target/aarch64/pragma_cpp_predefs_2.c: Correct header checks. --- inline copy of patch -- diff --git a/gcc/config/aarch64/aarch64-arches.def b/gcc/config/aarch64/aarch64-arches.def index b7115ff7c3d4a7ee7abbedcb091ef15a7efacc79..9bec30e9203bac01155281ef3474846c402bb29e 100644 --- diff --git a/gcc/config/aarch64/aarch64-arches.def b/gcc/config/aarch64/aarch64-arches.def index b7115ff7c3d4a7ee7abbedcb091ef15a7efacc79..9bec30e9203bac01155281ef3474846c402bb29e 100644 --- a/gcc/config/aarch64/aarch64-arches.def +++ b/gcc/config/aarch64/aarch64-arches.def @@ -37,7 +37,7 @@ AARCH64_ARCH("armv8.3-a", generic_armv8_a, V8_3A, 8, (V8_2A, PAUTH, R AARCH64_ARCH("armv8.4-a", generic_armv8_a, V8_4A, 8, (V8_3A, F16FML, DOTPROD, FLAGM)) AARCH64_ARCH("armv8.5-a", generic_armv8_a, V8_5A, 8, (V8_4A, SB, SSBS, PREDRES)) AARCH64_ARCH("armv8.6-a", generic_armv8_a, V8_6A, 8, (V8_5A, I8MM, BF16)) -AARCH64_ARCH("armv8.7-a", generic_armv8_a, V8_7A, 8, (V8_6A, LS64)) +AARCH64_ARCH("armv8.7-a", generic_armv8_a, V8_7A, 8, (V8_6A)) AARCH64_ARCH("armv8.8-a", generic_armv8_a, V8_8A, 8, (V8_7A, MOPS)) AARCH64_ARCH("armv8.9-a", generic_armv8_a, V8_9A, 8, (V8_8A)) AARCH64_ARCH("armv8-r", generic_armv8_a, V8R , 8, (V8_4A)) diff --git a/gcc/testsuite/g++.target/aarch64/acle/ls64.C b/gcc/testsuite/g++.target/aarch64/acle/ls64.C index d9002785b578741bde1202761f0881dc3d47e608..dcfe6f1af6711a7f3ec2562f6aabf56baecf417d 100644 --- a/gcc/testsuite/g++.target/aarch64/acle/ls64.C +++ b/gcc/testsuite/g++.target/aarch64/acle/ls64.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=armv8.7-a" } */ +/* { dg-additional-options "-march=armv8.7-a+ls64" } */ #include int main() { diff --git a/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c b/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c index f56d5e619e8ac23cdf720574bd6ee08fbfd36423..62a82b97c56debad092cc8fd1ed48f0219109cd7 100644 --- a/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c +++ b/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-march=armv8.7-a -O2" } */ +/* { dg-options "-march=armv8.7-a+ls64 -O2" } */ #include void do_st64b(data512_t data) { __arm_st64b((void*)0x10000000, data); diff --git a/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c b/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c index fb88d633dd20772fd96e976a400fe52ae0bc3647..423d91b9a99f269d01d07428414ade7cc518c711 100644 --- a/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c +++ b/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=armv8.7-a" } */ +/* { dg-additional-options "-march=armv8.7-a+ls64" } */ /* Check that ls64 builtins can be invoked using a preprocesed testcase without triggering bogus builtin warnings, see PR110132. diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_28.c b/gcc/testsuite/gcc.target/aarch64/options_set_28.c index 9e63768581e9d429e9408863942051b1b04761ac..d5b15f8bc5831de56fe667179d83d9c853529aaf 100644 --- a/gcc/testsuite/gcc.target/aarch64/options_set_28.c +++ b/gcc/testsuite/gcc.target/aarch64/options_set_28.c @@ -1,9 +1,9 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=armv9.3-a+nopredres+nols64+nomops" } */ +/* { dg-additional-options "-march=armv9.3-a+nopredres+nomops" } */ int main () { return 0; } -/* { dg-final { scan-assembler-times {\.arch armv9\.3\-a\+crc\+nopredres\+nols64\+nomops\n} 1 } } */ +/* { dg-final { scan-assembler-times {\.arch armv9\.3\-a\+crc\+nopredres\+nomops\n} 1 } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c b/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c index 2d76bfc23dfdcd78a74ec0e4845a3bd8d110b010..d8fc86d1557895f91ffe8be2f65d6581abe51568 100644 --- a/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c +++ b/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c @@ -242,8 +242,8 @@ #pragma GCC push_options #pragma GCC target ("arch=armv8.7-a") -#ifndef __ARM_FEATURE_LS64 -#error "__ARM_FEATURE_LS64 is not defined but should be!" +#ifdef __ARM_FEATURE_LS64 +#error "__ARM_FEATURE_LS64 is defined but should not be!" #endif #pragma GCC pop_options --- a/gcc/config/aarch64/aarch64-arches.def +++ b/gcc/config/aarch64/aarch64-arches.def @@ -37,7 +37,7 @@ AARCH64_ARCH("armv8.3-a", generic_armv8_a, V8_3A, 8, (V8_2A, PAUTH, R AARCH64_ARCH("armv8.4-a", generic_armv8_a, V8_4A, 8, (V8_3A, F16FML, DOTPROD, FLAGM)) AARCH64_ARCH("armv8.5-a", generic_armv8_a, V8_5A, 8, (V8_4A, SB, SSBS, PREDRES)) AARCH64_ARCH("armv8.6-a", generic_armv8_a, V8_6A, 8, (V8_5A, I8MM, BF16)) -AARCH64_ARCH("armv8.7-a", generic_armv8_a, V8_7A, 8, (V8_6A, LS64)) +AARCH64_ARCH("armv8.7-a", generic_armv8_a, V8_7A, 8, (V8_6A)) AARCH64_ARCH("armv8.8-a", generic_armv8_a, V8_8A, 8, (V8_7A, MOPS)) AARCH64_ARCH("armv8.9-a", generic_armv8_a, V8_9A, 8, (V8_8A)) AARCH64_ARCH("armv8-r", generic_armv8_a, V8R , 8, (V8_4A)) diff --git a/gcc/testsuite/g++.target/aarch64/acle/ls64.C b/gcc/testsuite/g++.target/aarch64/acle/ls64.C index d9002785b578741bde1202761f0881dc3d47e608..dcfe6f1af6711a7f3ec2562f6aabf56baecf417d 100644 --- a/gcc/testsuite/g++.target/aarch64/acle/ls64.C +++ b/gcc/testsuite/g++.target/aarch64/acle/ls64.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=armv8.7-a" } */ +/* { dg-additional-options "-march=armv8.7-a+ls64" } */ #include int main() { diff --git a/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c b/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c index f56d5e619e8ac23cdf720574bd6ee08fbfd36423..62a82b97c56debad092cc8fd1ed48f0219109cd7 100644 --- a/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c +++ b/gcc/testsuite/gcc.target/aarch64/acle/pr110100.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-march=armv8.7-a -O2" } */ +/* { dg-options "-march=armv8.7-a+ls64 -O2" } */ #include void do_st64b(data512_t data) { __arm_st64b((void*)0x10000000, data); diff --git a/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c b/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c index fb88d633dd20772fd96e976a400fe52ae0bc3647..423d91b9a99f269d01d07428414ade7cc518c711 100644 --- a/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c +++ b/gcc/testsuite/gcc.target/aarch64/acle/pr110132.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=armv8.7-a" } */ +/* { dg-additional-options "-march=armv8.7-a+ls64" } */ /* Check that ls64 builtins can be invoked using a preprocesed testcase without triggering bogus builtin warnings, see PR110132. diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_28.c b/gcc/testsuite/gcc.target/aarch64/options_set_28.c index 9e63768581e9d429e9408863942051b1b04761ac..d5b15f8bc5831de56fe667179d83d9c853529aaf 100644 --- a/gcc/testsuite/gcc.target/aarch64/options_set_28.c +++ b/gcc/testsuite/gcc.target/aarch64/options_set_28.c @@ -1,9 +1,9 @@ /* { dg-do compile } */ -/* { dg-additional-options "-march=armv9.3-a+nopredres+nols64+nomops" } */ +/* { dg-additional-options "-march=armv9.3-a+nopredres+nomops" } */ int main () { return 0; } -/* { dg-final { scan-assembler-times {\.arch armv9\.3\-a\+crc\+nopredres\+nols64\+nomops\n} 1 } } */ +/* { dg-final { scan-assembler-times {\.arch armv9\.3\-a\+crc\+nopredres\+nomops\n} 1 } } */ diff --git a/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c b/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c index 2d76bfc23dfdcd78a74ec0e4845a3bd8d110b010..d8fc86d1557895f91ffe8be2f65d6581abe51568 100644 --- a/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c +++ b/gcc/testsuite/gcc.target/aarch64/pragma_cpp_predefs_2.c @@ -242,8 +242,8 @@ #pragma GCC push_options #pragma GCC target ("arch=armv8.7-a") -#ifndef __ARM_FEATURE_LS64 -#error "__ARM_FEATURE_LS64 is not defined but should be!" +#ifdef __ARM_FEATURE_LS64 +#error "__ARM_FEATURE_LS64 is defined but should not be!" #endif #pragma GCC pop_options