Message ID | Zx+mBN9vS+bJgSme@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=b1fyik8l; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=b1fyik8l; dkim-atps=neutral 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=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 [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 (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Xcc1c6xYwz1xw0 for <incoming@patchwork.ozlabs.org>; Tue, 29 Oct 2024 01:57:24 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CEE773858C98 for <incoming@patchwork.ozlabs.org>; Mon, 28 Oct 2024 14:57:22 +0000 (GMT) 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-db8eur05on2060f.outbound.protection.outlook.com [IPv6:2a01:111:f403:2614::60f]) by sourceware.org (Postfix) with ESMTPS id 9508A3858D37 for <gcc-patches@gcc.gnu.org>; Mon, 28 Oct 2024 14:56:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9508A3858D37 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 9508A3858D37 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2614::60f ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1730127385; cv=pass; b=ehd6Edje5DECO8jfaU1Sh7zBgivxp/UgXoVsDWQmblODldiq/0ax7rL6nUiiyOl9rMj8/gKczK2zdWD+wby/1Pc/S948HcZoTu7gOl9Zon+fQBeD5PI88M0m/CfSxklI75PF9KGzL9S3Tz29kYB1q6uFWdkU7h2xo1zkSAWNZPo= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1730127385; c=relaxed/simple; bh=JPo/7d6xI6NCIdJj/jCady9514qP6QMTbhdsu1bwyLg=; h=DKIM-Signature:DKIM-Signature:Date:From:To:Subject:Message-ID: MIME-Version; b=HG/IJIUN40QprgW8rmsgaJgUtW+mdPSEUEhs3kdUjGjVfAEkiZldEsGW3J1lIZLDWtxEySuatIrp8KPr19TkZl/76Dyi8/g49z3v/Xw037l94YfaVTgFiMpGjhqtF9+4uAyTul9ylP94mES6DVReG54sCnnP9HQKAlK1yswmxWc= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=KaWytMjU3+NQUmwxpIvNb1/NkvwgkMvs5CXYbNAoUTqmsA+O41zkzoCro4SGoJW4B76C8XynGSQdG931K+1IewSjDerlZOeiN9QTukNP1zcAVZ2qpMiH3JRWpTjHF/CCnvkV5dCjdTxcTrGIDGxd4A1uZXRI/yejsvyYOpd5SO7CIVFRRT624Lq/lFIkuJ2mBlB+SiSMP2GJ+3Na3YFo0DFK38Hzagkaz5hi1sqPr3TeQ9K1AhpiqpDVyeo65EbV9xgDkJ+l5nveBPNF//R7YzjeY9S2/k8NhFnJmYPvwFnxj1qiW88hGTW4WnbPT0LyV6+4iNJ2KaoWF9HWPy3R6Q== 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=O632VGON0rni2E1Rh6ZTXYrQCzhmtQyYUY4U4IYYHCM=; b=kL+UZ07CvVn+LTl0pdkh4qOtDWZUhn2MeiEftMeZ+5gz9iM41Kcn9n8/IcFBIH8OJKqCZ8zHpQFLD5p0TqQYlPaQC2v3oZSpD41XSrOF7Po+nV/DtS+F36pbEwZc51wnmB2hdlj6/8Ik9ydA9JlPDryxEVv3LLEvr6gaQRTZkC18YXAKAsdIhkfmejypqDnIiF0xedBo1c23A5fVKVlcpuSGwqCABv19PO7xay0qhj8Qbs1qL7PdXSJzfJyM2lGPM3YafeZjjTp+9fCKmySEVj82XGR9ld5FgOY+VrB6bZWwWg9FvsndxXPTLjxiYj3pWXRA3yXrk5lxDwWKWvxLHA== 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] dkim=[1,1,header.d=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=O632VGON0rni2E1Rh6ZTXYrQCzhmtQyYUY4U4IYYHCM=; b=b1fyik8lnarlcmKQRwYglnBWGEKN9R2Ktw9W00Z+i0xDFC9JY9K9WNG9VMynngNizmPnXiDlk3yt0cKFly7suJzSooUhLFf4ah3hKywwSZinx+dtUxy1nHxxPjLfEnwSF+YsWmoAAexAZdCg2oy+gWVXONK9WqVEDD8CMJwtuok= Received: from DB7PR02CA0022.eurprd02.prod.outlook.com (2603:10a6:10:52::35) by VI1PR08MB10176.eurprd08.prod.outlook.com (2603:10a6:800:1ce::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.17; Mon, 28 Oct 2024 14:56:19 +0000 Received: from DB5PEPF00014B99.eurprd02.prod.outlook.com (2603:10a6:10:52:cafe::aa) by DB7PR02CA0022.outlook.office365.com (2603:10a6:10:52::35) 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, 28 Oct 2024 14:56:19 +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 DB5PEPF00014B99.mail.protection.outlook.com (10.167.8.166) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8114.16 via Frontend Transport; Mon, 28 Oct 2024 14:56:19 +0000 Received: ("Tessian outbound 99870d44e01c:v490"); Mon, 28 Oct 2024 14:56:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9651b1f80a8cfcc7 X-TessianGatewayMetadata: pb+NRfyozhfnWSL/TuAsNSYEoU01w1hdPgiyRMyfcugc4jM9G1GSpPXovFjYe124Ji+nisZQZGAXhxehWP2bNdYQTbJ97GB6V7jKpz2/azRapurHL4KMK7T3vPKj2CU/oh6aXTSx4Rr+zhMX4DfWUQ== X-CR-MTA-TID: 64aa7808 Received: from L980410f150fd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 41C4A04A-F8E1-4E59-BB2B-81BAA044D2A1.1; Mon, 28 Oct 2024 14:56:07 +0000 Received: from EUR03-AM7-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L980410f150fd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 28 Oct 2024 14:56:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dOX+pmpsFsLQOI+UPUdMsDYP3KQRfueJgfEycqMEFE8coRenG2qkifnwnMe3kN6y0CG/4yLPTT/qo1AHMQ0c/PIrRYxvLepXFNhSIuuYXplQcyG8KIjc6Iulpo26MyxPrMQ5ssss3kmbXW8LMWgUG/Eucf5STXd8DVQj3ZMMEmQ0+LclE2xnLmYaTTDygrcWkMdTzm6onIlKUNMY9vYvDfdtGWK/lsE+X/Fwtk0sw7jmQeB1U1Bf7KKiw2gSZ7S7cYHJX4iQM0p1Z1pRpcZzp7n50WpmyKDYozcNHdu7SvT4zVVqv+xgYNMW9MbS7g31KP4tsD9Qu/ueFX4kwy7VRA== 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=O632VGON0rni2E1Rh6ZTXYrQCzhmtQyYUY4U4IYYHCM=; b=krU1JJos4akdO3syQ+BRTE9hV77+13ItWLT+ZSygqA0gEsuMIJak/7tro054+j4YVMPcWD5T4xjXuHxIxJx2KYii0fAPAtu/rYfFjCGLce72vmGWSj+Q01DC4KMFnoNPYrqhjatJCl3bxziZJc0yaVcQKP8jOWQdWWVVSj3VhAeLoF1ytmVX9LY6zauUzKjYkVq4qK3Ed0YsIFv9EXcSAiDMGEJX2hdKKFmjmfoDk9YaPZTudBHFfQpaHNrO/g3hqMIET6R+Wg5TnvglpeVj2Qn348HprseIFe4Q0viMNdke8zn1pa3rioxhOWRIJcEMccyA9Ll4qys6chRUFJHshQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none 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=O632VGON0rni2E1Rh6ZTXYrQCzhmtQyYUY4U4IYYHCM=; b=b1fyik8lnarlcmKQRwYglnBWGEKN9R2Ktw9W00Z+i0xDFC9JY9K9WNG9VMynngNizmPnXiDlk3yt0cKFly7suJzSooUhLFf4ah3hKywwSZinx+dtUxy1nHxxPjLfEnwSF+YsWmoAAexAZdCg2oy+gWVXONK9WqVEDD8CMJwtuok= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) by DBAPR08MB5558.eurprd08.prod.outlook.com (2603:10a6:10:1b3::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.24; Mon, 28 Oct 2024 14:56:06 +0000 Received: from PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::9f32:dc2a:5bec:aeac]) by PAWPR08MB8958.eurprd08.prod.outlook.com ([fe80::9f32:dc2a:5bec:aeac%4]) with mapi id 15.20.8093.024; Mon, 28 Oct 2024 14:56:06 +0000 Date: Mon, 28 Oct 2024 14:56:04 +0000 From: Alex Coplan <alex.coplan@arm.com> To: gcc-patches@gcc.gnu.org Cc: Richard Biener <rguenther@suse.de>, Richard Sandiford <richard.sandiford@arm.com>, Tamar Christina <tamar.christina@arm.com> Subject: [RFC PATCH 5/5] vect: Also cost gconds for scalar Message-ID: <Zx+mBN9vS+bJgSme@arm.com> Content-Type: multipart/mixed; boundary="IrfgAUJuszYjqKXo" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0287.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:38f::15) To PAWPR08MB8958.eurprd08.prod.outlook.com (2603:10a6:102:33e::15) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAWPR08MB8958:EE_|DBAPR08MB5558:EE_|DB5PEPF00014B99:EE_|VI1PR08MB10176:EE_ X-MS-Office365-Filtering-Correlation-Id: bbea8147-8599-4a41-ce74-08dcf760ae45 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info-Original: DIp/GLm2rgbTzLd0SyO0ukfMJEQ17ajR6BwZsYdhMBcKnQl3nBR5YKwKtHiAYLzSKirmDbpnGGb0c2FnOMM2p5puGXWWo3cAzk1+8e2qvcsb+Sri6JDKOiKrro8e5LstkwzUpRENwspFxBT0Ry6V+sQBsWo1avq/iBAIqC7OJRceKyhKCz8uX1fYNuQ8KRIRFEmP4hv5UkJhP3KeYA3YIgw6qjx7Ujg5HeFqmbSik3Qb8t35q9pO+ZDgDs03WCith+xMwn5Chc5WhK9SRBMh2AVIl453hL16z2VijJYaI20/hJa1kGEbt/CDAO17FQrkziOliC2lapW8nbHHzEQJokCgton2JM5vVZjbKuFzUEsNjU9mnfWb+nNab+aERnbb0aWIchrbr3WAywuqDzK6pVPxAtmSd2dg7AUi/XG6JN8da8tOzcGshxnOJk8ERWtgFL+BXyzGUrL/E9uSSmz/BCruMgLkP8A7l4oueZ++RP0uB5s+ShD9ediOSAlw8POb8wGw2sZhGgEonp0iPEHX3BowqlxgC3rw0CL+RHkNCHp5VRNJgNG8UFRjuj//gcXqbnH2MTmUd436x/YvVluiemqiAWtw0xzLRWAFPgxOpYr9dEe2DIVN3bDYRM/rnP6Io8bQq1JkDoIeFpYrhFAMKo261t0EaZ+Q9XmeaK8yn9TnqXMCxWlyKnaU2cuEzVT3YeAMk+fYHITjfJffJ+Jq+O7GoyFWX3I/YCVj0YUS2UnL8/haLxdc4ySHxGZ01yOzx5zu+78HEsLCHId2uQmVwtWHaYpms5Wrng9Ie38a5eA6JPe0kLSxZDsKanVQFgKlbKkA5ZNKgFYRJhSsMeBZ/RYyPVv7cZy6MrsqkVAdATq4lQY44WiaeDZ7/axi0xXY6b7n/GneZr17BZmcmGSLz1ewyY5b2Qn10rGdxRsZWaPjrLaGzw/ZlrUjxpIpuKzZPn7FkFuhlBaoHcdjoJ9MLs6/KzDutQLd6m22wcJCsgtQPQrzceIgEkKM4a8IynJiy2MlaS+QON2u8XhjvCxy3t2SexiqFALaGK9nJwA+OdyKhg2pbLG3rP6gD6Y2vMjRHLGbQdH51ZCEIrmuZkJrNAIahU/Mse98N03EPWP3Ymd+zG23TOnwS/uTb0i/GF4SxednuZJq67b3ffeO6xKy7ExY43UEMTc6Fgt/1fiiRGYTsipkHOne8RVcng2Tsyp8IFI53itcHl6tk2qnokal3MwKCWDCyg4h2TUsaKNlnVjR//CUrHmWrT+RagpTa/sesJijBILqi+I9yMO0/g/p9GjDg0qxDDmql/VGOUNk6wCu8+cBc5sXuCxoi6GuwvZu X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8958.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR08MB5558 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:102:33e::15]; domain=PAWPR08MB8958.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5PEPF00014B99.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: bf231af5-1b21-4897-56a7-08dcf760a66f X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|376014|36860700013|35042699022|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?q?40QbMx+zIjCPk9Jf3NACx8MBd+qvEUM?= =?utf-8?q?iRuMSqANg120VmNzLuv1x1RIOaGiDpaTjZ0tnfPY3Q8Ww1qDK0MrtuN8PQnb81M1O?= =?utf-8?q?auWsynSB4BJa1MgATPIdzMXor5mZUef2ZG7ogYXDP/sLC0gs952MRXq5XTqnqAFLJ?= =?utf-8?q?yezCnbr3UWxM/bBWdKdomZPWFYBRUrbLEJMGEccUxfztltuzXI0Sz6AQ1C3JhqRx3?= =?utf-8?q?Wytus/pZl6tZrvN0lH2n064vfBLVh9M0xu1y7FDvlGCDxyI1FggTJannEDje+lDRL?= =?utf-8?q?ha1x+4IMwgGH2MSO6jIHfFNc+a/t51zUa3S7HoGmDHg/r0SLdM7kW5LxJqGu9j+as?= =?utf-8?q?NJslsS+G0PktmE8Re31u+iu1+Pa8jeIV8BABVlqZXJlWKV+dPBRz7y6SQB8rB+bn8?= =?utf-8?q?6rqeWEjO5UBpUJcGssqrb/NF6A4OhXuEvK96b12ikCGpyt4OZ4FzF02vfG4gGI8eL?= =?utf-8?q?Ajf0omCaBJhIvSVViF/Ib3/h1EHDz9Lee8Rj8mMaEfL9A9niPVRm5PXwMbrFiw/eH?= =?utf-8?q?FUyjMgtYNVQzYiCE2u3K/gHbOR7OI7pArxKqoY6/L+cbrmgkDZhiJ8v1H9WND2WxG?= =?utf-8?q?gmDtzhI3DJftxd89AI/JxhjnHbKxV4d3YtFEXHIqMd+4bm8wgXNLCHeiTibkeunkE?= =?utf-8?q?xyont7H3gzlXDWcDZsyqcHop7vVsbSLkJsjwoGRDSWFwRw6w9VeodKVSWTo+/tqYs?= =?utf-8?q?nkIJXmDcno2o6zfD3eR5YQIyhsT7E/5Jlrb22m6VJZHtL6II04GaUo3pouWRQR5V/?= =?utf-8?q?0S+IuF22ssk/u0+dMBgu1yq/1AhTSmH2QEdHds3RRkQaVcRDtjrBfk9sMoeRdZPEE?= =?utf-8?q?WTg8L/NnjweZCoafE48HSV2P5XWL0EvcP87usQmgyBF4zeZN49ha8Lf/oghUnR+Sb?= =?utf-8?q?ICpO9ej0FEC3gYgDXE+2DZdEhVpRWMysTDvGMPh1zQeonHmX5ZUFaP2Kc8q80ByI7?= =?utf-8?q?wOb96s/genmJneYnNed0tpMqQv2IvRycWet95aU20jDgDZUlZTbP1bincAP3ESrOF?= =?utf-8?q?8pCzffYGEPWU2cdptR1hJsxf+DhBiK1qe4I+km1K0yZqKW5gOY23tBJrFK8eNlXjw?= =?utf-8?q?LreSAYfx+NHTYyUL3edghwvsZVa9OJe4GSUtGepOr1JyYCflYATAcl1gN91d0SFrJ?= =?utf-8?q?EwJRitUXQnCf9w37EDYnoE07z/piZJ8/2lJ0oOe8pdO/nqRM/UwZzHyJ3rfnC+mnD?= =?utf-8?q?TYRfrd/dYsukXqITY/wmYt/W+HifgI58HoYGy9wZOSECbw5HkXAryNT8i/xn5pIh+?= =?utf-8?q?Hoh149q/nv6If8g4uodhWZOmA0XgESEHQO+5R60zBLbZlKT2AuX07NHYVLQouIKyL?= =?utf-8?q?eEceSo3feHNl2efDOSoydlOz8LtkodKe7Q=3D=3D?= 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)(82310400026)(376014)(36860700013)(35042699022)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2024 14:56:19.2030 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bbea8147-8599-4a41-ce74-08dcf760ae45 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: DB5PEPF00014B99.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB10176 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, 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 |
vect: Force peeling for alignment to handle more early break loops
|
expand
|
On Mon, 28 Oct 2024, Alex Coplan wrote: > Currently we only cost gconds for the vector loop while we omit costing > them when analyzing the scalar loop; this unfairly penalizes the vector > loop in the case of loops with early exits. > > This (together with the previous patches) enables us to vectorize > std::find with 64-bit element sizes. OK. Thanks, Richard. > gcc/ChangeLog: > > * tree-vect-loop.cc (vect_compute_single_scalar_iteration_cost): > Don't skip over gconds. > --- > gcc/tree-vect-loop.cc | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >
On Tue, 29 Oct 2024, Richard Biener wrote: > On Mon, 28 Oct 2024, Alex Coplan wrote: > > > Currently we only cost gconds for the vector loop while we omit costing > > them when analyzing the scalar loop; this unfairly penalizes the vector > > loop in the case of loops with early exits. > > > > This (together with the previous patches) enables us to vectorize > > std::find with 64-bit element sizes. > > OK. Ah, wait - but we're now costing the scalar IV gcond but we're not costing the vector (scalar) IV gcond. So you want to exempt the main IV gcond here. Richard. > Thanks, > Richard. > > > gcc/ChangeLog: > > > > * tree-vect-loop.cc (vect_compute_single_scalar_iteration_cost): > > Don't skip over gconds. > > --- > > gcc/tree-vect-loop.cc | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > > >
diff --git a/gcc/tree-vect-loop.cc b/gcc/tree-vect-loop.cc index b8e155b90f8..5e5825c6593 100644 --- a/gcc/tree-vect-loop.cc +++ b/gcc/tree-vect-loop.cc @@ -1688,7 +1688,9 @@ vect_compute_single_scalar_iteration_cost (loop_vec_info loop_vinfo) gimple *stmt = gsi_stmt (si); stmt_vec_info stmt_info = loop_vinfo->lookup_stmt (stmt); - if (!is_gimple_assign (stmt) && !is_gimple_call (stmt)) + if (!is_gimple_assign (stmt) + && !is_gimple_call (stmt) + && !is_a<gcond *> (stmt)) continue; /* Skip stmts that are not vectorized inside the loop. */