From patchwork Wed Nov 6 11:46:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tejas Belagod X-Patchwork-Id: 2007450 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=PVj8hk2h; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=PVj8hk2h; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xk3Ps5xG0z1xyW for ; Wed, 6 Nov 2024 22:48:49 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0B9A43858027 for ; Wed, 6 Nov 2024 11:48:48 +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-am6eur05on20601.outbound.protection.outlook.com [IPv6:2a01:111:f403:2612::601]) by sourceware.org (Postfix) with ESMTPS id E994D3858D34 for ; Wed, 6 Nov 2024 11:46:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E994D3858D34 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 E994D3858D34 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2612::601 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1730893617; cv=pass; b=UyAH/FOMjpYha2T5/8OvkLusonT006dXEHwFhu9R2cZ60Aq+tUpt5eYhXZhZxwgmyXw5Udt977VQ7Pr5wyS4ccdy3r1QA7yRc1vB4HkvdNGnrtCVLzOqgKOiUTfSGFyTE1eZEDba2w6OPubyqpR6P4XdmUkIgE4H6P6dTEN56Q4= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1730893617; c=relaxed/simple; bh=Us5fR6AwwkRHgxDGqNGlBvzYiiJ/Ih7PgDyfipH9IbU=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=wanAK46vcsKKjR1/qbEAg7r/+M40AtNLamkPRgiWcWWRJRmIAP3s3Ow68Vs+vNV1n2lNtPuk+y/+ea8Eq4XyCdRZhfotiF+bpbVKe0nwVkjhvVL53s61H2jQfu38r2M4E8WTMWICL8Bc1/OBNE7aKDC4gGZ5JJER6lDS73eC15A= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=w8XKrRiL1RxxQItDmQd0DLi2GnzANcDQxEZ2amQ2JSYD0CEgRmDHBDyoz4P4g2w3AAavSXh2QQacJj1gfWb+mIwfaq7TEXYXYp4ugzEcJ8/Li1PkxR0Ew3iW8SgjF9japkvHkgLWHeN/kd2zs6X4OyFwjW3pLaa+qL62ActAOzq0T8Gto4PfU5JrE5ls/GfEZQYGADw8Bna5CU6e1eRDTl5u/WiPpC0AFMIFWoC65viUgv8MDXfkIIqy7VLjyxNd/r/fxsnrVqfdzKRw6VCBq/2Z6sP7pkQoz0JRkD0ylw/73Airty7N6LLPMFZz51NtI0dDQxclVwGvAmS9i3GSmg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2UyhUWois1ngzZQNcpqsZbwDjFH8Isw0oQHlptBmVCk=; b=rUlQnhmhRLRysW5wH/oi6bdJPewqBn0zUbGAVU6+gHsNO/QD9Jk0kg8hOpB6EdZg8zPua+MwQp1UnKlr4PVr7MB+L2D6zylSC63kiueHBG2PJC7g7qE2SyAHJOO4sQmcpt+vEft8q5vfAI08jN+kVxwXvY/6t8lph779SMWy/9E7oQBqa1fdHqY0JWqUAmyIg9cHofaOh3PxJyfahU6Noztd8mqVs1Y0ucCR+cmRFFxCpsQ7jhrYCsL/iC9ytwc6AuQ5Oy31SXU+57/iQrI64I58V1rbMBqWoK+72l/G5nPRaldnaDHsixhJ53FBwt6/xfTq/avgaoaXiT9T36lWFg== 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=arm.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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2UyhUWois1ngzZQNcpqsZbwDjFH8Isw0oQHlptBmVCk=; b=PVj8hk2hUZA+6NZoqW8yxrr1/KWflIJuE5tEmT3vvdUvc6H6uvxTgfv70DkF5wlvoGP1ta3ISUb67/aX/CtSj/dFzFWd9bu98LwT59qlQSCcSghiekyFQwRraA72yHnqmaQFZfwe1UG4YqCQAPz7FoSxhrFonGwfQkJQSkqrm0E= Received: from DB8P191CA0009.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::19) by DB3PR08MB9033.eurprd08.prod.outlook.com (2603:10a6:10:43b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.31; Wed, 6 Nov 2024 11:46:37 +0000 Received: from DB5PEPF00014B9C.eurprd02.prod.outlook.com (2603:10a6:10:130:cafe::86) by DB8P191CA0009.outlook.office365.com (2603:10a6:10:130::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30 via Frontend Transport; Wed, 6 Nov 2024 11:46: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=arm.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 DB5PEPF00014B9C.mail.protection.outlook.com (10.167.8.170) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8137.17 via Frontend Transport; Wed, 6 Nov 2024 11:46:35 +0000 Received: ("Tessian outbound 373849c2df5a:v490"); Wed, 06 Nov 2024 11:46:35 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 7147690358398b6f X-TessianGatewayMetadata: DZXakfAuUUuviSlcmiNQSzjpVrnGduwwPjZhiLvEtLl/ZZHABLzmd23wc8Z94S3b4H60LQMHER05l//J9cTgc+UL5KiWiEt0OPt1CM2XTshDcTQQBZ6MlK1L5AmNC/tNcZbRaEzYhsXE1K+UcnttQSQG3QRcygbtWkaubew6C5Y= X-CR-MTA-TID: 64aa7808 Received: from L025d62d9edf1.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 6F2EFA83-F24B-4024-8847-223E3F1E97F6.1; Wed, 06 Nov 2024 11:46:29 +0000 Received: from EUR03-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L025d62d9edf1.1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 06 Nov 2024 11:46:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Y6E7MqnLFQizoVRhPUfOQ6yXy3ixnQvwVY+IhncPTgf35nksUGtNuyXUXeHnkZewCX+BQ9RQ1GCtxHe1TbvU51Mjns8yIhES99ZtQkuNP9tM6Kg7rEUws2aw8thwek5IQodQSUvMMtKBIhj7d6n93QxkGDLg9lnCUauhVHzUG5WxKZy4QQGnlY6flNMNCLm3PEFvc/ZElBeh4fCNxqvA0j/EyCNjbvh5ZaO+Ty8BHEdetMIfKHGqLFF32+y1nZLUxWsI/jt9NDRd0x//3R9YV+FFBq5nUYbL7xqvbj/jGr8Fu1699/9nQIs7CQWgI7U4YLOaRzAj9Pvq4cPYLKawdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=2UyhUWois1ngzZQNcpqsZbwDjFH8Isw0oQHlptBmVCk=; b=s9fTNgd15GE2h8V1TH1RbmnHdCYO6EzuAlgzLVQaxTTtfgO6VMkHK39mBbksM6AtbdzTR/kVsFgzkyFexMvFdND9BWw5HKpp43YpGlYxBQ6J/IcXOmRnBZrWdxBYEjHD+SaR4Y9NA0Fz4k1/qL4pUwpyQrF/StzKXNKG1SHQ8HW+oF/h+FCoU4DeYpyzrz215kHa3A01cdYbC0JxRpvZBUXm69kmykpbDw5gRmVolvHEd0BtC/crMmp0RZpMRQiyzUrvpHX8/UMENt/K5JGMwT96ZGTKaLW4w2aeaacdX1eT514+3cDxzjoEYxFtW99lDabqupyrKcwOCVI0JJWhdg== 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=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2UyhUWois1ngzZQNcpqsZbwDjFH8Isw0oQHlptBmVCk=; b=PVj8hk2hUZA+6NZoqW8yxrr1/KWflIJuE5tEmT3vvdUvc6H6uvxTgfv70DkF5wlvoGP1ta3ISUb67/aX/CtSj/dFzFWd9bu98LwT59qlQSCcSghiekyFQwRraA72yHnqmaQFZfwe1UG4YqCQAPz7FoSxhrFonGwfQkJQSkqrm0E= Received: from AM0PR02CA0212.eurprd02.prod.outlook.com (2603:10a6:20b:28f::19) by DB9PR08MB7399.eurprd08.prod.outlook.com (2603:10a6:10:371::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19; Wed, 6 Nov 2024 11:46:26 +0000 Received: from AMS0EPF00000196.eurprd05.prod.outlook.com (2603:10a6:20b:28f:cafe::a9) by AM0PR02CA0212.outlook.office365.com (2603:10a6:20b:28f::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.19 via Frontend Transport; Wed, 6 Nov 2024 11:46: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 AMS0EPF00000196.mail.protection.outlook.com (10.167.16.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8137.17 via Frontend Transport; Wed, 6 Nov 2024 11:46:25 +0000 Received: from AZ-NEU-EXJ01.Arm.com (10.240.25.132) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 6 Nov 2024 11:46:21 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EXJ01.Arm.com (10.240.25.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 6 Nov 2024 11:46:20 +0000 Received: from a078660.blr.arm.com (10.162.46.14) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 6 Nov 2024 11:46:19 +0000 From: Tejas Belagod To: CC: Tejas Belagod , , , , Subject: [PATCH 02/10] aarch64: Make C/C++ operations possible on SVE ACLE types. Date: Wed, 6 Nov 2024 17:16:05 +0530 Message-ID: <20241106114613.2972987-3-tejas.belagod@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241106114613.2972987-1-tejas.belagod@arm.com> References: <20241106114613.2972987-1-tejas.belagod@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AMS0EPF00000196:EE_|DB9PR08MB7399:EE_|DB5PEPF00014B9C:EE_|DB3PR08MB9033:EE_ X-MS-Office365-Filtering-Correlation-Id: 478edad8-92b5-470b-5219-08dcfe58ab07 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info-Original: jV5g8HHrbHV44Kg+TuZaMq46P0XtvGphnTRr7roRYZhMQa9s/+2bc982vzvR/sgs6j/Td9EFGMieLzdlhpB0/yy+GW0DIxIJgy4oPFOPcBZlIFHiip5g5LyLdPKzkC6EDF1NoLP0+EK2J0fXNnEaemTzl0PFJLaAmdxRz6HvASPZ2KJKzaZ48JH6xB0oTE4IDuiieM+RsiZqz9PqeP9wtE8zIWnb7LzpCW8HlzwHh89PlaualrmBUxBgwhSBMlr4lYsXOjAqUYkZ2tJuQNQ1H3mU4+i5KVzX3Jkkc+nKShtcckhSCluXg9hgkLNf28xKibLCXmmZdFd8B12ANGFGR2jqPu6nkxntahH5wRkmia0chgmn0n0E1cYBJ0UFxc8fwnuXQSRwW4fqG0TkA8kE+SXrNr8cUH0uYb8MVHzFaKg02qr78QF7rnnKRJmZVz0NL3wkBVtbLXlge3EEJsLOqdThdHnOncrzaKcbOpjkTvsoe6P7Q3x8Hv3bF8Z5KPpQxMgZR2lLrD1z55q7XvHXEHSq3PloP9w1WrQwnVFJJV5+MsmcZc9TNmIHioKMWkWWk8y2K3S4INCwRXCbB53IIAhPWK/RndJvIsUKWBX3cLel50Mgx1LGo0iafWiC3FUoukUPEhNyZp87JWeps8AKCnCryjACDdT3WLvA7/H3/eQwB+BGxH3Ghw8oUXCot19dUNfv41T8vkRrRBC8u/fOwGP7bBykZn3Rhb46QD8G4M1zltJHlBuFCsUqjEbt5758Ra4KBbBeKuJplJB2W9gsyztw0pBTL9UwYP+025gF0mGvD4hjQEx4ej3rA2t76fFeryCgjFGgGpLo5e5Im4UblFrUgIYgwI4vqUrj6J4PkFsK8Vo/swz9/XYnsSFGSAeDXMwJY0t6hnTSZRU8kVCwtxLWSQkD4Idq3eVsLXoLi1BDTjef4XWo6fW/A1lbCfNLSZv4G7irJEKAbVbCnN3dZwO2sWpO8nM/05HIfWCvpkIt6mJ4n39K/1Qq+nl8SUnNGlZ5JBVLvbR9ta023kx0sFZAA7xH+cEU7JM/At7cLNAiEnbQYmP2Gzhm6WTaMrUltqn/sNO4YTJbo9Et32yaKzDpBLTv30qb/vGvvbYeEjx7649W7iw+ANcELb3dmS9XlL86UbJZhINiD+YEvolxFg3uEhcLhxfmvUtmo9HsmSZ2W0hZOJM7zbNeHQ8abVjDSig5r7lqzqoNq5elsYgHjClYoKSRiQUFnGVhsFhQ/bfAYqU+BJNvE7Y3/hRDUIuQbG2C2ePraLOw0sFo8jc7YUOGHiPLkvVfOuZTg3rehW6yohPoO/I4qeJuYC7UKAgJjDLK9pxVuqBi8xaxluoE8sdPuasn290cyt/ALCFc8innwZM/IYQh79LBWPfXodkF2yVmg4bEiJBpjXZ+3V3SJw== 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:(13230040)(36860700013)(376014)(1800799024)(82310400026); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7399 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:20b:28f::19]; domain=AM0PR02CA0212.eurprd02.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5PEPF00014B9C.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: e201adbb-93d2-4b82-eb58-08dcfe58a4d4 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|82310400026|14060799003|1800799024|35042699022|376014; X-Microsoft-Antispam-Message-Info: hVI/Q17GTmPTcbq2aVTvi0khy0Cl2sc9OVMQwk5J3OnM61RwD5fLgFwVf2JrLRoP7iZpGdRIQCr7FE3a7kGlBJrb6/yvp2UUZ8bXjrO93cy3J/J/IOFahFU++59N38MBzpHDeVhgK/69C7FjdWobxFaB1DoYOFUQ/oh019XVe3didTBtwAPOPi2Lck/5vDRFE5+MliApJ7HhFnM+c+owkJgIX1to9OYrNmR/doIYqDsVsxMSXul6aS3elqlNhsgzE3lCdGr2BU6TawHO7ZhpsF4jwtOboXBAhK0k7rZQ4th3xvjNrpW8r8CBr9JukwJpJdpdD1bGJS7Ou43Bq370wX62TOBG/ccmFsu04U+oc2OCIlheI2zsFavpErxS1oLsV5ZksTnoFZFZPT6pHywBOhzJbJ3xZeeV1V9+jbgGRHR5g+tQsI13tvKdQ0ADWmxShiU+g8p4Gq32fDZseA+is2jzjZ0ximeMmVfJ1n4oNW9E5MRYKa5FnywdYXDGMh1r5rvK2L0mxZTYP7mlAiQcmD4aZAUn29X2+7vWb5LaOuogvUtPbfecth7qLRJciXgDpiK2z39n1QjCn9wdFT09jGIADWEhXNFd7wfjJAfDeu0IRUwv7zWvmt1PNW0lRIuikzEiY40KSqRJU6zV6mMlPNwhMnCN5snKMCPaz4o3Vk154tEDskMmVsO9kSYo7xhXUGEWYheiqxa8I0O+ESRWYgEx2C1wF0wsWZrQIhhCMpuavHf1INeAox90aglc5Q9Aeb1UlSoNczwdG+vpf4qAcKHhOXOG6gVq0KT5D/Xgtami0CQ/RpGkWChO3Kbz9SeQ8wgGP/k8HjclRAZQTVhz/028O8KSZtkfKYUvau26cOGsJ3N0/RseQ8+bZjhP2t7AQpIb+DzYGXlRSEasz7PSrzERubkv8DLzZc3pB+AfYjwhqMTWEmeGxnH4/193bwbJv3vBIDaz4EB0U5cqFshA+rhS7L+Uqd4T/38TP+VU5akp6n1bT4gQ59t6nVoQD2C9qZoGFC8XMOsmDl2O3IjHoXeLucTxchNGMjFvIX7TsfbVFv139qWwrr74kEEZuDUF/Tjcxx7UkcDZWLcIRlhe+exZC4fdTo6vfxNAulUyj0fUcB1v5hr8w5GNnlnK6caH6rjNIVjQBZeOvkfgEPdOxWfaw5c1XvF52JGn+lIDORhEeEXkD65NwR2l2znlVcGMGyF9xUgrcfy9PKVzXii8kvRLJt+VhLK3nFsE2RVm7beGHSwPbpoFkzj3XzHcI4oh1W3udAmfMEYar5bY/NM4I8RGt804Q0yBrUD4k9lg+VjioEp7Mo2uvXZVO/aAzVQw9Ga0JxadmEMAT49OQO0mYbGjlRvcROdMukbt/xOuI9OpvtOEieDxbwjvuLYwx4MT5t5d4I7rcxCYquV1KFF7Ew== 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:ErrorRetry; CAT:NONE; SFS:(13230040)(36860700013)(82310400026)(14060799003)(1800799024)(35042699022)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2024 11:46:35.9259 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 478edad8-92b5-470b-5219-08dcfe58ab07 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: DB5PEPF00014B9C.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR08MB9033 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~incoming=patchwork.ozlabs.org@gcc.gnu.org This patch changes the TYPE_INDIVISBLE flag to 0 to enable SVE ACLE types to be treated as GNU vectors and have the same semantics with operations that are defined on GNU vectors. gcc/ChangeLog: * config/aarch64/aarch64-sve-builtins.cc (register_builtin_types): Flip TYPE_INDIVISBLE flag for SVE ACLE vector types. --- gcc/config/aarch64/aarch64-sve-builtins.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/config/aarch64/aarch64-sve-builtins.cc b/gcc/config/aarch64/aarch64-sve-builtins.cc index 44b7f6edae5..9532fd39477 100644 --- a/gcc/config/aarch64/aarch64-sve-builtins.cc +++ b/gcc/config/aarch64/aarch64-sve-builtins.cc @@ -4498,6 +4498,9 @@ register_builtin_types () vectype = build_truth_vector_type_for_mode (BYTES_PER_SVE_VECTOR, VNx16BImode); num_pr = 1; + /* Leave svbool_t as indivisible for now. We don't yet support + C/C++ operators on predicates. */ + TYPE_INDIVISIBLE_P (vectype) = 1; } else { @@ -4514,12 +4517,12 @@ register_builtin_types () && TYPE_ALIGN (vectype) == 128 && known_eq (size, BITS_PER_SVE_VECTOR)); num_zr = 1; + TYPE_INDIVISIBLE_P (vectype) = 0; } vectype = build_distinct_type_copy (vectype); gcc_assert (vectype == TYPE_MAIN_VARIANT (vectype)); SET_TYPE_STRUCTURAL_EQUALITY (vectype); TYPE_ARTIFICIAL (vectype) = 1; - TYPE_INDIVISIBLE_P (vectype) = 1; make_type_sizeless (vectype); } if (num_pr)