From patchwork Thu Dec 22 17:42:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Carlotti X-Patchwork-Id: 35890 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp80916wrn; Thu, 22 Dec 2022 09:43:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXsc96VPgBUIb+3ZgMaR3r/J7YBOCLQnJoagV1dGcaloMIORQhT2/2wpieLTTkMFlbGGk/tO X-Received: by 2002:a17:907:8c81:b0:7c0:7d35:e9db with SMTP id td1-20020a1709078c8100b007c07d35e9dbmr6726400ejc.15.1671731026350; Thu, 22 Dec 2022 09:43:46 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id ji11-20020a170907980b00b0084514612c28si967806ejc.612.2022.12.22.09.43.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 09:43:46 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=o2fjnwFV; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B3990385B53D for ; Thu, 22 Dec 2022 17:43:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3990385B53D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1671731019; bh=hg1QgSIGQ6YKkBKJxjMJ2uRaUb8W0qnDhPL8NZNgXSA=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=o2fjnwFVeweEVMVCWL2yXbgKaQLRYzOVwGikzpr1KbfQ0ypcZ1sbXqfnZp8PaPBKw FKTJQ+O7MkHE6ahY//qOh7KDt1Ia4PKyqnMV5ynB3Msc+r3MT1gRRuN3wzkJDSpeTb blZ48gHFHGLeIWngbbCu4wVhH+cZAFmK2g+O/9lA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2084.outbound.protection.outlook.com [40.107.6.84]) by sourceware.org (Postfix) with ESMTPS id 047AB385B505 for ; Thu, 22 Dec 2022 17:42:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 047AB385B505 Received: from AS8P251CA0017.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:2f2::30) by VI1PR08MB5406.eurprd08.prod.outlook.com (2603:10a6:803:133::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.6; Thu, 22 Dec 2022 17:42:44 +0000 Received: from VI1EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2f2:cafe::3b) by AS8P251CA0017.outlook.office365.com (2603:10a6:20b:2f2::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.12 via Frontend Transport; Thu, 22 Dec 2022 17:42:44 +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 VI1EUR03FT009.mail.protection.outlook.com (100.127.144.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.10 via Frontend Transport; Thu, 22 Dec 2022 17:42:44 +0000 Received: ("Tessian outbound baf1b7a96f25:v132"); Thu, 22 Dec 2022 17:42:43 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 961dcfe10e9f5151 X-CR-MTA-TID: 64aa7808 Received: from 91474b01e077.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 208432AE-A613-4C1E-873B-D88CBE354FC3.1; Thu, 22 Dec 2022 17:42:37 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 91474b01e077.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 22 Dec 2022 17:42:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lPIgN28OrKH707ytKLN6aqu0qisrN4fdRKxo8UYeYaY6XRNaAOWr/5CTAOHPqYR6UgK6JdM+uBoSboPTM5X7cCdjGCN/YUQaR7f+NIf8dGnxUddv2FANAlzf0I/AkEQhrUWPCYEWTY2jgMmuqLpa+eevez0IaTQlc40OLJL2y02fPR5iZrrLzKzZTt2R5OzuM+DPG0BIaiIqRLBADId05LKlN9T9EsnUDzBXplMnUr1L5e4MlA2wSihFmKkAnGgWb5luyQO0Gq50bmrDqmv7rK/cecM6LU3fu8B+bVu+F8c0bI+9Tpj2Yzp4X+TUV5aAMIDIODpcfq1TqDDAmti5Jg== 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=hg1QgSIGQ6YKkBKJxjMJ2uRaUb8W0qnDhPL8NZNgXSA=; b=Ofu9nV2Z7nvxV1OIAdOee9qAcNswmsGFGcVWyehbnMIyY45ebSMiRMnwx/KHoRz1Vrv6OCc9XlWIfxoG8w/vUr1bLX8ykHO+0F0U43Id8bvjfT2QimB9duB6Kvfk7nUIb19EGIXrFSIGapRHeWRFfljj+XayMOXOFgZ3kj+r59I0iKWSANHhx+9XE3lnTgkO7+ydfaq7hVp1N5RFuipSFFtwiLTcx+V1cqtpebwicCgzVwEbxVs9fMyL90pZ6vQ5H30PoedvgqX93YSCX+KY0rhyyKIIjB99ybO89nTSFCytRhEdYgKgL/f2zcgB0BwLfV4AL6hHXOhQ4258YhawMA== 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 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB6678.eurprd08.prod.outlook.com (2603:10a6:20b:398::8) by AS8PR08MB9954.eurprd08.prod.outlook.com (2603:10a6:20b:638::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.6; Thu, 22 Dec 2022 17:42:35 +0000 Received: from AS8PR08MB6678.eurprd08.prod.outlook.com ([fe80::8256:29ca:bcd8:b754]) by AS8PR08MB6678.eurprd08.prod.outlook.com ([fe80::8256:29ca:bcd8:b754%5]) with mapi id 15.20.5944.011; Thu, 22 Dec 2022 17:42:35 +0000 Date: Thu, 22 Dec 2022 17:42:32 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH 6/8 v2] docs: Add popcount, clz and ctz target attributes Message-ID: References: <6acadc1f-b1f0-3c9a-e497-c3e715bbe47c@gmail.com> Content-Disposition: inline In-Reply-To: <6acadc1f-b1f0-3c9a-e497-c3e715bbe47c@gmail.com> X-ClientProxiedBy: LO4P123CA0209.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a5::16) To AS8PR08MB6678.eurprd08.prod.outlook.com (2603:10a6:20b:398::8) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AS8PR08MB6678:EE_|AS8PR08MB9954:EE_|VI1EUR03FT009:EE_|VI1PR08MB5406:EE_ X-MS-Office365-Filtering-Correlation-Id: 2d51c949-42fc-4df8-0955-08dae443ee9d 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: OVpSOK25Jouw+GpQ0relHhCxV9ewsB1bKgtPubW24GQ6DbwzOiEd0hB/LxPmATI/cN2PXkiEeKxrwjx0TdGGCY+GaS/dbVRiXZ8o1JNAyydCSRL2S4bIkGOznFvXyiZg6QOP4272ekGO/qF4WYd6a3uoYQy25i5/jW2k4glmejOiflSYGmw8tSbyQXT8DdG6mHODgwP6Ge93+Tz1nk5KMhkUC2xeHUGYG4ZxUP81dajCDVIm8of7dKbSIQlTJ50yzpFWzvO7pkP69qujs1XouN+8lzRNMIyR8X049QmsogncdILgpbT3epSG6y5yPwuaDt0AFR8EfM3bbnHk4LeyJxQqRXTFvMIFRYWdc1vQhq3UrSNMDrWN1Ux+AgT4fwfWOJAUrh+xwCvJj186xNkISinKyBl3f4xibgR9JJicVMkGPt3jbBXQSRx5Fv+VHYq9bKmInck9Z94WSU8P2lCeApZ9ir59na6+yDdS2lCfN0Bgrh6blB45KvoiDv4vKUlQ5BPj+z4LbnpEmA7U00SLzvY3G2m3lECvQE9VBVeVmJj37us4RK/GS6wbaRj4UOtao8GNjleTVwiXiyrcOuAsKkdVuShneqAVPQhxBlguBR6uGseZu3FG4p+9o/dP1iWjE2CdBH0iPLlWJEQ6BsYkDg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR08MB6678.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(346002)(366004)(39860400002)(396003)(136003)(451199015)(8676002)(86362001)(66476007)(66556008)(66946007)(6512007)(6486002)(478600001)(186003)(6666004)(6506007)(6916009)(316002)(26005)(38100700002)(83380400001)(2906002)(41300700001)(5660300002)(8936002)(44832011); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB9954 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: VI1EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 5814aa2e-05ca-4811-5c88-08dae443e964 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: X/v11IVFoBbbacReYno2FVp8uRky7fV66KNOEVvXDqkTmocMao+pIQDhW/FL3063uXEz1v2n5gBw+fUGMj1wqwy7ssYL9NJk9hm4f5of0TUH2h6hWcIsob07AlAWmbV8hTVivNaQldGpSOTLNuy9F6FYzPnC0tZj/C2qsayUDKV5JYaEtVFNP5rG2JU4yiK4PzhtCi5ApHQf4gUgoND+Eile3SvZwGgfmqv1PSjpNBCkcGN+32iBvuJIjEsWKJWaUb2I2ufcPy2wJZiB6elo/kfgvOD77zSdBSs/lAHWTokE0i0jYkhPQ4n3hV+xXxNdThniPndmpfuk+ilVYsvDhRqRBOSs3UHmkfK90tMW9UznpS/AHmrPjGnmSH6cg8/so+wt7k/6K08K9jksXJX+ztuIy9pKsEGJrcp1g1/kPK+30TIPemAuTy4cDRV2ng9i79Jq1YA/v03uwWXeaA3FsVEmIDRilIATAtnAz25sfpnGMn6LSOOJZ5+0yLrg4lLThw1awGYpItLubgM7R7x/wpkp4Yd6DnvtCrETPJyLWKMNT++5EHp1GnstuXVokmvZSimcjbKZiuz+YzK5LCsg9ENH4sjCilRMd8D9PiAd+H6cBqqKwKJN+T7qF6/WUAV4O/bBAh8eTrfKwtPYhgAZdCnoD3Wlm8duQ4L3SHoJM3NsS3ZWlKoxMMmDVYrMTK13GfsfANYfGnTZDFxn781YGQ== 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:(13230022)(4636009)(376002)(136003)(396003)(39860400002)(346002)(451199015)(46966006)(40470700004)(36840700001)(478600001)(86362001)(336012)(41300700001)(6666004)(8936002)(6486002)(47076005)(186003)(26005)(6512007)(316002)(6916009)(40460700003)(356005)(6506007)(44832011)(40480700001)(8676002)(70586007)(70206006)(82740400003)(82310400005)(5660300002)(2906002)(81166007)(83380400001)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2022 17:42:44.2463 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2d51c949-42fc-4df8-0955-08dae443ee9d 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: VI1EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB5406 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Andrew Carlotti via Gcc-patches From: Andrew Carlotti Reply-To: Andrew Carlotti Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749227302574381107?= X-GMAIL-MSGID: =?utf-8?q?1752937032363819589?= Updated to reflect Sphinx revert; I'll commit this once the cltz_complement patch is merged. gcc/ChangeLog: * doc/sourcebuild.texi: Add missing target attributes. diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index ffe69d6fcb9c46cf97ba570e85b56e586a0c9b99..1036b185ee289bbf7883bd14956a41da9a6d677b 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2511,6 +2511,24 @@ Target supports the execution of @code{amx-fp16} instructions. @item cell_hw Test system can execute AltiVec and Cell PPU instructions. +@item clz +Target supports a clz optab on int. + +@item clzl +Target supports a clz optab on long. + +@item clzll +Target supports a clz optab on long long. + +@item ctz +Target supports a ctz optab on int. + +@item ctzl +Target supports a ctz optab on long. + +@item ctzll +Target supports a ctz optab on long long. + @item cmpccxadd Target supports the execution of @code{cmpccxadd} instructions. @@ -2532,6 +2550,15 @@ Target does not require strict alignment. @item pie_copyreloc The x86-64 target linker supports PIE with copy reloc. +@item popcount +Target supports a popcount optab on int. + +@item popcountl +Target supports a popcount optab on long. + +@item popcountll +Target supports a popcount optab on long long. + @item prefetchi Target supports the execution of @code{prefetchi} instructions.