From patchwork Mon Sep 16 09:38:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 1986060 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=H9J2dEie; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=H9J2dEie; 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 4X6fyB3YdXz1y1C for ; Mon, 16 Sep 2024 19:39:30 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A4220385B503 for ; Mon, 16 Sep 2024 09:39:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on20608.outbound.protection.outlook.com [IPv6:2a01:111:f403:260d::608]) by sourceware.org (Postfix) with ESMTPS id 4D7A73858D37 for ; Mon, 16 Sep 2024 09:38:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D7A73858D37 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 4D7A73858D37 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:260d::608 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1726479541; cv=pass; b=IL6l8m7Uf5aABLT47hNAZSSBgDOGZYh81BrvEnXqrsTPlk3OKQi+1Pyz8aDCzvO2Affszc1AGzc5tmlKUYppiQbYDdOsav3HZvxTL32SN4E0nHqcgxttqfieXRQywVlYrn6nMpxNaarL9bJu97/t2oLGlEcTgk3OvLYQSAuWftw= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1726479541; c=relaxed/simple; bh=YRJCp8/3ovFueOPKODBwnOusk78AJ4u1rWUdGHSxcJc=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=QT03XZ7xiP0LqrtV1S15O1eF83n56w9hmcPUoxUpDC76wM53L/+CI+scahn6PHWcEZ006R/4ND7zdO9y+9X1C90OLOWjnyXxjDGrr+zvosrO6DDs0wuuRr7RAy7cPLFGjc+m/mFPASm8Y8wb/cv3o8USvv/B3Im8A9VFZIE4kqM= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=zTKAWbUR+yRrnD6XsK7rH6h3K89/+CcbR0ep0Xqq3L5q0sGtAMXONL8WVQ/NtffMdXwCMb8BbE8GpoB7Qt1eSuCvANtebQtBaA1/cPQXmCOIiA6HMc2zo+iKEljNKWXOEhr87pr0iEU4xWkpNQkLWxU0hDsYt6rKYilS1kGzmvihSeacOHJYKPark5vbobQO5/c/ephRVDBQPtplisfnUsGWgHU7sX51b9wiaWoVPM3NTf73SVUo/YgyVemVXhGkFNjyV1DJixpau1zLkZkJBwVwuk0PNThFZnk/xztjCxG9diDwZUKm9SuivV5aDfO7mhIoCdtoXxdtPJAcEGWnhQ== 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=QcPK0O3Q3pSU8zVBziRnekFwh/2jkHNrXw/DqfC6fGc=; b=xULyYjP2VuSaIZK39od8COFsCs4PZom3vf/jRh/waSRYnCnSfZkVSjchMdM95XjjhvE0RdO10hoCo420DN0pC69ppNF1cc6OerRfwUxMOG2yY5LVvn1fi6HPw+Fe+tPlMvmMROsmoiylytYnEcS9wxQcPMq18rLLwDiLiemNzWDyVbrLGqwJ1z1HhxHI/C2G2DiTFvVs9ATZ6QmT6xrlBYdwcCDZ5o2b9qeYjiuis2X/m9PBjtCFV8AYcoRU1CWsZ+RIcVA/hs7KmJyAZWuz2wQdSI4GpGQgQvlHjEJnRHE8PQ2HPS4kLbWPdREJDE3pKawHKUbp1MG6UZFNrtbPHA== 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=QcPK0O3Q3pSU8zVBziRnekFwh/2jkHNrXw/DqfC6fGc=; b=H9J2dEiePRH31b+1+c4fs8/TDSlUi+LRngBiB+tuIlDhSOVROcbYLRf8t2nNAO+OZVoxKXoSRxT7cvy2Yg553KAOn7dxiwbs9fnqGIHbZX0P81ZudYNdg1JWbvjzjzQexwToAT+5QLl4uolwesOwMPIquGy/SaQxFZCSFBBu6dU= Received: from AS9PR05CA0016.eurprd05.prod.outlook.com (2603:10a6:20b:488::7) by PAVPR08MB9378.eurprd08.prod.outlook.com (2603:10a6:102:301::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.11; Mon, 16 Sep 2024 09:38:55 +0000 Received: from AM4PEPF00025F97.EURPRD83.prod.outlook.com (2603:10a6:20b:488:cafe::9b) by AS9PR05CA0016.outlook.office365.com (2603:10a6:20b:488::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.30 via Frontend Transport; Mon, 16 Sep 2024 09:38:55 +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 AM4PEPF00025F97.mail.protection.outlook.com (10.167.16.6) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8005.1 via Frontend Transport; Mon, 16 Sep 2024 09:38:55 +0000 Received: ("Tessian outbound 7047db86dc93:v441"); Mon, 16 Sep 2024 09:38:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ad5149374edf63c5 X-CR-MTA-TID: 64aa7808 Received: from Ld2abe7a64306.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 997A1F28-88DF-452F-B5B4-52FB61F6F42A.1; Mon, 16 Sep 2024 09:38:48 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id Ld2abe7a64306.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 16 Sep 2024 09:38:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JFU2GCAl2cLlTrjEOnujKrhmrEbnVnTkucbxZe3kONRpeuI/ON1j+eZipZiF85kpnOj4KMJFNkZUxEMTOsLlsULw5vLX2wIZ9O/cB3YpAaE+Kf1XTnu7o0BUb7pj+CemsWNyw+P2WvYDCDsD/Ca1J68lW5lFHuvEoZ6RVSGAQDRVYyd1sbaPYDr5O1FxcYoSWEfoxH0ujOhZ7kvrfe7Pen2gGjMH3QRXQzSDsBftVt7TLjvTXmHtyAri3qjN+nchVYtEc17ZAHotHUrsGScV+Vg3XfQgZo0NQa4aYWmFYxsZX4mfwaiadbST6rAimv7wH3Yu9HsQV/oIU3xOJyF9TA== 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=QcPK0O3Q3pSU8zVBziRnekFwh/2jkHNrXw/DqfC6fGc=; b=ZL9b9boKzTsBKU22TpARMUjrSreUedQYbDhOageJI0N3Fa0DKKw585FukdKqWqYl9z64WgOpdJztmWTjByUeIaGTN6kD6nXo0XfQjuLWk4OGon1KJuODI355k1Eo1XU2o84fMh/J3FkThHBXkjZ3akUH57A9lFzeOQvnV4pd20twrJbHA7IQ25q7jdHy9ubXM/+W+DHyn08jbxK5KsWyYKP2Zz++qD7coyDOQL6CmMI5fUAdOdW3SVyHOqVtXkKER4NGAoyHi1VTqlaDRZFqUHXTkv/qOmRrABnlsvn2pNw7m3MIJdJDfqenmdsd3jDmA0UVdO1x9ndDAIxUQozdFA== 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=QcPK0O3Q3pSU8zVBziRnekFwh/2jkHNrXw/DqfC6fGc=; b=H9J2dEiePRH31b+1+c4fs8/TDSlUi+LRngBiB+tuIlDhSOVROcbYLRf8t2nNAO+OZVoxKXoSRxT7cvy2Yg553KAOn7dxiwbs9fnqGIHbZX0P81ZudYNdg1JWbvjzjzQexwToAT+5QLl4uolwesOwMPIquGy/SaQxFZCSFBBu6dU= Received: from PR1P264CA0005.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:19e::10) by DBAPR08MB5736.eurprd08.prod.outlook.com (2603:10a6:10:1a9::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.24; Mon, 16 Sep 2024 09:38:42 +0000 Received: from AM4PEPF00025F9B.EURPRD83.prod.outlook.com (2603:10a6:102:19e:cafe::1d) by PR1P264CA0005.outlook.office365.com (2603:10a6:102:19e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.30 via Frontend Transport; Mon, 16 Sep 2024 09:38:42 +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 AM4PEPF00025F9B.mail.protection.outlook.com (10.167.16.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8005.1 via Frontend Transport; Mon, 16 Sep 2024 09:38:41 +0000 Received: from AZ-NEU-EXJ01.Arm.com (10.240.25.132) 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; Mon, 16 Sep 2024 09:38:34 +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; Mon, 16 Sep 2024 09:38:32 +0000 Received: from e129018.arm.com (10.57.52.20) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Mon, 16 Sep 2024 09:38:31 +0000 From: Christophe Lyon To: , , CC: Alfie Richards Subject: [PATCH 4/5] arm: [MVE intrinsics] Add support for predicated contiguous loads and stores Date: Mon, 16 Sep 2024 11:38:18 +0200 Message-ID: <20240916093819.12740-5-christophe.lyon@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240916093819.12740-1-christophe.lyon@arm.com> References: <20240916093819.12740-1-christophe.lyon@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM4PEPF00025F9B:EE_|DBAPR08MB5736:EE_|AM4PEPF00025F97:EE_|PAVPR08MB9378:EE_ X-MS-Office365-Filtering-Correlation-Id: 343046e9-2367-40a9-0eb5-08dcd63361d6 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info-Original: g8ooDrPV3ueqk6Aq7RF+QxtF8RGVZbgOb64AUMo+8hgLtrmh4+2b4OpXFXq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ROU2bjTcbsg9bBvqCajF7LP6oW/DMZxTRln3RGgqCh/sJbFfGEh+wb+RsdRTGT3ABX6uauQrKaiu0rJuxDMpNjdZXdFsCIBBNdMHbn3/68L0VW5ctvH1c5Xt+gJasPXovH0q3i+0mAQYoAnpQA/tfZLapZ31+sMT2dY66qy9dYX3gfu4MUvDgx2SMGyspnwHUN3wmp/YxppxESQ/JUSVAbh1rFFlIiUBdRW2o5J3eqqfhTqJEI+XZ5cO0brNfKQ2VJwM2h/Awt2atJJYs1lpPeGqTZh2QIDzy+wgu6OlJFTOE5VAjiPP0ya7U6F3REVkrfuVe9PT20yS 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)(376014)(36860700013)(82310400026)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5736 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:102:19e::10]; domain=PR1P264CA0005.FRAP264.PROD.OUTLOOK.COM X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM4PEPF00025F97.EURPRD83.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 23e5a6e3-45b7-4620-1360-08dcd63359e4 X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|1800799024|35042699022|376014|82310400026; X-Microsoft-Antispam-Message-Info: SZszT+tDy2VFyLIDuacaKDD3VxBjxg402CHNIdQ8d9mCDz5mSgxVuOUkWCnYQ2769FpQSuCBxueeuW4Alo7LeEKacC3HWkVBZd6W6U7Ir+j7ad4DrhbzjWtQQcI0IN8KQ6Ixr/Tg+nsIqbXrHwK33rL4bj0bAWGpxSBZMuyvChDmiZMe8srgOkkTKk52QyWQN8958DoNlmkpHH0HNZOle73JXezG1sBz5/rQCKiLElYsAVI1hn3pA05o4v/JK05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ZLIdgp1E7cf08e3zkNXtvgC+jAPAyk3E/5LI7/gC+NFTIqbCtRue8dzb1nhWdBJjLSjqf9xfVXe9K8dMSQoUnCySyeZTpQNeWqy5tNnK2qNQvX4Kdv6U2924amXn4uzraUtHwqoxwTpjTaQf8tX0K8ujx1RU 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)(36860700013)(1800799024)(35042699022)(376014)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2024 09:38:55.2237 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 343046e9-2367-40a9-0eb5-08dcd63361d6 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: AM4PEPF00025F97.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9378 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org From: Alfie Richards This patch extends function_expander::use_contiguous_load_insn and function_expander::use_contiguous_store_insn functions to support predicated versions. 2024-09-11 Alfie Richards Christophe Lyon gcc/ * config/arm/arm-mve-builtins.cc (function_expander::use_contiguous_load_insn): Add support for PRED_z. (function_expander::use_contiguous_store_insn): Add support for PRED_p. --- gcc/config/arm/arm-mve-builtins.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/config/arm/arm-mve-builtins.cc b/gcc/config/arm/arm-mve-builtins.cc index 7e8217666fe..f519fded000 100644 --- a/gcc/config/arm/arm-mve-builtins.cc +++ b/gcc/config/arm/arm-mve-builtins.cc @@ -2237,6 +2237,8 @@ function_expander::use_contiguous_load_insn (insn_code icode) add_output_operand (icode); add_mem_operand (mem_mode, get_contiguous_base ()); + if (pred == PRED_z) + add_input_operand (icode, args[1]); return generate_insn (icode); } @@ -2249,6 +2251,8 @@ function_expander::use_contiguous_store_insn (insn_code icode) add_mem_operand (mem_mode, get_contiguous_base ()); add_input_operand (icode, args[1]); + if (pred == PRED_p) + add_input_operand (icode, args[2]); return generate_insn (icode); }