Message ID | 26bbc7e4-9d5a-fef3-2f78-1b7a03865050@e124511.cambridge.arm.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4881302vqb; Wed, 18 Oct 2023 08:40:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0Zt/exFDHbrYrX2vfcrWG+bXSOoXalGl5gDpLt1ZKh+WeR7/MiXlm1eDijFQrMco1xq2j X-Received: by 2002:a05:622a:1ba4:b0:41b:7754:b4b8 with SMTP id bp36-20020a05622a1ba400b0041b7754b4b8mr6335112qtb.50.1697643604820; Wed, 18 Oct 2023 08:40:04 -0700 (PDT) Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id o12-20020a05622a044c00b004178c9b7d0bsi91488qtx.328.2023.10.18.08.40.04 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:40:04 -0700 (PDT) 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=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=AXYm8HBn; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=AXYm8HBn; arc=fail (previous hop 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 851933858423 for <ouuuleilei@gmail.com>; Wed, 18 Oct 2023 15:40:04 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2048.outbound.protection.outlook.com [40.107.13.48]) by sourceware.org (Postfix) with ESMTPS id 56F103858CDB for <gcc-patches@gcc.gnu.org>; Wed, 18 Oct 2023 15:39:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 56F103858CDB 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 56F103858CDB Authentication-Results: server2.sourceware.org; arc=fail smtp.remote-ip=40.107.13.48 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697643580; cv=fail; b=OLcAMFqYybuVl8eQchhwRuZAxR7YRCAwsJuBy6iLeY+650rr0E8THF4HdqQAm/GP9B1BuWv7KNBdielNz2ETTHxp0Mk7AcHEJ6bPev3+sHq+Kv1/3cgcAHsZ9Olm52lo2DI92kbSn7PE3VRkWbL4/ywYs+fBthQBdnAxNkpgVXU= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1697643580; c=relaxed/simple; bh=0b+Ooqn1syz+viH4536Oc3ei8Q/RuLDsatKSbsK0sLY=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=I0WDCxy9rlujjZki6V9U7JEcDdvKQDQNIuHpF5ZprRAKlCajQob4lx33qfmB3R5x/iiNME9I53rA3e7lJJCfUkhKqT4kevXV5V0K3rDmz/TZxMV8HW2YNE7vjzI5Hb/O1PJ4plwjwA1e/Dqakgyr7TGLmArNbSJLsJHKS2mynlI= ARC-Authentication-Results: i=2; server2.sourceware.org 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=PL0BB/tXjRrcA1W6QXQ9D033qsj5mQuMRQRsLxqmmkk=; b=AXYm8HBnJbM2kKwoYw07IN5TB26/aHkatsbzJKxo3nj6yEp4zB0ZRYsgONDb8PIxeXhRFX8sgUwRZ5OOykmqr3kRYML9nV1W9wrukUAKubeP9rK1w/7p8pGLssBf3YKjJfCcB8HekNXsgvv1Fe5/zg0DxXTaV2XOD1DYy7PBEQc= Received: from AS4P189CA0029.EURP189.PROD.OUTLOOK.COM (2603:10a6:20b:5db::20) by DB9PR08MB8651.eurprd08.prod.outlook.com (2603:10a6:10:3d1::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Wed, 18 Oct 2023 15:39:36 +0000 Received: from AM4PEPF00027A60.eurprd04.prod.outlook.com (2603:10a6:20b:5db:cafe::b1) by AS4P189CA0029.outlook.office365.com (2603:10a6:20b:5db::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23 via Frontend Transport; Wed, 18 Oct 2023 15:39:36 +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 AM4PEPF00027A60.mail.protection.outlook.com (10.167.16.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.20 via Frontend Transport; Wed, 18 Oct 2023 15:39:36 +0000 Received: ("Tessian outbound 028b72acc2da:v215"); Wed, 18 Oct 2023 15:39:36 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 18aa915c90f3ac1e X-CR-MTA-TID: 64aa7808 Received: from a0c8c3d27e64.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 4D0080F4-E48C-4F94-AF24-C132909C2CE4.1; Wed, 18 Oct 2023 15:39:29 +0000 Received: from EUR02-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a0c8c3d27e64.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 18 Oct 2023 15:39:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z12aJSO6m5Ba5z9TocqccTBjrnZoNMltBjhATjUX7/1LULaVo5daUo3uJg1sAJBIsOvrxIOE68bw3z8DwuUt1dhHeGi4+qjNK+sgduNOnjUpFZW9WPGAX4CWjalhLOedMXYsTRwMWapXf3lim/QH/DihAbyVEv5EK4pcb6tF2iFECgKmtNdzjL3B25Np8eOoJ1cml81XXWMspShAMU+uN3fpM7Q3DxNwFeYY9o+e22fhy/9NTrfBP361n8qCf26SohSgcqqSYAukRrlQXOq5KIxGqbt3pjwtF9G8suotNzMvFaNd0Cfo9Y6DHOFvmOGDW5TRLaCR7SySB5XYOZ1kPg== 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=PL0BB/tXjRrcA1W6QXQ9D033qsj5mQuMRQRsLxqmmkk=; b=DmqK09EzC5NQaMLinPst4ZS6hPD+WPwz9oCnp+cwJKH7SgkC8b8Ld3R/VirXtYd2K27Wl+rTHQYTwOcviypV4lEa5CJCYnFkbpTRiRv3lrpXPhXv9MBUudX7xMx+62/mibcR37J1jMoSfDLoDQE/yIrGMx1v6fZM7a2HvK6ELZBycJ51HlitVUGkafVnoSj2FNY0a2LDfJTgzbnMqXFAWaemWcx1xdrYRzptt7kKKLHqK3hkYXq2zbZDIiqPqHSEHae/7JcA8KpxakQY0U6vY9k1WXrZRdYri5g6npWZGMZ03tphs6hevsEVTgeEcQeKUl6zsMnoN0Y0/oNG7oyx8A== 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=PL0BB/tXjRrcA1W6QXQ9D033qsj5mQuMRQRsLxqmmkk=; b=AXYm8HBnJbM2kKwoYw07IN5TB26/aHkatsbzJKxo3nj6yEp4zB0ZRYsgONDb8PIxeXhRFX8sgUwRZ5OOykmqr3kRYML9nV1W9wrukUAKubeP9rK1w/7p8pGLssBf3YKjJfCcB8HekNXsgvv1Fe5/zg0DxXTaV2XOD1DYy7PBEQc= 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 AS2PR08MB8927.eurprd08.prod.outlook.com (2603:10a6:20b:5fa::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Wed, 18 Oct 2023 15:39:27 +0000 Received: from AS8PR08MB6678.eurprd08.prod.outlook.com ([fe80::3880:6a2c:60e:3f3e]) by AS8PR08MB6678.eurprd08.prod.outlook.com ([fe80::3880:6a2c:60e:3f3e%7]) with mapi id 15.20.6886.034; Wed, 18 Oct 2023 15:39:27 +0000 Date: Wed, 18 Oct 2023 16:39:27 +0100 From: Andrew Carlotti <andrew.carlotti@arm.com> To: gcc-patches@gcc.gnu.org Subject: [0/3] target_version and aarch64 function multiversioning Message-ID: <26bbc7e4-9d5a-fef3-2f78-1b7a03865050@e124511.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-ClientProxiedBy: LO4P265CA0249.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:350::14) To AS8PR08MB6678.eurprd08.prod.outlook.com (2603:10a6:20b:398::8) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: AS8PR08MB6678:EE_|AS2PR08MB8927:EE_|AM4PEPF00027A60:EE_|DB9PR08MB8651:EE_ X-MS-Office365-Filtering-Correlation-Id: ee6f68cd-7a63-44fb-9387-08dbcff06f07 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: 5QjjTnnfnZgWlRbjyO2dtxnOcIVD4buSLYIqqvyR3A2ruQo8fG8dU5eBdtUgI6tQ6mcCm80VZKXnKnfallI/RYp9f/T3Zv4B72dvwASUo4o2roJVgFEj35gtZEOKkvn+w6YbsWbO+QQKfWa41DMqPGpwDqnYfmXAXEsxlj6LJXAflWU6uqb6iOUeh48kiZuFKnUAMIoG8QMMM8dak/YWLLcgYELFh4ygp2DAajxsLtRUGIhuVT5RZmJ7Xw1NqtPhRZD6DV80CBxRWCqJRWcgjxX/T1HX3WUTVb6a9n6kgifn1pCngLDoH5JQOOI9UkFkQiKmyuLsQt9i0iggeYdgwbwPPOhSrXoMD5ednXAhC8yN5fnunTPSsBma00Xv0FQnNB5tKm27J2rVbMBncx5Tix0TGMSPOEJgTBCC5nOvBcZM/1Bu7cKHZ42ftKidFC9KMyiwXQmKI+1xdBSEa+xgW36tHEJEsRAGUYy3DlKfF1z2v5e/2UiKq6GvM/wBxaLeii15BmzGb7E3P60aI+UMa5cFrlFPMmniaJ9ar6GjZVjHlvnJCLG+mhoNrmVQ0OPyES2r0R1iOTtYEeNq6UD0WVTRqeidXtWAsl14Vu0L9b0= 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:(13230031)(346002)(376002)(396003)(366004)(39860400002)(136003)(230922051799003)(1800799009)(451199024)(64100799003)(186009)(4744005)(8676002)(8936002)(38100700002)(44832011)(41300700001)(5660300002)(86362001)(31696002)(2906002)(6506007)(6512007)(478600001)(6486002)(966005)(26005)(31686004)(66556008)(66946007)(6916009)(66476007)(316002)(533714008); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8927 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: AM4PEPF00027A60.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: cc1c9d9e-df06-4909-8346-08dbcff06993 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vEsJ7OvHuRswe7t77/BRr6YYCi13fb7sYlcGQsEehAM8eerxbbZYqDusp7w9zk+KxudUZHIMsHXnU4uj/AcuyDUE6PwLiH5gzb1fkqIQoLSVqN+HzpZJPcwQsuqwbFcntU27bqYpOHp36xE5hT0lp8OjB5qdyhdFU23wLd4ZKGCXjrWNjYEAe1qRAmkiuWVUabJ9HKUdnP0wUvh+miDOmCK4P4wqBCZ4qHZxc4ikNbLy8roghVBUcrC22PM9eiMONbRwGaaKzXXPy2WkdS+BtaO5T2JIluoi+/uxh/7uBZRroBDNwTViXagYhMrGTrxUhE43Y4+Onr2tpkIk4oayiv7dbge+UMjVLIg2KWRddmnfMjDuNWgyosuW2UlCGhR1W4bC093uvJONcKN8b7jAA2cNoG4Zf0T5JAUBKIAaxYxO5MTqonWC0Qn9cudDG4t1Q3oW7SOd+djcKLnep2fmRJF04lXArOHnoh6CGrre9JFBAGhtIEU87KughuwKz9wgwRRtsXngVzIEE21lMCZudw1lJlreLRFtS1d9yqRJYRCzd+hcY/8yhbvNBNFucBMpfLUuGQQTh7wbWGp/tVt+KY39rce0o8CxnMj4jOxvF+Sq19KxCx1CMUeRr64MiR3Bm2jzD6q5M0sYPoWAi7WbGP7hAoJ5Ob2EXiyhOU7xOqLpbqFWlHLwWTsy5bFdxBqYL5urqbyWpUJODJ+gZiAry1s8o2x+KC/xzMwhO5P1vBJRBCQPqYcY/MV9JokoMSgZ 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)(39860400002)(136003)(376002)(346002)(230922051799003)(1800799009)(186009)(82310400011)(64100799003)(451199024)(36840700001)(46966006)(40470700004)(70206006)(4744005)(40480700001)(70586007)(316002)(86362001)(31696002)(2906002)(6916009)(5660300002)(44832011)(40460700003)(41300700001)(8676002)(8936002)(31686004)(478600001)(81166007)(6506007)(336012)(47076005)(6512007)(6486002)(82740400003)(356005)(26005)(966005)(36860700001)(533714008); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2023 15:39:36.4456 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ee6f68cd-7a63-44fb-9387-08dbcff06f07 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: AM4PEPF00027A60.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8651 X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, KAM_DMARC_NONE, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=no 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780108340457553150 X-GMAIL-MSGID: 1780108340457553150 |
Series |
target_version and aarch64 function multiversioning
|
|
Message
Andrew Carlotti
Oct. 18, 2023, 3:39 p.m. UTC
This series adds support for function multiversioning on aarch64. There are a few minor issues in patch 2/3, that I intend to fix in future versions or follow-up patches. I also have some open questions about the correctness of existing function multiversioning implementations [1], that could affect some details of this patch series. Patches 1/3 and 2/3 both pass regression testing on x86. Patch 2/3 requires adding function multiversioning tests to aarch64, which I haven't included yet. Patch 3/3 demonstrates a potential approach for improving consistency of symbol naming between target_clones and target/target_version multiversioning, but would require agreement on how to resolve some of the issues discussed in [1]. Thanks, Andrew [1] https://gcc.gnu.org/pipermail/gcc/2023-October/242686.html