Message ID | 20241018062233.243950-8-tejas.belagod@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; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=AiwYalzr; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=AiwYalzr; 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 4XVF6F6jPfz1xvV for <incoming@patchwork.ozlabs.org>; Fri, 18 Oct 2024 17:24:21 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1E504385AC3E for <incoming@patchwork.ozlabs.org>; Fri, 18 Oct 2024 06:24:20 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on20608.outbound.protection.outlook.com [IPv6:2a01:111:f403:2613::608]) by sourceware.org (Postfix) with ESMTPS id 6A6203858401 for <gcc-patches@gcc.gnu.org>; Fri, 18 Oct 2024 06:23:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A6203858401 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 6A6203858401 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2613::608 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1729232600; cv=pass; b=woq/2Yzmsc0N45PcUPWiabuwiMkna3c8BafF9Gk+cjORZN9m5ukIXeLz08scycuCDTthcb36ZuxyAw496axC1lMnioOzYhx0yX+mChNWmev3kDMc/vdr5XeZSd9X27kx0UwkDLiKPicRwhfXkN6Z+ljLJyqf+GSqlpkhbJlwShY= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1729232600; c=relaxed/simple; bh=zsS2NClgv4TK3nmpEArsHUhzoKd9P4qWqQfHcI2pL2g=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=eqiMa5e1b9lHg3mq8+/XizpisDoX4hV/7E7Wh6Nyb7HN1Xclee0pmBiQy3JAotWCTylO9E/Duxg3vL11wbLMofwe1uQsOjSD53rG5Y3IH+XOjWfMcrCHruAslXNWj+8me0WhY8uNwitZ80RwckLzAKu2uiEvLN2DKIQQOD3s6ps= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=nTqP+j3XpGk0WuczS2PWclkvBVTvYDCC69G/T9v6Uy02sLm0dNvPzRmBKGbNv7WFRKYZUMhPnU4dOgsvDBVAQ5Cv/tj7UuAS9uLX53o4EbnQgZp3uh3LCG+6bTV9NVKlpxmFjPzNm2VosUd1LBYJ0GElKWFzA0r/woZ3HOPvG2aO3iaFJhnJr1jpdRvZR/Gpy8cXCK2VuDpUPjXgFHmiQ4wC2nSnfG++ua3s+4WrbvQzAmnQK2vEef+VQo+RFX0yiDGgZBkoOqLIgVHiGy49XiPTUO6Yqy4Q5ZO8WknUngxg6OMU5IQtTW4cBlvvouI/0vp+uFsUbEjebFbdOoW6Ug== 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=juh9IKCmVGEYCwALPEqTQo8Nsey9XREXhNaCZ8iy+2c=; b=J60cJTx21LE9KqoTVNPFBOD4Kwyqty/9kBkCMcse6PN0wAx7ZhtXo6imlppuAuYkbGPLaGETGhfT2lDphWEkkxtp0lVwXzYuXCXJIL7lfYlB30+Vsf5+s8REYftC5Ahl4DXPnTTEL+CKpII789RFkc31o7YErdpqB7UOGCihUUabr+2YONpHcwkVIBQ9RuFHUtA1jWruW+VgHasuipMDqK/uWLB0vsm0lypK4uJYslqC5ht9eDlpswkZMJFno7WPc6i7pq34XriJTe/iVIH6mJ/xMpaI8F8zFkGPlE+IiMVC2SZ1Oj3PEPtVrmzmRC1/BIlJBDX2FDFmevO08TGl2w== 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=juh9IKCmVGEYCwALPEqTQo8Nsey9XREXhNaCZ8iy+2c=; b=AiwYalzrTi1e4cq0oavKkDAvFhKF6muCfiH/cK7u6XwGsy12w8o2hRqZmzSUEB6I4KY1+YXVqNrMoTC17nipC0/lCJ2nC7fftc7jIZDX+s3foRx5XW1BZW8lODtaiXTF6vlwtCWzSqkZuPpdUDsz3fE/g/jI4cPgUqEy6GwZSP4= Received: from DU7P250CA0027.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:54f::22) by DB3PR08MB9136.eurprd08.prod.outlook.com (2603:10a6:10:435::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Fri, 18 Oct 2024 06:23:06 +0000 Received: from DB5PEPF00014B8A.eurprd02.prod.outlook.com (2603:10a6:10:54f:cafe::58) by DU7P250CA0027.outlook.office365.com (2603:10a6:10:54f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.19 via Frontend Transport; Fri, 18 Oct 2024 06:23:06 +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 DB5PEPF00014B8A.mail.protection.outlook.com (10.167.8.198) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8069.17 via Frontend Transport; Fri, 18 Oct 2024 06:23:05 +0000 Received: ("Tessian outbound cd6aa7fa963a:v473"); Fri, 18 Oct 2024 06:23:05 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 437ea1fee65b9cf2 X-TessianGatewayMetadata: NtUf5jVNoLLquoOLDxmQ3hEiN1QF76T9C+7GUtb3/18LUWdNhrPvqQfSAT5L+WymV8+1QkFpduVkeVnnjwElGX521fybK8rSqei/S+/7otUk5906hEJFNj9AEfH1PLFp6SYNb9sFtNtPjkCFDtdqqSeMbWRlXq6VjQO/Hc2apCI= X-CR-MTA-TID: 64aa7808 Received: from L4835260e8ef4.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id DCCD3C62-F987-4C62-A685-6D26379F2901.1; Fri, 18 Oct 2024 06:22:58 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L4835260e8ef4.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 18 Oct 2024 06:22:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=r5taUqKIShvNgAQfauuDlzFmPoeLvEarIitglmq2gvCvaMY8MloFAhNZZBzOqZ6HcnztMjpglaWRva2mPfi/YS6+yIPdjQUdPioN+zgdCDyX7fi9GmhRJNCCWnWDLO2T6pcgZ2Us9pD+Lbm8IQX2gIUXCtwiGhUe4h9OK3vxYlBITZYkoJhmd+FtiWdfHqco077a5X/JL2i4wjzsRuDNDz7XjYZy6bCG/vvU0NEttW8W8SNEQm10rwgfaM2B9tWlyJ5HtTv/Kx+5NqTFRr08qtK+RbUpBOGjGC65tvszjOUbxQaIy/4tWAcOuTfWiFJmeb95ce49Qe7bPi79k6SlFA== 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=juh9IKCmVGEYCwALPEqTQo8Nsey9XREXhNaCZ8iy+2c=; b=M+pueOl1bOqUiIGunayf+NM5Gy4eLmPbtW5kXcF4uXC9wfK6hO+0RP2L8CthekBjMFUOxRw8K14xFsaxybMCyUCaaeBVO3X8u704pB3QbihsBO4xQiLp1rIqCu+zwSesi2JjI43QJvQXV52Jz0cIMh6826X/GXyGQvTa5cvi+WToEZcG5DVBw+yoS/VLfuF9WzBEqOgQURdeJ/U2GBR4Pe8LG4o6KvAn+aHbiYRh0q0LtcDSjtcjxKr0v4VhA+mAZ/f1n40ReRNH9LwN7A5pT7CWqZDylA4iI7XwUzVIRNPQQg8LComzLICBIergIeHOyl3MTRdK0ifcTR88q3LTUg== 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=juh9IKCmVGEYCwALPEqTQo8Nsey9XREXhNaCZ8iy+2c=; b=AiwYalzrTi1e4cq0oavKkDAvFhKF6muCfiH/cK7u6XwGsy12w8o2hRqZmzSUEB6I4KY1+YXVqNrMoTC17nipC0/lCJ2nC7fftc7jIZDX+s3foRx5XW1BZW8lODtaiXTF6vlwtCWzSqkZuPpdUDsz3fE/g/jI4cPgUqEy6GwZSP4= Received: from DB8PR04CA0004.eurprd04.prod.outlook.com (2603:10a6:10:110::14) by GV1PR08MB7361.eurprd08.prod.outlook.com (2603:10a6:150:20::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.17; Fri, 18 Oct 2024 06:22:51 +0000 Received: from DU2PEPF00028D09.eurprd03.prod.outlook.com (2603:10a6:10:110:cafe::7e) by DB8PR04CA0004.outlook.office365.com (2603:10a6:10:110::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.20 via Frontend Transport; Fri, 18 Oct 2024 06:22:51 +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 DU2PEPF00028D09.mail.protection.outlook.com (10.167.242.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8069.17 via Frontend Transport; Fri, 18 Oct 2024 06:22:51 +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.39; Fri, 18 Oct 2024 06:22:50 +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; Fri, 18 Oct 2024 06:22:49 +0000 From: Tejas Belagod <tejas.belagod@arm.com> To: <gcc-patches@gcc.gnu.org> CC: Tejas Belagod <tejas.belagod@arm.com>, <richard.sandiford@arm.com>, <jakub@redhat.com> Subject: [PATCH v2 07/12] libgomp, AArch64: Test OpenMP user-defined reductions with SVE types. Date: Fri, 18 Oct 2024 11:52:28 +0530 Message-ID: <20241018062233.243950-8-tejas.belagod@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20241018062233.243950-1-tejas.belagod@arm.com> References: <20241018062233.243950-1-tejas.belagod@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DU2PEPF00028D09:EE_|GV1PR08MB7361:EE_|DB5PEPF00014B8A:EE_|DB3PR08MB9136:EE_ X-MS-Office365-Filtering-Correlation-Id: 19ed954e-4c4a-4867-49a9-08dcef3d539d x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|1800799024|36860700013|376014|82310400026; X-Microsoft-Antispam-Message-Info-Original: w8JERlyiF7WH7JBuOXG24LqSkvP286kP1J5TVXHKQEI+AKnbApoy0yCSRrk9M5iztM9VtvgDnD+mEWGo7wkH6/58YKF4dD6T9WVMuAaZYGFWR4luD6WY6MtfVnXwiVhh6Z29CFQRWjH05ZC73B3dt6irj2m5MptazhacJizm4SX3Kz/I5APaHEoNbk6TbW3ou1PxDlgBATwEGUiK7tzA1us/yEkBrHOLz7wEPMGylt3EBGGdkyjkQsV8cl3wFv/yQWAOE2j28bDDh2I98uyQOEjBOC3zjQDHa6wzvcMuZtwIUNX0J4S7LExxlF4oDeKfN1I83jD5BoYWp+zIRKWfJaRejf0SlrHKRJxXxX1nA82B9MAptu0EXEQBSiy62Q4ixEIoj9tbvozuy9k4lMy5RsmSMCnDlyIgKLufHN0iEHSoyXmhOJxK24Qshp6XEfZTMHQAkOkEx7HT2vqnKE35j5fOR/NHyS5nTsFMBjvwbKEohgOhl8j1GokJ8WvID4VWGwIMLTrprUfSh7ikp4djWyVAs3Gd1rc5pQL5s8qlLn+asXzhwsRsRg7ixBNvkQAMmzwl6+zw0byTqzWt7B3n7GOI9jAMkK9lGL+ucUxjgwLDdy9bryi3Hkh7QmEWbCPDr1rIbEVy/jnoVlRDj5/yxLXvBkSQHavfuArs/hGqlR/vhh+xPTMOGOgvZrVP1L6oknMGdrNArQ1KpdqMr7R8iQcSnmKXBl9qjww12Z9zx7bG0rjRJoC2P9PWkmshZ/XnJebiTJjECfGlbMQkzNtKZTLjFbMRYnsk0ibTMqw583dwU4HLHioX+3MfEt/cu7IzoYSb/tTa2lmdx1vpWe/wZ1gfVP34qStosMqUpJchSIfeH2VpO3H1+fc9Op0bVF+NBaE+Od8o4VkkEQlZPo2vI+W1Xt6e66mq5P+M6YvjAukDm2pHD7EgpnQy1cB9AtJzlvmTiNmjYGx9y9pxRNRKnt8BI/s7K+wHmE8+LLQuED5Swzbz8IayciffkB1zIB8CQ1zSzJKZOgMqar1AEvo63eSFQ6lFLEvASQ5guhlajiKZuSGQC++C7f4YvisTeKo2cZ6J8XfyN2ni/CZ5wtdHJRuILBW8Gj5dXPpP9BrV734FyzBAnXmosdy6qyNEB0DUe2Z4WZqjKyq1P72u+G6tLxgy38c3d9iV6oUAc9jBzazRFzF1WgZsTtvItJ5HHjWfCThWEsst7zGr8Jyf4LAu9EGvnvLyFO8q2XpsTxeyB/GifS9YMfO26C4KrXZfd6otjRX9eBaM/wVcnfm/vWC3NgEh6TdT6IlLcFh+iqjj9mKFCB61utb9TG9tW94T47RYgvet8Tw18ELEfCKe33/mrbyaneqUZv+ARbvjBZwj/q2OnTlfOvgU2LOJRtWQaoy2R9woz1tWNavlU+V9LyKjqg== 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)(1800799024)(36860700013)(376014)(82310400026); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB7361 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:10:110::14]; domain=DB8PR04CA0004.eurprd04.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5PEPF00014B8A.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: e4af1e1b-f1f5-4e61-855c-08dcef3d4b73 X-Microsoft-Antispam: BCL:0; ARA:13230040|35042699022|1800799024|376014|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: MOze6zgEQTl72VYQiCmgOoAJFB3O2lt0PHZb46QnTWUIgPRohfqR+B2mCJXYdXNa2m8/yvwMA7eWocTPfTzCSgmgmrqIbD+7eAVU5yuitTLi/zkA/h/LVxrf/YW2hjNWwOteshc4B/pFVWHm52aXqDFJj7zBCh1HqQCPHYinqyF/EfnXJ7NMhBIge/l18mf0nEy7w9muJx6dVPGEQD1z4mdwSgCj4G+Ekku6/QqeueZxJiTQG2X+qI1RrqZR72neO2Kyvl87dnct1aiqBbMpXrMyrzV7Aa01QYBWV7VAhmZzOiyf81qfE0QjMxaUGdfbewsOCVTkAu6yeo37lysCc8CZs0rT4smsCgzyGab1inG+vOznLsqEOxA136EMkhb89GROBENjmn5ilTNwXAOWZd3a8DOlNpZxjkIxnqKCecA/1RPFbvtuFWPPVrFK3fWk5enb1UIe1sxdZ49DiHJgh9yAf//b1hXkna/MhzzlUydc3mJzNfJZED0WiV0mGJ0Hlv5NxVYTt29HbX0BDEtuDj9+lyudZCGqTm/cAfbvMf5kWQZncES3aEphgzKARbCZ2V8K3tLE+awE9eaomuKrKa2b9xdm4uXC6jboHEPMxSW2irNglMhvtE8n1VJ/JX7nbSTP8Z9SdT4xnifLRxM8YHDL3zhxr1fweBZSASUtaIVFdfVusjTVOhBltf6LYktC9VLTQsvTwS10UijAV8cqxwTJckmoFzMdPjO7HNKSQVWK7iQDDy8a1kJyRm+5lQsesVxxmffTdOw+m+9Of4068WdozCW1zRpYTvhdtLQ+he9we71vNleAUyRpmCxQ9YeH7K/uEsZx9QqCkBxZ0l+dhqvDytqAxGO14tPSYnUvFkFIpLAFLasS0sI8kpNuhKNHoyMUoGmpXA+TNPdLVOsfGnooa4ltbmZ+l/ixZe07rO9irUh2wYeq1QLAXMy1vpDStUjk9E28oGWad15Gos5P680smXVwrS+RNZu3LKd9oPlDiEclHdFgEkf4ttvXKn091uB3t3oVopNsVF6jSbKFX596jMmGYudubANwgL4zrNsXEFx8oPQ0CP7rwQThu8gOOamt5FGS3WtYfICwmnHcjr59TDbVrsmCz9NntesxX1uUE3ggOBdlQ/7iIeW7DDXa2ku1X2IBR4nd5g/kaQLu7G2Si42zkK3o9dlNfKY76Ll1kMGht+QCucF4NapA6YY7O5DJPDBfUjHQOFFbXIxYhCT5Ul9YZvTOuQ1wfJgcmNONV5lnLpYvio6/jmlhtvAe1EwnQcTZ7vpl2zUwH0vCmsP+eYKPnIX58jsbEi72yoSe8gw983Jg/pGp7jQSdQAAjIs22pSNMRlS1cO57SRjBM2WNlcRRFrZxs/cQl0Yqpw2WPnggUYjjY7YJgPwYNcBfM/jvZwW2DU8rcLVWOW+5Q== 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:(13230040)(35042699022)(1800799024)(376014)(36860700013)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2024 06:23:05.4628 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19ed954e-4c4a-4867-49a9-08dcef3d539d 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: DB5PEPF00014B8A.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR08MB9136 X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, 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.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~incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
AArch64/OpenMP: Test SVE ACLE types with various OpenMP constructs.
|
expand
|
diff --git a/libgomp/testsuite/libgomp.target/aarch64/udr-sve.c b/libgomp/testsuite/libgomp.target/aarch64/udr-sve.c new file mode 100644 index 00000000000..749f3c2123b --- /dev/null +++ b/libgomp/testsuite/libgomp.target/aarch64/udr-sve.c @@ -0,0 +1,108 @@ +/* { dg-do run } */ +/* { dg-options "-msve-vector-bits=256 -std=gnu99 -fopenmp -O2" } */ + +#include <arm_sve.h> + +#pragma omp declare reduction (+:svint32_t: omp_out = svadd_s32_z (svptrue_b32(), omp_in, omp_out)) \ + initializer (omp_priv = svindex_s32 (0, 0)) + +int __attribute__((noipa)) +parallel_reduction () +{ + int a[8] = {1 ,1, 1, 1, 1, 1, 1, 1}; + int b[8] = {0 ,0, 0, 0, 0, 0, 0, 0}; + svint32_t va = svld1_s32 (svptrue_b32 (), b); + int i = 0; + int64_t res; + + #pragma omp parallel reduction (+:va, i) + { + va = svld1_s32 (svptrue_b32 (), a); + i++; + } + + res = svaddv_s32 (svptrue_b32 (), va); + + if (res != i * 8) + __builtin_abort (); + + return 0; +} + +int __attribute__((noipa)) +for_reduction () +{ + int a[8] = {1 ,1, 1, 1, 1, 1, 1, 1}; + int b[8] = {0 ,0, 0, 0, 0, 0, 0, 0}; + svint32_t va = svld1_s32 (svptrue_b32 (), b); + int j; + int64_t res; + + #pragma omp parallel for reduction (+:va) + for (j = 0; j < 8; j++) + va = svld1_s32 (svptrue_b32 (), a); + + res = svaddv_s32 (svptrue_b32 (), va); + + if (res != 64) + __builtin_abort (); + + return 0; +} + +int __attribute__((noipa)) +simd_reduction () +{ + int a[8]; + svint32_t va = svindex_s32 (0, 0); + int i = 0; + int j; + int64_t res = 0; + + for (j = 0; j < 8; j++) + a[j] = 1; + + #pragma omp simd reduction (+:va, i) + for (j = 0; j < 16; j++) + va = svld1_s32 (svptrue_b32 (), a); + + res = svaddv_s32 (svptrue_b32 (), va); + + if (res != 8) + __builtin_abort (); + + return 0; +} + +int __attribute__((noipa)) +inscan_reduction_incl () +{ + svint32_t va = svindex_s32 (0, 0); + int j; + int64_t res = 0; + + #pragma omp parallel + #pragma omp for reduction (inscan,+:va) firstprivate (res) lastprivate (res) + for (j = 0; j < 8; j++) + { + va = svindex_s32 (1, 0); + #pragma omp scan inclusive (va) + res += svaddv_s32 (svptrue_b32 (), va); + } + + if (res != 64) + __builtin_abort (); + + return 0; +} + +int +main () +{ + parallel_reduction (); + for_reduction (); + simd_reduction (); + inscan_reduction_incl (); + + return 0; +}