From patchwork Fri Nov 11 18:54:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Carlotti X-Patchwork-Id: 18977 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp913354wru; Fri, 11 Nov 2022 10:59:12 -0800 (PST) X-Google-Smtp-Source: AA0mqf79inlfQJidPSlUxfxcpK42IMQDEUdVsheBftZGeu2rkTcAcr9Vc+O2471DDl6Mqz+rbnNr X-Received: by 2002:a17:907:8e92:b0:7ad:a34f:1efe with SMTP id tx18-20020a1709078e9200b007ada34f1efemr2971909ejc.350.1668193152150; Fri, 11 Nov 2022 10:59:12 -0800 (PST) Received: from sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id p36-20020a056402502400b0045bf7253827si2887977eda.67.2022.11.11.10.59.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Nov 2022 10:59:12 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b="k+Al/XtK"; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 24B1B3858D38 for ; Fri, 11 Nov 2022 18:59:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24B1B3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668193151; bh=ALk/upi8XL48G69ZmhDTEUIqQVLFMtHnXGlyH22dfPE=; 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=k+Al/XtKguiUIRjxnRolR2jSQjUslxHr/9fFNVQ341xwf3KTQ/klPKg2TUIsaIsOW nreC7RljyhGosmVht7S3ZHFFsxGSnaGcyvDrkAmYn508so9xBd+b9xQmm2dapVY5at /QEQswt9uLhpqMwrgmzJmtdxLDAltry8yP6mbvPY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70081.outbound.protection.outlook.com [40.107.7.81]) by sourceware.org (Postfix) with ESMTPS id 6100F3858D20 for ; Fri, 11 Nov 2022 18:58:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6100F3858D20 ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=SV+SeXehhee3Ar78PNTyPx4HaMQr4gkAxwHHEMN1tLj7d5xGheSc7R5eDY+FqZAuzxdsPCjTFpeyL9TsjKNUpGt3nev4vuB1OJfxl7MdO3HEc5PZHpxqpkqeXCG6FRVAP86ogBX3UIKEYDWQ4H4wH96GlARM1tr62Uc6FpVl5zGDCW9NscRYNerVSRVvDAMXHHZMlxPFlJ5vjhe+7ysQikqusmC9l2UN5omICypZIv4Y6EW+Ua2twpzgwzIR65HI0YNbg9YsBwDWiSRsZOwjfpApANiOATGMW7KzWS0bcPY+kaFlhL9Z8+99aNlFCVsdKaLfhOA9VzlOu+jALiPP8w== 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=ALk/upi8XL48G69ZmhDTEUIqQVLFMtHnXGlyH22dfPE=; b=Bs0UUJiUUnRzinjrUVxzXEv9w0av4vaHYMsFsZ20DhlxIWPB0wC84zpub5M34lFvdTcLcsluOIBWM4xRNGg3iUNQc0QxuAUCLyZl970QlXbqEh83qfv+HsS6A7NXgnjb4MPm5UzwWqPTLwapFalLV7ZEA9smNITTwIW84XRwC6Sn/2iXW3w1+25Rl1gVEtx1sLR2USOxBXyI3U2qH6zbdUX0Gi4iWzJnUTshBz+4sg1EpY37ceB8vlQt5bQ7YU4L4MC30+0KRx2z9Kg5umn7m7VkD9JxHQuMdgkIcriQd1CI8RK+IR7QALSoWSrSNZKuJie3sv6GgXllVn1Ppkx3jw== 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]) Received: from DB9PR06CA0015.eurprd06.prod.outlook.com (2603:10a6:10:1db::20) by DB9PR08MB8577.eurprd08.prod.outlook.com (2603:10a6:10:3d6::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.11; Fri, 11 Nov 2022 18:58:21 +0000 Received: from DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:1db:cafe::b0) by DB9PR06CA0015.outlook.office365.com (2603:10a6:10:1db::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.14 via Frontend Transport; Fri, 11 Nov 2022 18:58:21 +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 DBAEUR03FT034.mail.protection.outlook.com (100.127.142.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.12 via Frontend Transport; Fri, 11 Nov 2022 18:58:21 +0000 Received: ("Tessian outbound 58faf9791229:v130"); Fri, 11 Nov 2022 18:58:21 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a81871a1489b4bee X-CR-MTA-TID: 64aa7808 Received: from f7596ce60a2e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 298E966C-0327-4453-8943-BF4781A3DF64.1; Fri, 11 Nov 2022 18:58:15 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f7596ce60a2e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 11 Nov 2022 18:58:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RQ+j8bSf+l1EMg4hHsMmRqdbZpiNdwP6zJpM2jxGRyu12MPJDzBRTaz+1bCrMaBnEdSZLFky04OI+R2F28DiXwZFoK/fp40uLE3D0hzhS4yTfvH/4Cf/HyJ17DVsSd4mZUWPnLsQax3p9oiT4p664UGcI89CnLlP3yz46/jhDp6Vi0/AO+eB1na7uRIVd689gneFWKFqbTS50Wau956lT5nFGbJOVT30NEqEWYp9ivsEyG8LE9Eulx76/AohutbXmpYjlQExHERa/qjj6TmmauJXYL/tocdQFKL4zvIFv2XGHvER9g3Cv1iehSla2vKwsNzaP87C9tH6oaZF47qsoA== 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=ALk/upi8XL48G69ZmhDTEUIqQVLFMtHnXGlyH22dfPE=; b=DaKqv9MB5GVvObZGYtlWwr/of5NSrFHGbENfqv8CQ6+BquHynPnh9gnzc4bqpYDVboqyShUYHwDg9iaCtM+kvLyijCyB9LulCTtclSPck4+R/W4BQUeiPgtshA7wxrVH3+pq0Y3JtQJ6O70cGkgz+xuEamL46DhQGYTTmXbhIsaaZCkDWnPqRuRnIPN0RH/WsiEXidLFvWnuN1J/Mp8qQ4cDTgcRopST1EjbTv4seK92ncg/2xnknZJ1/lCneH/FBqzuq91AkVntqroKUmX9Nd+s80OhlJpZsKoE7dzsP9haciXimMt5Bobk3iN07wfCF2KK8VDIdbfDoGckHE6w5A== 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 PAXPR08MB6686.eurprd08.prod.outlook.com (2603:10a6:102:13e::8) by DU0PR08MB8561.eurprd08.prod.outlook.com (2603:10a6:10:406::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.11; Fri, 11 Nov 2022 18:58:13 +0000 Received: from PAXPR08MB6686.eurprd08.prod.outlook.com ([fe80::44db:f442:b299:a701]) by PAXPR08MB6686.eurprd08.prod.outlook.com ([fe80::44db:f442:b299:a701%3]) with mapi id 15.20.5813.013; Fri, 11 Nov 2022 18:58:13 +0000 Date: Fri, 11 Nov 2022 18:54:06 +0000 To: gcc-patches@gcc.gnu.org Subject: [PATCH 6/8] docs: Add popcount, clz and ctz target attributes Message-ID: References: Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SA0PR11CA0008.namprd11.prod.outlook.com (2603:10b6:806:d3::13) To PAXPR08MB6686.eurprd08.prod.outlook.com (2603:10a6:102:13e::8) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAXPR08MB6686:EE_|DU0PR08MB8561:EE_|DBAEUR03FT034:EE_|DB9PR08MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d09b6d2-0b5a-487e-1d93-08dac416b423 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: iHwGTeFauVKZ/5iCfOWKtmGMlfYNlcsrVlrl+nZIkETmMAPJERyEOtX7tVUEpxNp8Nk+nJLMtcD89B4rczSyWmYU3fUJGaE6pxjwXac9DQu8VY/jvtQ6GkiXKGs+EBWwm6hjhPEEHua0ZA9UmETMcvm9l8sofO4VgyVvAgM3it5Tl7K26zdeuKfjRtftsJmznSm9fcuNPfrxf9wM1Z2XG/c6Lp2e6O8TBbCa9lQDd7C2YWKjL9mD6mJorVjnlpjzWbxjes15o6TKN8g7F1p4YFGN0E6fJXJ6v+IZSMloUkHuGInehcVm4jiSknTMBcTs36sZR5yJPto44iUttmleXYzSy5PhKRIuDtJiSRUtZOm9KxnsDp4S7LimO/rADWgvsucLpwM+r9DtXA6yTbN4C2bEqj7Vlyx9gW8asVdcHG+SCRL8trQySg4FplZ/AJosCsUueSJ6d/AURPxbjB/NHfZGOnDHSgd7BPclBMg05W0ENeewHUqCwFKk04s4p/mfX+7d311wFWc7J2Ye9iR/rCGBvSP4XRL4l5bYbnaqb3wMtjEK1Q1YYbl6REHalv7fgu52x2cg/jSwj8FEitlNikunaBzLZb5cyoBqqce7oM7mgOCC0aIdoWUCSZRd72Nhw7+0K3nb0v2w19q8mSAAjUsc+dqxu4f+8rF9XBNUvsEs79YvV+pkaArXOBPA88RHsrUWb5y7nA4x+3xJInYhDA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR08MB6686.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(39860400002)(396003)(376002)(136003)(346002)(451199015)(66556008)(86362001)(8676002)(6916009)(316002)(66946007)(6506007)(66476007)(41300700001)(6666004)(6512007)(26005)(478600001)(6486002)(38100700002)(2906002)(8936002)(186003)(5660300002)(44832011); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8561 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: DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6e12d18f-218b-44fa-15a4-08dac416af30 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z/8j9Y0wKym5wOrZdmCAmHBSAjMAyLL7UOryKVQkrKzU7sqgTn187dlSXeSjJjBK6OnQH/UsfNkGkmz4/neh5/8EayNUNQkmUawwwe2FKpZPH5f9ZHvzssPnK99yFMNXew2nPYJQuNTBffrmxwY68NhIcCZiER6V+/mfuFsY2MBQRKR1AC1dIR9vZVGQSXXe83YM9K1cv+9Pd3w+DPZDgwjRi0znJPhDrTxuzOKdaHvW0DzAekyx06PTPbe76GIrEXbA3tkKwshPl+wW2TRVeTx6KMMTYjOj9DqHP6CKml/aMvQzQ2T7oEGZT/DWGvB7s0SJTZSuICK3liE7d+G1jwxPBa8zVmA5P+N5cCfbYhCUGmITIskcTEmAC9JehnKGozbPtyhbGqtYHL4I3AWhetnjH/EzB8YYwtO+eKMyiz56iy7TefL2WngYiQ/3zziWZ0ZTaXcF6jbCnZyVTVorYcxq2vhKQ/B28B7kazIhR8dfz8Y4juMjWcs7AIuA9zan9oiT6rvunRWvLTgO9AlPs3qhRye8MNuXDVdpopR23lN53gKtKDmTYz75qUOnY4pHtcJWDfCWzxvpy067WJng2AfJl0Z4ejIXHPaqr3XYRu5nkzHhdhX2eI/V2Qt9rUJLtbxTIyd71hwtWdtLgcBIeL8svwmaej35c8ZPh0lK4OmDhjLeJ4w7ERYu7hTY3gvWc2ay1nyxL5autOW+OOm6WbBpEY2cRY7QtvtmfakivPpGhf593wAP6WxxvjQUfA6sYdR1P0e18REbq3DQzekkJA== 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)(39860400002)(396003)(376002)(136003)(346002)(451199015)(40470700004)(46966006)(36840700001)(82310400005)(70586007)(86362001)(8676002)(47076005)(6916009)(70206006)(316002)(40480700001)(6506007)(336012)(40460700003)(82740400003)(41300700001)(6666004)(6512007)(26005)(478600001)(6486002)(356005)(81166007)(2906002)(8936002)(36860700001)(186003)(5660300002)(44832011); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2022 18:58:21.6871 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4d09b6d2-0b5a-487e-1d93-08dac416b423 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: DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8577 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?1749227302574381107?= gcc/ChangeLog: * doc/gccint/testsuites/directives-used-within-dejagnu-tests/keywords-describing-target-attributes.rst: Add missing target attributes. diff --git a/gcc/doc/gccint/testsuites/directives-used-within-dejagnu-tests/keywords-describing-target-attributes.rst b/gcc/doc/gccint/testsuites/directives-used-within-dejagnu-tests/keywords-describing-target-attributes.rst index 709e4ea2b903cfad4faed40899020b29bc9b5811..8410c40d38fceb83ea8c6ba3bbf0fba5db7929e5 100644 --- a/gcc/doc/gccint/testsuites/directives-used-within-dejagnu-tests/keywords-describing-target-attributes.rst +++ b/gcc/doc/gccint/testsuites/directives-used-within-dejagnu-tests/keywords-describing-target-attributes.rst @@ -1075,6 +1075,24 @@ Other hardware attributes ``cell_hw`` Test system can execute AltiVec and Cell PPU instructions. +``clz`` + Target supports a clz optab on int. + +``clzl`` + Target supports a clz optab on long. + +``clzll`` + Target supports a clz optab on long long. + +``ctz`` + Target supports a ctz optab on int. + +``ctzl`` + Target supports a ctz optab on long. + +``ctzll`` + Target supports a ctz optab on long long. + ``cmpccxadd`` Target supports the execution of ``cmpccxadd`` instructions. @@ -1096,6 +1114,15 @@ Other hardware attributes ``pie_copyreloc`` The x86-64 target linker supports PIE with copy reloc. +``popcount`` + Target supports a popcount optab on int. + +``popcountl`` + Target supports a popcount optab on long. + +``popcountll`` + Target supports a popcount optab on long long. + ``prefetchi`` Target supports the execution of ``prefetchi`` instructions.