From patchwork Tue Jan 2 09:23:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezra Sitorus X-Patchwork-Id: 184291 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp4346182dyb; Tue, 2 Jan 2024 01:25:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPh6sjLtWDyom35zLENQ3HPdZFtYbn8wQl0q4h9Aqz6XeYuamzvnDDiu7C/wGVIMq1uoOB X-Received: by 2002:a05:6808:e8d:b0:3bc:1346:9c38 with SMTP id k13-20020a0568080e8d00b003bc13469c38mr1525175oil.94.1704187540722; Tue, 02 Jan 2024 01:25:40 -0800 (PST) ARC-Seal: i=4; a=rsa-sha256; t=1704187540; cv=pass; d=google.com; s=arc-20160816; b=KNckj6MkLPS3q6ZWAsdOBeIrmvkYIgGUAiTGSk1DfWdts+vmw/gYrfiZnS46+fD3QS xLHsyE65NaxluJnSNUBziSZYAelqfySwGc1hiGpFW9qLAvTzil3lQkSQeD3LXz18nJ1L hU4/ZJ+80Z+7oyFo624/p1q0UZEFDEU7VViYYKm9FWtllepNkRD2trXtXr9Qcn2XnhCC SlH8pQ7mHDAz1pDPBbYFkLXFViWYqjtZ1JtICzEDp/SfJ9Hdp3mI+Wn64LudZgDPlovs urgdQV/sSukPHQHh+N+Riyc/Wnaqm5iZDtF+tT0MlF/EUeZp6bYpwxXNIq1hfqGJbOcc rMew== ARC-Message-Signature: i=4; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:nodisclaimer :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=gO5Cd8zOwnnrkvHAzZPDxGoj1k4EfBf0na2XyVpfaww=; fh=Nfw27wyEgniZsGAEbsUUX37vOWF621moG02UMdzco6I=; b=vnM7nLeN+dC13d+S7cOdCiHJIgWfv8D1Zq8EJKcKYBjbwS0qEvd+VdkxCPGQRoB/8A drYX8vZivE1y4gwdQmY0b6xK1hnVjlQbT6D2Ez8iT4n/K8WE//yqNoD1eG+DtnjakxSO uBbg8ygTjACWivY3+CHAh/Q4KbhLQ7qr6CKdrf9wgB+5dcEc67Z5wpMRm8X8HKZTt/RY ucMMFCNVO/iKDmz+UYEf24aCC9O3IksoUvCkDULFXyvcTOlP44OZi2+kF7zAfhmJOOKw fXQVNkympC/4VktUaxQV4FoLer8nBhzdQJxiMgADrlZJVJqTwsyi2yLQa9bp+fKsUSES AUtA== ARC-Authentication-Results: i=4; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=85L31LaW; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=85L31LaW; arc=pass (i=3); 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id u17-20020a0cdd11000000b0067ab557459fsi26423651qvk.305.2024.01.02.01.25.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Jan 2024 01:25:40 -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=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=85L31LaW; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=85L31LaW; arc=pass (i=3); 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=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 C58E33858401 for ; Tue, 2 Jan 2024 09:25:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2067.outbound.protection.outlook.com [40.107.22.67]) by sourceware.org (Postfix) with ESMTPS id 308E83858413 for ; Tue, 2 Jan 2024 09:24:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 308E83858413 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 308E83858413 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.22.67 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1704187444; cv=pass; b=XAK+mIPhTs7fKrctrrpnDuY4O0VkoBt2tTJ4M4DnF3e2u+rpGEpG1GYEKKgB0tRgCa7pjTZ1WnPtUBGoK4Zx+CLi+9xA9vCITD67SNLbbwtoQnJVD8NJ8D+NAgzVPbvfd7GJ+nb+fppw3PB/drt5TPpV1mp0IlmzpCJJkvEqR2U= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1704187444; c=relaxed/simple; bh=8lbZK9cgEMnzL41GRqkEF8lmXLKfc+UDpBfxlvq33z8=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=BjQiGpQ8TsxoLLJh2ln6+jd9PxWauwDASyEqgFIq1gLhDezKL1+Q724VDs4ia2VzcqlzPYWJaisPkFtDtKRkXs8Fmwk4jH06lbdU7KQpL9DiTSmhf3thPu0MUUq+KeODz7hV3dtJvoX7x0ZOipgwuI7XxTDBttkCl2vgAuTXHrs= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=nMjI7Ia4pwUwGVMHATmZyNLjh/Qk1tC/xCOlFQhvFibnkB41mpy7ssWbtX4gJAepBAOht5Dv2xIgExu1UljDNNuMyH9kvmKdjhq2EjX+jI0CHkFzahhIKKab6ZLMfz5V2iFM1E2fk3Mvo+OZ71ECCS3zUvOZ0rugePu3lxK98gU5OEXnbb24txyDbNjX7aZBdhHEOgtM2NtHnNd/F5/pI8rvkO6OerbVzgINV0K5cJx2Nsfn38QRP4m+YvdbhWQueB95KSnjK2lqi2kFhqZfhIM/rqaqckMfa644ZO1SveBjIC8uuBNUsU+V2VFmkW0zJUllHRhOhcmeII745aGXWg== 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=gO5Cd8zOwnnrkvHAzZPDxGoj1k4EfBf0na2XyVpfaww=; b=bCXGpJXQk606SmOzD3aa4tWwt7qk14CKfN1jhGt3M+PwOuGorFFO/iPOc739wLVCB1c5ShWHsN3frNgHVsPpon0KZ9OLbH5oYRYqslE2WHsxo62yaO3XBOg9zzUDTzpxrJPrEzcRW708rm9Iv/rJc3qHVf3/axvqqnZKSzMa4iitYqNig4/w8ZMUB1KDWiGSIK3zcrAcqvChvadYm8PNNtLUGNyimm9WOhsOzbNE5fZqgI7tJAIWfP+jYUNFqZGJ95o4Cuqjud9z3nbqaxTwY8ttknOYXWDmSc+aOlqme/+ygAHakZ5zL0Mki0QMxnQ0BSW9Ci/zAPgRi6uEeJKhVA== 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] 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=gO5Cd8zOwnnrkvHAzZPDxGoj1k4EfBf0na2XyVpfaww=; b=85L31LaW3AlhuV82+zsZcQS0JcH3IMbQeCpGIZ+hnsYwnYTFGRwPfqjF7/In23oGBSL9kkb7HUylmUt7S0RW0/sFQkHoYdZ4wrqkmSI2idHA3TZIxaQlLx9vZm5BR/pd1J//oeQJomDSfM7hs8pmsaIk+g8NtxHBgNTAHedD1aU= Received: from AS8PR05CA0016.eurprd05.prod.outlook.com (2603:10a6:20b:311::21) by AM8PR08MB6323.eurprd08.prod.outlook.com (2603:10a6:20b:354::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Tue, 2 Jan 2024 09:23:58 +0000 Received: from AMS1EPF00000048.eurprd04.prod.outlook.com (2603:10a6:20b:311:cafe::90) by AS8PR05CA0016.outlook.office365.com (2603:10a6:20b:311::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.24 via Frontend Transport; Tue, 2 Jan 2024 09:23:58 +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 AMS1EPF00000048.mail.protection.outlook.com (10.167.16.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.9 via Frontend Transport; Tue, 2 Jan 2024 09:23:58 +0000 Received: ("Tessian outbound 385ad2f98d71:v228"); Tue, 02 Jan 2024 09:23:58 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e107fd5a201b8b69 X-CR-MTA-TID: 64aa7808 Received: from df66ab05e715.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F4DE8C16-D3C5-4152-9432-3D64257A12ED.1; Tue, 02 Jan 2024 09:23:51 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id df66ab05e715.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 02 Jan 2024 09:23:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jEDjizm61tRwBKHtVho5J7vPjL8zjF3Xat3z7ZhP+YgRFbDuZUt3TZquSVCViw7fB2DI8u3v+aZOlfSxY/7JZBLDFFjBDEDsWf1MI/wz88y0gUfRjGWFPlprFE5YIwU6mJlMOU33cKCyXHgvpqM/t8M/Y+ntPVXAoDLuvrelwetTze2fcDWKIMq4btB11FdK46KLfIreEioiI4b5Ew9Mfr58YNiOtbZDHraiB7wdlNc3D+/C7ze7DCPnxU/5EtH58pdkZQ4YPPsfnDYZjV1HBQfX9xZhEaTr/QfyCpeaUJKfvygluh5qgKPZYmWkiSFTilujPFKycPefbsxhdAH3Fg== 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=gO5Cd8zOwnnrkvHAzZPDxGoj1k4EfBf0na2XyVpfaww=; b=P0tMGUrZ+mU/pbJPrPdApAxpKE6VWdLYrELSj3tfBxrUc8z6zgBnMTREx641rfhRHfIfwitcAvN1EjdhM4Kgh98qTtQJxFLnuqStC/HrhBydITkQ+5U4c/eHPupq7CcmJYCjmmkLJ6c9YcmzFFGwj5AMdW7koQA3VH1krUff+WJsDRH8kAG5d3rubF5ovaPi8LHCdKB/TEgngLJQ952YN70v1RityKHwIXEMieG8VrR9R+4d4hQMkb7OakZ7xtqLXqvWYRS1w4HmCIJ1Xdesngdzbo/ZNGltKBOh5dNpoqIyFnZL/KdOI6IliwMKdy09PZEXt3dnI35fLmqIyphnfQ== 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 (0) 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=gO5Cd8zOwnnrkvHAzZPDxGoj1k4EfBf0na2XyVpfaww=; b=85L31LaW3AlhuV82+zsZcQS0JcH3IMbQeCpGIZ+hnsYwnYTFGRwPfqjF7/In23oGBSL9kkb7HUylmUt7S0RW0/sFQkHoYdZ4wrqkmSI2idHA3TZIxaQlLx9vZm5BR/pd1J//oeQJomDSfM7hs8pmsaIk+g8NtxHBgNTAHedD1aU= Received: from AM8P251CA0021.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:21b::26) by DB9PR08MB8626.eurprd08.prod.outlook.com (2603:10a6:10:3d2::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25; Tue, 2 Jan 2024 09:23:49 +0000 Received: from AMS0EPF000001AF.eurprd05.prod.outlook.com (2603:10a6:20b:21b:cafe::9e) by AM8P251CA0021.outlook.office365.com (2603:10a6:20b:21b::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.25 via Frontend Transport; Tue, 2 Jan 2024 09:23:49 +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 AMS0EPF000001AF.mail.protection.outlook.com (10.167.16.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7159.9 via Frontend Transport; Tue, 2 Jan 2024 09:23:49 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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.32; Tue, 2 Jan 2024 09:23:48 +0000 Received: from e127754.cambridge.arm.com (10.1.26.16) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.32 via Frontend Transport; Tue, 2 Jan 2024 09:23:48 +0000 From: To: CC: Subject: [PATCH v3 01/12] [GCC] arm: vld1q_types_x2 ACLE intrinsics Date: Tue, 2 Jan 2024 09:23:34 +0000 Message-ID: <20240102092345.28370-2-Ezra.Sitorus@arm.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20240102092345.28370-1-Ezra.Sitorus@arm.com> References: <20240102092345.28370-1-Ezra.Sitorus@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AMS0EPF000001AF:EE_|DB9PR08MB8626:EE_|AMS1EPF00000048:EE_|AM8PR08MB6323:EE_ X-MS-Office365-Filtering-Correlation-Id: a451f9dc-f551-408c-5925-08dc0b748cbc 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: MCvqHMY58PrzHgWjDMGnEmBjpPd45QtgnL/U2K9IGXLmM/2/Q8MCx/OahtqR6lCA4Pmf0gpZeJtCFYmKJvhFEl/K+ivBFzSO1R7oliX7zIam3Df41X/lHJMzit8LbVesjFUP7jt4QAlpWs+F/a4mcTyNlhrYIQeCWovDJyYNIMzQuL5E2eVhWA+B/xXxy2q6a1uJUhLTAaKjl4I3N9HrQMg3nDabYMPMkesjlBrpvGUfDAQguOh4b/MG4vUsuoD0iilJzFqTiw1TDD0e9JmSDelTszAFADKLY62Pgq6Dv44ZYsgERtXHzeRSOeG4mUoGgaxDw3bzzgSyLtnhhvj3S6CiYcQAgAVshDOktRG7vWGsY2SFNzaWpAA1sZirE8R3/CKQbdTdws08F4io39HzJC08/Pk1ikyPvVTr5djRUDtr5O+M4Oh+Q+aK0zXvHmX4Fz1GvcNVGP5v5ZHwMTofiv/cYC0QHuTZTvb9sEzwFxeXE8MutGgFIuNF+vJ9hFng742GauY+WdKq+jSAKl4FNDp2PCm3D0GZBVA7qxJCgghkPQwwAF4yXDsHzpCEZo++Bst9E2/nZC9oIJECYZQa+pMSPqLljiETtIKWx98O0IweT6ptw7BIwTUHtiZrre81gIpCLHQJcoNG+5gFWobrPgRIa+C+jjZRPaS1g5fWA7s9AH0RTfc+lODBpt/1EfyLIg0CZ3u8j/beZdJ/A1droVDYyrTh5J24V73jY+lnAP/9D+r7NweU5/ev+MR4QwQk5cX3isjrlYSElLUa5SIh1kTDhDpPPEK8TwhBZnGC4dCPov7zW+yuvX2Z9wf4HWQNjOuJWV/citBIVsjsDKy9ydX1iqNhKeb54rNKwotr6C0= 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:(13230031)(4636009)(346002)(136003)(376002)(396003)(39860400002)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(82310400011)(40470700004)(46966006)(36840700001)(426003)(1076003)(2616005)(336012)(26005)(36860700001)(83380400001)(81166007)(356005)(82740400003)(47076005)(70586007)(70206006)(36756003)(316002)(6916009)(966005)(478600001)(86362001)(5660300002)(2876002)(2906002)(30864003)(8936002)(8676002)(4326008)(84970400001)(40480700001)(40460700003)(6666004)(7696005)(41300700001)(87944015)(36900700001)(357404004); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB8626 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS1EPF00000048.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6a9eb0a0-634c-4805-bbee-08dc0b74872b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: N5zDKDdQUrHdzp+3NrZz268YI8nnlzaE3NAphOae/W6nW7XVYRLksKLorFexwL/xEa8abc3y5BbiGfhUD9EVNHEEhznpJfFEUyP1dCfPkjmFXG6skaW8stVMe7jKZCBMCmqCKOb78j24Wut02CrEzrVPYLjNMIHF5V/XABNRkJHYGTbccE7nfScljPW+qSKI2k95lxu1HvJ7s4cxSZvyTNwyxWD4NvLlnNJCEoOYpz71bQwV2jPNVBAHcn4adlZ+fxm1UiGgHK8SSlEzMbYCULWI9rASx1kqDF7qvxE+yhOCVksNxJWGUwy3ZPK6hqlqkbULH9du2ZEKxZm2xiLWq37NcH6TlHVIoC/uqsFVmKqhCnEv+6Ox7IrtSPg88W1D7g6ODLmTId2ICb7fFuStS+2LqL9dwURgHyd7Z76lJDY6ruK4luN0e+6D63FnzsHBcanhv7iUXRb3UxgqWneWSkpFlpod8WYS/W06yxTiHTLly1RoKsDpsmPZc4sZY2Ya6KJXEZYSFiXC7Jd0s22L1dFI9sGYOUyUGzfXZDunMyEi0TW41sqnFCxqohe//zdE4iufboF8usnsxKLaeRFZduKiN/4x8x46zY001Zf9Hq2Cb8TCVAVTiRsqKmfLqlzkqj0cxLzk3S8S9zEzTqCNgrgoIlxSoROtmpExFXfjPOTU8xB/afr01+LVTs1vIetHGbyQiyWD2pGm3hl2IwnF/FhJGdPwReHH32oI5/oivd9qxGZh/EPhg3y9ZOtIy7R7ovlhCDrde714Q4nb5RLx+oYgJtMi2Zawqkumi7prBHuzy1/krlNXKESCHVd6AUL8 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)(136003)(376002)(396003)(346002)(39860400002)(230922051799003)(82310400011)(451199024)(1800799012)(64100799003)(186009)(40470700004)(46966006)(36840700001)(2616005)(83380400001)(47076005)(26005)(1076003)(336012)(426003)(81166007)(82740400003)(41300700001)(8936002)(8676002)(316002)(4326008)(30864003)(5660300002)(2876002)(2906002)(36860700001)(478600001)(6666004)(966005)(70206006)(6916009)(7696005)(70586007)(86362001)(36756003)(40480700001)(84970400001)(40460700003)(87944015)(357404004); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jan 2024 09:23:58.4408 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a451f9dc-f551-408c-5925-08dc0b748cbc 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: AMS1EPF00000048.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB6323 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, FORGED_SPF_HELO, GIT_PATCH_0, KAM_DMARC_NONE, 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+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786970154621772270 X-GMAIL-MSGID: 1786970154621772270 From: Ezra Sitorus This patch is part of a series of patches implementing the _xN variants of the vld1q intrinsic for the arm port. This patch adds the _x2 variants of the vld1q intrinsic. ACLE documents: https://developer.arm.com/documentation/ihi0053/latest/ ISA documents: https://developer.arm.com/documentation/ddi0487/latest/ gcc/ChangeLog: * config/arm/arm_neon.h (vld1q_u8_x2, vld1q_u16_x2, vld1q_u32_x2, vld1q_u64_x2): New. (vld1q_s8_x2, vld1q_s16_x2, vld1q_s32_x2, vld1q_s64_x2): New. (vld1q_f16_x2, vld1q_f32_x2): New. (vld1q_p8_x2, vld1q_p16_x2, vld1q_p64_x2): New. (vld1q_bf16_x2): New. * config/arm/arm_neon_builtins.def (vld1_x2): New entries. * config/arm/neon.md (vld1_x2): New. gcc/testsuite/ChangeLog: * gcc.target/arm/simd/vld1q_base_xN_1.c: Add new test. * gcc.target/arm/simd/vld1q_bf16_xN_1.c: Add new test. * gcc.target/arm/simd/vld1q_fp16_xN_1.c: Add new test. * gcc.target/arm/simd/vld1q_p64_xN_1.c: Add new test. --- gcc/config/arm/arm_neon.h | 128 ++++++++++++++++++ gcc/config/arm/arm_neon_builtins.def | 1 + gcc/config/arm/neon.md | 10 ++ .../gcc.target/arm/simd/vld1q_base_xN_1.c | 67 +++++++++ .../gcc.target/arm/simd/vld1q_bf16_xN_1.c | 13 ++ .../gcc.target/arm/simd/vld1q_fp16_xN_1.c | 14 ++ .../gcc.target/arm/simd/vld1q_p64_xN_1.c | 14 ++ 7 files changed, 247 insertions(+) create mode 100644 gcc/testsuite/gcc.target/arm/simd/vld1q_base_xN_1.c create mode 100644 gcc/testsuite/gcc.target/arm/simd/vld1q_bf16_xN_1.c create mode 100644 gcc/testsuite/gcc.target/arm/simd/vld1q_fp16_xN_1.c create mode 100644 gcc/testsuite/gcc.target/arm/simd/vld1q_p64_xN_1.c diff --git a/gcc/config/arm/arm_neon.h b/gcc/config/arm/arm_neon.h index cdfdb44259a..3eb41c6bdc8 100644 --- a/gcc/config/arm/arm_neon.h +++ b/gcc/config/arm/arm_neon.h @@ -10403,6 +10403,15 @@ vld1q_p64 (const poly64_t * __a) return (poly64x2_t)__builtin_neon_vld1v2di ((const __builtin_neon_di *) __a); } +__extension__ extern __inline poly64x2x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_p64_x2 (const poly64_t * __a) +{ + union { poly64x2x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v2di ((const __builtin_neon_di *) __a); + return __rv.__i; +} + #pragma GCC pop_options __extension__ extern __inline int8x16_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) @@ -10432,6 +10441,42 @@ vld1q_s64 (const int64_t * __a) return (int64x2_t)__builtin_neon_vld1v2di ((const __builtin_neon_di *) __a); } +__extension__ extern __inline int8x16x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_s8_x2 (const int8_t * __a) +{ + union { int8x16x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v16qi ((const __builtin_neon_qi *) __a); + return __rv.__i; +} + +__extension__ extern __inline int16x8x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_s16_x2 (const int16_t * __a) +{ + union { int16x8x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v8hi ((const __builtin_neon_hi *) __a); + return __rv.__i; +} + +__extension__ extern __inline int32x4x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_s32_x2 (const int32_t * __a) +{ + union { int32x4x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v4si ((const __builtin_neon_si *) __a); + return __rv.__i; +} + +__extension__ extern __inline int64x2x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_s64_x2 (const int64_t * __a) +{ + union { int64x2x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v2di ((const __builtin_neon_di *) __a); + return __rv.__i; +} + #if defined (__ARM_FP16_FORMAT_IEEE) || defined (__ARM_FP16_FORMAT_ALTERNATIVE) __extension__ extern __inline float16x8_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) @@ -10448,6 +10493,26 @@ vld1q_f32 (const float32_t * __a) return (float32x4_t)__builtin_neon_vld1v4sf ((const __builtin_neon_sf *) __a); } +#if defined (__ARM_FP16_FORMAT_IEEE) || defined (__ARM_FP16_FORMAT_ALTERNATIVE) +__extension__ extern __inline float16x8x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_f16_x2 (const float16_t * __a) +{ + union { float16x8x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v8hf (__a); + return __rv.__i; +} +#endif + +__extension__ extern __inline float32x4x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_f32_x2 (const float32_t * __a) +{ + union { float32x4x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v4sf ((const __builtin_neon_sf *) __a); + return __rv.__i; +} + __extension__ extern __inline uint8x16_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) vld1q_u8 (const uint8_t * __a) @@ -10476,6 +10541,42 @@ vld1q_u64 (const uint64_t * __a) return (uint64x2_t)__builtin_neon_vld1v2di ((const __builtin_neon_di *) __a); } +__extension__ extern __inline uint8x16x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_u8_x2 (const uint8_t * __a) +{ + union { uint8x16x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v16qi ((const __builtin_neon_qi *) __a); + return __rv.__i; +} + +__extension__ extern __inline uint16x8x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_u16_x2 (const uint16_t * __a) +{ + union { uint16x8x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v8hi ((const __builtin_neon_hi *) __a); + return __rv.__i; +} + +__extension__ extern __inline uint32x4x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_u32_x2 (const uint32_t * __a) +{ + union { uint32x4x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v4si ((const __builtin_neon_si *) __a); + return __rv.__i; +} + +__extension__ extern __inline uint64x2x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_u64_x2 (const uint64_t * __a) +{ + union { uint64x2x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v2di ((const __builtin_neon_di *) __a); + return __rv.__i; +} + __extension__ extern __inline poly8x16_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) vld1q_p8 (const poly8_t * __a) @@ -10490,6 +10591,24 @@ vld1q_p16 (const poly16_t * __a) return (poly16x8_t)__builtin_neon_vld1v8hi ((const __builtin_neon_hi *) __a); } +__extension__ extern __inline poly8x16x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_p8_x2 (const poly8_t * __a) +{ + union { poly8x16x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v16qi ((const __builtin_neon_qi *) __a); + return __rv.__i; +} + +__extension__ extern __inline poly16x8x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_p16_x2 (const poly16_t * __a) +{ + union { poly16x8x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v8hi ((const __builtin_neon_hi *) __a); + return __rv.__i; +} + __extension__ extern __inline int8x8_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) vld1_lane_s8 (const int8_t * __a, int8x8_t __b, const int __c) @@ -19782,6 +19901,15 @@ vld1q_bf16 (const bfloat16_t * __ptr) return __builtin_neon_vld1v8bf (__ptr); } +__extension__ extern __inline bfloat16x8x2_t +__attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) +vld1q_bf16_x2 (const bfloat16_t * __ptr) +{ + union { bfloat16x8x2_t __i; __builtin_neon_oi __o; } __rv; + __rv.__o = __builtin_neon_vld1_x2v8bf ((const __builtin_neon_bf *) __ptr); + return __rv.__i; +} + __extension__ extern __inline bfloat16x4x2_t __attribute__ ((__always_inline__, __gnu_inline__, __artificial__)) vld2_bf16 (bfloat16_t const * __ptr) diff --git a/gcc/config/arm/arm_neon_builtins.def b/gcc/config/arm/arm_neon_builtins.def index 94b15238123..5fadd255c18 100644 --- a/gcc/config/arm/arm_neon_builtins.def +++ b/gcc/config/arm/arm_neon_builtins.def @@ -298,6 +298,7 @@ VAR1 (TERNOP, vtbx1, v8qi) VAR1 (TERNOP, vtbx2, v8qi) VAR1 (TERNOP, vtbx3, v8qi) VAR1 (TERNOP, vtbx4, v8qi) +VAR7 (LOAD1, vld1_x2, v16qi, v8hi, v4si, v2di, v8hf, v4sf, v8bf) VAR13 (LOAD1, vld1, v8qi, v4hi, v4hf, v2si, v2sf, v16qi, v8hi, v8hf, v4si, v4sf, v2di, v4bf, v8bf) diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index d213369ffc3..55049ea549f 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -4957,6 +4957,16 @@ if (BYTES_BIG_ENDIAN) [(set_attr "type" "neon_load1_1reg")] ) +(define_insn "neon_vld1_x2" + [(set (match_operand:OI 0 "s_register_operand" "=w") + (unspec:OI [(match_operand:OI 1 "neon_struct_operand" "Um") + (unspec:VQXBF [(const_int 0)] UNSPEC_VSTRUCTDUMMY)] + UNSPEC_VLD1))] + "TARGET_NEON" + "vld1.\t%h0, %A1" + [(set_attr "type" "neon_load1_2reg")] +) + ;; The lane numbers in the RTL are in GCC lane order, having been flipped ;; in arm_expand_neon_args. The lane numbers are restored to architectural ;; lane order here. diff --git a/gcc/testsuite/gcc.target/arm/simd/vld1q_base_xN_1.c b/gcc/testsuite/gcc.target/arm/simd/vld1q_base_xN_1.c new file mode 100644 index 00000000000..1d31777afdf --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/simd/vld1q_base_xN_1.c @@ -0,0 +1,67 @@ +/* { dg-do assemble } */ +/* { dg-require-effective-target arm_neon_ok } */ +/* { dg-options "-save-temps -O2" } */ +/* { dg-add-options arm_neon } */ + +#include "arm_neon.h" + +uint8x16x2_t test_vld1q_u8_x2 (uint8_t * a) +{ + return vld1q_u8_x2 (a); +} + +uint16x8x2_t test_vld1q_u16_x2 (uint16_t * a) +{ + return vld1q_u16_x2 (a); +} + +uint32x4x2_t test_vld1q_u32_x2 (uint32_t * a) +{ + return vld1q_u32_x2 (a); +} + +uint64x2x2_t test_vld1q_u64_x2 (uint64_t * a) +{ + return vld1q_u64_x2 (a); +} + +int8x16x2_t test_vld1q_s8_x2 (int8_t * a) +{ + return vld1q_s8_x2 (a); +} + +int16x8x2_t test_vld1q_s16_x2 (int16_t * a) +{ + return vld1q_s16_x2 (a); +} + +int32x4x2_t test_vld1q_s32_x2 (int32_t * a) +{ + return vld1q_s32_x2 (a); +} + +int64x2x2_t test_vld1q_s64_x2 (int64_t * a) +{ + return vld1q_s64_x2 (a); +} + +float32x4x2_t test_vld1q_f32_x2 (float32_t * a) +{ + return vld1q_f32_x2 (a); +} + +poly8x16x2_t test_vld1q_p8_x2 (poly8_t * a) +{ + return vld1q_p8_x2 (a); +} + +poly16x8x2_t test_vld1q_p16_x2 (poly16_t * a) +{ + return vld1q_p16_x2 (a); +} + +/* { dg-final { scan-assembler-times {vld1.8\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+\]\n} 3 } } */ +/* { dg-final { scan-assembler-times {vld1.16\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+\]\n} 3 } } */ +/* { dg-final { scan-assembler-times {vld1.32\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+\]\n} 3 } } */ +/* { dg-final { scan-assembler-times {vld1.64\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+:64\]\n} 2 } } */ + diff --git a/gcc/testsuite/gcc.target/arm/simd/vld1q_bf16_xN_1.c b/gcc/testsuite/gcc.target/arm/simd/vld1q_bf16_xN_1.c new file mode 100644 index 00000000000..5f6fc98640e --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/simd/vld1q_bf16_xN_1.c @@ -0,0 +1,13 @@ +/* { dg-do assemble } */ +/* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */ +/* { dg-options "-save-temps -O2" } */ +/* { dg-add-options arm_v8_2a_bf16_neon } */ + +#include "arm_neon.h" + +bfloat16x8x2_t test_vld1q_bf16_x2 (bfloat16_t * a) +{ + return vld1q_bf16_x2 (a); +} + +/* { dg-final { scan-assembler-times {vld1.16\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+\]\n} 1 } } */ diff --git a/gcc/testsuite/gcc.target/arm/simd/vld1q_fp16_xN_1.c b/gcc/testsuite/gcc.target/arm/simd/vld1q_fp16_xN_1.c new file mode 100644 index 00000000000..aecf491a4de --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/simd/vld1q_fp16_xN_1.c @@ -0,0 +1,14 @@ +/* { dg-do assemble } */ +/* { dg-require-effective-target arm_neon_fp16_ok } */ +/* { dg-options "-save-temps -O2" } */ +/* { dg-add-options arm_neon_fp16 } */ + +#include "arm_neon.h" + +float16x8x2_t test_vld1q_f16_x2 (float16_t * a) +{ + return vld1q_f16_x2 (a); +} + +/* { dg-final { scan-assembler-times {vld1.16\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+\]\n} 1 } } */ + diff --git a/gcc/testsuite/gcc.target/arm/simd/vld1q_p64_xN_1.c b/gcc/testsuite/gcc.target/arm/simd/vld1q_p64_xN_1.c new file mode 100644 index 00000000000..04ceb5e4a24 --- /dev/null +++ b/gcc/testsuite/gcc.target/arm/simd/vld1q_p64_xN_1.c @@ -0,0 +1,14 @@ +/* { dg-do assemble } */ +/* { dg-require-effective-target arm_crypto_ok } */ +/* { dg-options "-save-temps -O2" } */ +/* { dg-add-options arm_crypto } */ + +#include "arm_neon.h" + +poly64x2x2_t test_vld1q_p64_x2 (poly64_t * a) +{ + return vld1q_p64_x2 (a); +} + +/* { dg-final { scan-assembler-times {vld1.64\t\{d[0-9]+-d[0-9]+\}, \[r[0-9]+:64\]\n} 1 } } */ +