Message ID | 20230511121919.16923-11-christophe.lyon@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=L5aKfrdc; dkim-atps=neutral Received: from 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QHB072MCLz214S for <incoming@patchwork.ozlabs.org>; Thu, 11 May 2023 22:24:07 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 88AC9389EC62 for <incoming@patchwork.ozlabs.org>; Thu, 11 May 2023 12:24:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88AC9389EC62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683807844; bh=cEsg4ThFXBRtbp1Wl/4PUk+rmRkT13fnBjB2woCh89k=; h=To:CC:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=L5aKfrdcwd1TkWHDr4Dm03g1aIiyjnIWyN4G7pXnTzWYZopN/CUkNcvMScJa20HyM 1NVshIvpnfBaPPo48JVVXEHpVc+n+fEDcMqdc9Hg+fq9DtFs5b1m8r3Qmix9VAkEuX sE4D9Pdqx5+34gwvTpIOA1GaizdAd3ZV5PIXSR7w= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2067.outbound.protection.outlook.com [40.107.20.67]) by sourceware.org (Postfix) with ESMTPS id CFC51385696A for <gcc-patches@gcc.gnu.org>; Thu, 11 May 2023 12:19:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CFC51385696A Received: from AM7PR02CA0011.eurprd02.prod.outlook.com (2603:10a6:20b:100::21) by DB8PR08MB5308.eurprd08.prod.outlook.com (2603:10a6:10:f9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.22; Thu, 11 May 2023 12:19:37 +0000 Received: from AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:100:cafe::1) by AM7PR02CA0011.outlook.office365.com (2603:10a6:20b:100::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.22 via Frontend Transport; Thu, 11 May 2023 12:19:37 +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 AM7EUR03FT006.mail.protection.outlook.com (100.127.141.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.22 via Frontend Transport; Thu, 11 May 2023 12:19:37 +0000 Received: ("Tessian outbound 8b05220b4215:v136"); Thu, 11 May 2023 12:19:37 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 168e6e3fb285b067 X-CR-MTA-TID: 64aa7808 Received: from 76da8bffd834.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 514E367B-6275-447D-A00F-3DBC84C8D2D1.1; Thu, 11 May 2023 12:19:30 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 76da8bffd834.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 11 May 2023 12:19:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MzRxXpYFR+DhNTaLA9xBpNIsuz+f/z//fKxVQOvtiqH+Mo+w4JFvJXB1t1UkkhAft6e6YBwEvsH6/FwdZnwMcdkSsYw2Sehq76AUzlgOqrOgQWxtMioeaVD3yAmAyPcTB5Arkz2ReTdpxs9o4bcJ3zNS/yqnhrP8S2BbufywmsPzJSOpdO/wMy4FRR/4b8eG5+NYo7zfXfh0AvCVzrdh5cjvSPOkjjfog8+hvqp3UXXvSHCvqRGL2fQBpTzZdXtxw/AdpkzO+UPos3xeLBb3+2WbZLBSdDrjYuDO5DtApvuc7arM5bU7+W3IXvfPd9EIX+n3H0kM4s05yclo9HYutA== 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=cEsg4ThFXBRtbp1Wl/4PUk+rmRkT13fnBjB2woCh89k=; b=e4KOE9g43kIZmvIXOVQMOz6U9Jbb5E6tDPij72P/wkzE3xAAZEK3sfFpZXOnNMwcc8FH1N/7gadnbFHA3P52q+YMvpGkxUbiPfT6dUlE7qlcBzzf8ED/PfWx0c8OSJoXgoCeYIOAHlfLiNbp5ziJ7NRlUHKwsSVRmYC3zmrjwPAncbcpxpJV1I/2KGM9wCf88u5ihKrqUXP3F8H0QBGpumsrR0/cN3qskgpjyNakIMhKKLjGgarWjWngXiKZDpeRlnceET4dSbha+7HqBkPJvNgRM4OB3Je6cX8va61FhZkT/YuA0JZn/hsb2xf1pkbrYqvAt1Gg/uc1Ex+5dCb0Gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none Received: from DUZPR01CA0171.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b3::17) by VE1PR08MB5870.eurprd08.prod.outlook.com (2603:10a6:800:1a8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.32; Thu, 11 May 2023 12:19:27 +0000 Received: from DBAEUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:4b3:cafe::db) by DUZPR01CA0171.outlook.office365.com (2603:10a6:10:4b3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.21 via Frontend Transport; Thu, 11 May 2023 12:19:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by DBAEUR03FT026.mail.protection.outlook.com (100.127.142.242) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6387.18 via Frontend Transport; Thu, 11 May 2023 12:19:26 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 11 May 2023 12:19:24 +0000 Received: from e129018.arm.com (10.57.23.121) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.23 via Frontend Transport; Thu, 11 May 2023 12:19:24 +0000 To: <gcc-patches@gcc.gnu.org>, <kyrylo.tkachov@arm.com>, <richard.earnshaw@arm.com>, <richard.sandiford@arm.com> CC: Christophe Lyon <christophe.lyon@arm.com> Subject: [PATCH 11/24] arm: [MVE intrinsics] add binary_acc_int64 shape Date: Thu, 11 May 2023 14:19:06 +0200 Message-ID: <20230511121919.16923-11-christophe.lyon@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230511121919.16923-1-christophe.lyon@arm.com> References: <20230511121919.16923-1-christophe.lyon@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DBAEUR03FT026:EE_|VE1PR08MB5870:EE_|AM7EUR03FT006:EE_|DB8PR08MB5308:EE_ X-MS-Office365-Filtering-Correlation-Id: 361e4de0-7f0f-458f-05f4-08db5219fd03 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: LISaEeEogQh0kwbzD90vS5E4LVe6eDLKc14SxMNzCDFNs44fI0JGNIDnNUUeGCS6NGbN5Jwu9rGqCpjq+n/5L5hpV5Cf9tABKm59zgGEdIsCaLnfjUxU4n7hXasGGb1wPrkoZ9/kk4ESd3HsZUj3Gbu2Z+k2jsY0x3XuWeiWNfHocy1efG0Rc/uWKQydYDLKcjClQ7kI4jv5oUPj44bJee6/9iegyplc9vk2aeAczi+Si2b63YG1grJbP3gfGMzx3G7cir2ZWhBdjEdwbRyWUKbW3wms5BY5GgOnb0+5YYHOOjXafjRY/LEZbbEJdhap7RMCbvUUgxR0JNvhcDsyAJrL3v0c3RYTzKJQE+HZHLGE7XUvZk2xemGQjGb8GEfpm0kVJjckEAl1ZlHZBurYF4h9QNTSgJn7J93v77eiHj1mMhmOas28ilH1szyv+eHHutYkw0SVTHnCOe8HySstDBHQnk/S3j5HSqaKxgyFMqn9wvnxFtVhh9pWNJa/ezIOBoy6kma7Vzg/1Hy+AvG2YlfZoXWbuunOxMTO3DfOZ3TNIoXlAh3kNTx1ucLZjdKAidhVQuWHuUKpEqgA2BsGPX9UseGdgtxznWUWLCW1U6sYvsUMtTrtFaT/gmSv7Yi8kK/wboQqpUcVMfhMGmF3autiz0xvFinXi5q8icD7NIKUX5Dz77B0zGWfHe5zp4lnb4HETVwdyIOU+3P2XuMm+g== X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230028)(4636009)(346002)(39860400002)(396003)(376002)(136003)(451199021)(36840700001)(46966006)(7696005)(110136005)(86362001)(47076005)(82310400005)(6666004)(6636002)(70586007)(186003)(70206006)(4326008)(82740400003)(36756003)(4001150100001)(2906002)(316002)(356005)(81166007)(36860700001)(426003)(26005)(1076003)(336012)(44832011)(41300700001)(478600001)(5660300002)(2616005)(8936002)(8676002)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5870 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 8aa98161-8d2b-440f-675c-08db5219f6aa X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: K4+Ulv/fgCY2kxQzkxqGmZZeShWfdKCBcFSdlIPSoBJ7t36+dbwgYB6jES1th7zGVWRQ81YxhMSTsJ84GMwuaUmZ4zGlT966ILD1oA6gsJLtkS9VlYOWGLA3hZE7jOrhur508ucisrwrs1mnKnNKopTu1S5BhGNdXPsow56Ry3KK2eLJxroQ5PHn1ZaA8FgbtpuBy/Vsn5HcToIAKsYKNPIRuhiBFWTNV0/y8irpV9CfS1Ozcp+37O/m+WUVNQChBr2zVAIB+HE2MoqqSraCpB7OPCEARl5fgum+hwnsv/jUSrcxBgZrQRklsg/oHKx04f9Uy+lqOnVMCpKCxS0ewYK2BB/6MgYRzuqejLuKxrqaZg9XtgyIUJ74XYN3PI/gUxVhgaNK2lS3t93BwCCTBZ/lPeH6CdLy6d3kb8Xn+PsFHTGz0qFovoiz9ex097jR2uKy9j4zLMbtCNR/k4gCfIYo/1wR+26gT8p+NNbssK2S4aiT8Yh3vSBSq72DnhhHoa8EelvK12HV7NuydLI5owxeU6Sn/MojHEKyxIdjRbAFI6qqnrLmhf9YBkWafEvkihiGSTj48UUN0mQJmwqZPqfTSrTdawRYp41qf/hsbCk0ZU5wIFPXbEUAT88t4rircxRNKp2BcIoNlFNaE8crTpM0dk4lwNEDjoOIv/bJkRRxUA9sJdSrfVJygiZ1FayUmqxOETbEIcJyR9mzO2sRr/lQ6KKzaltmdrZFJcPvOHS3pDR4njfcUn3qZKwgME4E 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:(13230028)(4636009)(376002)(39860400002)(396003)(346002)(136003)(451199021)(40470700004)(46966006)(36840700001)(2906002)(4001150100001)(36860700001)(86362001)(2616005)(4326008)(6636002)(36756003)(6666004)(186003)(70206006)(70586007)(47076005)(336012)(426003)(1076003)(26005)(8676002)(8936002)(40460700003)(82310400005)(7696005)(41300700001)(44832011)(110136005)(81166007)(316002)(40480700001)(82740400003)(5660300002)(478600001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2023 12:19:37.4926 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 361e4de0-7f0f-458f-05f4-08db5219fd03 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: AM7EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5308 X-Spam-Status: No, score=-12.6 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, 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.29 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> From: Christophe Lyon via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Christophe Lyon <christophe.lyon@arm.com> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> |
Series |
[01/24] arm: [MVE intrinsics] factorize vaddlvaq
|
expand
|
diff --git a/gcc/config/arm/arm-mve-builtins-shapes.cc b/gcc/config/arm/arm-mve-builtins-shapes.cc index ceb13230da6..f1c3844953a 100644 --- a/gcc/config/arm/arm-mve-builtins-shapes.cc +++ b/gcc/config/arm/arm-mve-builtins-shapes.cc @@ -392,6 +392,29 @@ struct binary_acc_int32_def : public overloaded_base<0> }; SHAPE (binary_acc_int32) +/* <[u]int64>_t vfoo[_<t0>](<T0>_t, <T0>_t) + + Example: vmlaldavq. + int64_t [__arm_]vmlaldavq[_s16](int16x8_t m1, int16x8_t m2) + int64_t [__arm_]vmlaldavq_p[_s16](int16x8_t m1, int16x8_t m2, mve_pred16_t p) */ +struct binary_acc_int64_def : public overloaded_base<0> +{ + void + build (function_builder &b, const function_group_info &group, + bool preserve_user_namespace) const override + { + b.add_overloaded_functions (group, MODE_none, preserve_user_namespace); + build_all (b, "sx64,v0,v0", group, MODE_none, preserve_user_namespace); + } + + tree + resolve (function_resolver &r) const override + { + return r.resolve_uniform (2); + } +}; +SHAPE (binary_acc_int64) + /* <[u]int32>_t vfoo[_<t0>]([u]int32_t, <T0>_t, <T0>_t) Example: vmladavaq. diff --git a/gcc/config/arm/arm-mve-builtins-shapes.h b/gcc/config/arm/arm-mve-builtins-shapes.h index 7f68d41efe6..73e82d2fd7a 100644 --- a/gcc/config/arm/arm-mve-builtins-shapes.h +++ b/gcc/config/arm/arm-mve-builtins-shapes.h @@ -38,6 +38,7 @@ namespace arm_mve extern const function_shape *const binary_lshift; extern const function_shape *const binary_lshift_r; extern const function_shape *const binary_acc_int32; + extern const function_shape *const binary_acc_int64; extern const function_shape *const binary_acca_int32; extern const function_shape *const binary_maxamina; extern const function_shape *const binary_maxavminav;