From patchwork Thu Sep 5 11:05:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victor Do Nascimento X-Patchwork-Id: 97150 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B1CA1386481D for ; Thu, 5 Sep 2024 11:06:00 +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-dbaeur03on20611.outbound.protection.outlook.com [IPv6:2a01:111:f403:260d::611]) by sourceware.org (Postfix) with ESMTPS id 35D213860C34 for ; Thu, 5 Sep 2024 11:05:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 35D213860C34 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 35D213860C34 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:260d::611 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1725534327; cv=pass; b=r43Z/MX49hAboeSrxdI3zbQAvWVInnJZpNHP191RkByqMbkN+VwNW/vJissmmSmxE89BNZD5++IkZuXMb8ISb/UUejSJ+aaFG+F7GJThLM9HsWdmTE6MaGz/zTKVzbaZq5FkvT872i839gDzeacNj76RRTChvqYd1XsXKUWW5Ek= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1725534327; c=relaxed/simple; bh=2RT4o08SsnD/4g+IdI/WtYBmgLmOC7WKEm/QodwUVr4=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Message-ID:Date: MIME-Version; b=IQJdXRJk+uC0Z6rnINlqxblO/gP4dlIyaHOaBFIjhOelpuFnl7XSUk7zaX39TZd/pxyiQuk+f/1cHQZAs/KBJqaTBdRS+zjGSib36D49h3sepjBsJhGoTnRcp4WCj4LRvH0fNsZqZWU3/kIGz1u+qQsZuAKfpjHlEDlmVdTLzUI= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=iir2OAF2XA9V8I9B2xjByVl1e6/B3mL0cF8mZ44abd6p39q+7NfRDqkHTfs1Fh1YOF92XrZaRkp2AlLm1stIXlGP4vJ0j+qYV71P3ZZWDMQl00EVuRmxnrf+9mr1eWEbO4E4s+UWVIAWKC3GRT4El0PBbM1rbjgTFYALOZRIPZi/NNob6G+I1nk8S9B7N6Rg3uPJlxZ4dDlpmfoX8r5frOrh+wFmnGwmfSQQtbm9M6x3PyMtv4GXi95xAjNKrBsECdAVpl8d2Oqy9PfwAlAOvjOeD5ijL4zUgkWnp+Un2sj6zszFbLYst3eeXLYCSti1gjRMHPV94exVA2LmqxDw1Q== 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=L87r1ehmb03QIP8W92HP78ULPtgZMpG1RHtaEeIzd5E=; b=K3mzFLNO47/LXVjiQH6wNFZhTN4gJluo8JYO+FzA+xnAdjJ2IjwuV6SDSL++CJjaHR+zL4Vt6kOH7hwV3L1J7/9zVJJRkbQMpzJ7G6wVSYLvsvCSbXMXcPkgULCocHPhOkL7fhNBMoiY4LaK8d4WOqYPSWav+rQM6WjdJm/y8Q4F79f9atCQjzav5Ync41Qj/Y0LiZ5Jdt/2EDEgqUQjHBfwOJJfW+IpgLaoN9iDcTM922jV/OpHcFd69502kNXTwP+gjWy61LgSGuN6oZ3beETUIMCmpoWeKt9cTpbSnFWXn0RVwvVphF5Ci0HAJ9CVYSzjpWXQFFDifFVGm40pnQ== 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=L87r1ehmb03QIP8W92HP78ULPtgZMpG1RHtaEeIzd5E=; b=UkHsRPihme5RIlgbWSjzK2Bu3s1l1aAD3bFkTOBYIpYhuMHteO4b/u3KXBu0fEtpnByHi2gMdllx3voa0dd/IdmqkzX8XvIOJ2bmXNIAtdjNfxZjW79A6rpE1SNL+/Qt+6IFc9XeVPHmj6c6qgPluYqkDXFhc1XTEQKwk2dIJrQ= Received: from AS8P251CA0006.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:2f2::32) by PA6PR08MB10443.eurprd08.prod.outlook.com (2603:10a6:102:3cf::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.23; Thu, 5 Sep 2024 11:05:20 +0000 Received: from AM1PEPF000252DD.eurprd07.prod.outlook.com (2603:10a6:20b:2f2:cafe::2) by AS8P251CA0006.outlook.office365.com (2603:10a6:20b:2f2::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7939.14 via Frontend Transport; Thu, 5 Sep 2024 11:05: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 AM1PEPF000252DD.mail.protection.outlook.com (10.167.16.55) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7918.13 via Frontend Transport; Thu, 5 Sep 2024 11:05:19 +0000 Received: ("Tessian outbound 6fb883a59982:v403"); Thu, 05 Sep 2024 11:05:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a09a04fc38314d52 X-CR-MTA-TID: 64aa7808 Received: from L25cfcb338871.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BD21A09B-5A22-41F7-B5BE-9343F88EC934.1; Thu, 05 Sep 2024 11:05:13 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id L25cfcb338871.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 05 Sep 2024 11:05:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jLZooG1K3Vpk21mapmNpKS9TKtP6+R7pVj/s+2iKG0OU88JWMnbJr5fQHhnbz3LFHcucI4wX/JTaUjaxbyhaLrCXdWtYpyQp2eJ3HMT2tdRfBACf3F35DBJSKS/dLg+CeNCxLnMQ8yDu1KAbia6q9/699a9Gut8sqHh/NScmVO9K0Q33Lwx+wQeiZWIhg6PAZpcrQr59r7Qy3WWwN/RZyvGp78wjJM86nIqlJu1wfw6z0zfjFWDaoIlID/ZP0nXsSZ6SWQxMPFNVCfsk6nvOnAMB3y4e+YxmVe/xxTDKEPdag3kWxxkWSQEEeNvE2zv2EkDUE1sBo/12TUhsjJvE4A== 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=L87r1ehmb03QIP8W92HP78ULPtgZMpG1RHtaEeIzd5E=; b=OEREb0JQaGKhVXIs7dBQRh1yl2BPqf7mGCbZ9pYYeigEJn/YeJqQK15dduPoHR/+ZV3blS5aawoSvNbsb3cSLqtDfF9YSi70dN8m2xNBLsCdbVBqYHSnf1RiCG+PZHEF5He7img82BPzV0/wqLt6bQJm0e/4P3ReynsEVLzlAeiALb8ykEy+RztIk05DhQrEhqjmkxtPGG3XHuQowXTTzu0gUEZsHAXIsLa2fZ6XvUZa9upC0V1JC5SqKGCsbfJr9cHGShZPKtFfFBk+0MSe8GVrSf/z/+7eKaEO0s2MaI6BxQOJ6JA7PCtwEp5fvEdye3Cm3BiEAjUHf7U1oUepgQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=suse.de 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=L87r1ehmb03QIP8W92HP78ULPtgZMpG1RHtaEeIzd5E=; b=UkHsRPihme5RIlgbWSjzK2Bu3s1l1aAD3bFkTOBYIpYhuMHteO4b/u3KXBu0fEtpnByHi2gMdllx3voa0dd/IdmqkzX8XvIOJ2bmXNIAtdjNfxZjW79A6rpE1SNL+/Qt+6IFc9XeVPHmj6c6qgPluYqkDXFhc1XTEQKwk2dIJrQ= Received: from AS4PR10CA0011.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5dc::14) by AS8PR08MB7838.eurprd08.prod.outlook.com (2603:10a6:20b:529::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.18; Thu, 5 Sep 2024 11:05:10 +0000 Received: from AM3PEPF0000A79C.eurprd04.prod.outlook.com (2603:10a6:20b:5dc:cafe::4c) by AS4PR10CA0011.outlook.office365.com (2603:10a6:20b:5dc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.27 via Frontend Transport; Thu, 5 Sep 2024 11:05:10 +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 AM3PEPF0000A79C.mail.protection.outlook.com (10.167.16.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7918.13 via Frontend Transport; Thu, 5 Sep 2024 11:05:10 +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; Thu, 5 Sep 2024 11:05:09 +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; Thu, 5 Sep 2024 11:05:08 +0000 Received: from e133397 (10.57.74.26) by mail.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 via Frontend Transport; Thu, 5 Sep 2024 11:05:07 +0000 From: Victor Do Nascimento To: Subject: [PATCH V4 10/10] autovectorizer: Test autovectorization of different dot-prod modes. Message-ID: CC: , Date: Thu, 5 Sep 2024 12:05:07 +0100 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM3PEPF0000A79C:EE_|AS8PR08MB7838:EE_|AM1PEPF000252DD:EE_|PA6PR08MB10443:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a9af913-5dc5-43a9-c1a0-08dccd9aa164 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|82310400026|1800799024|36860700013; X-Microsoft-Antispam-Message-Info-Original: ZSiOvJ2Kg5sm8sLmjNDw3BNb9/gYbqQ7Arhuh46gAj4wnDeIx4SxjnRC0vXF80yJpn9MTGX+nxvRG7ydYgUypsP9IX6t0gBwPodxKg4rPFxokslrVxWWgb3/qa6Lvg/O9QRNWd60UZulgOC42XpNPO+0qD+qeoyfQVj0QCJe1oHpuf6C5J7TMaSF4+gEC5RoSkdd756MzQPZBlyW4b0ohdcQr3WPsWlpLOsypnUZ9i6ABXk/Ghj9y7ShCU4KEprWaPWsTpFWfvuOZoQ8i5yYLQHioMzwl4VQ4FqunNx0fyKgrV7Z1qeerHLeTQl18MfxQ9cU0xNRIDBsPdXwBTsqAZI2SP+HGxvAuMxhzktlEAl+VKqNOEwKdIG6xS07AjWBYMk4tmzT000G2g6K0Xh2h5eOBlY6af4nwglSdcfZ/TSyKRbt6HH4uyymw77+pRUf5m9nbedmDwK/RbjszipqJIlNyJ71sYg86y+/4Nqd8svtyV83vabQHhG22nmWdBz2ncIqZ39/e1lilkLTv/PuYhmD9lIMM3Yu1fAp14MxRIqaSGJSvNw74Ujp1AvOzkPTQ921HK3oA9p9HQszJ41Jp6vaCUJcCtUaKVA+cPUbS5t5wYdVd1q/yw0r4E44c2aqGhDwTVrkIeN1eJTzX7NUkxjGC2mcMutB2zN9XXdXGEda6YcSCJsj1ycJxb7BlHf23WYzv6ZJclEIgSD0QGaHV1MOWxcLgw7+VyqdZU4VOtnFUDBl4Vjlk78QJMxJaLgK1sdb81gtZqC11gzaIBCF3qy32MHDoo4mdGHRWxQo0Mn9ZySJScaz1Oqb2IBTOyVtMSug4UAJ7CI4D6LD0E0pqNxChuQRjAlKLd1adg6umrQOP7/pFCJBIPYhORpOYK91spksGKB5lEBv9hkV+kSRGNsnUYzqyE4byEE2ezvOS3XiR345zDmufL9VodMmDihTDFXcLL5zvyLRz2+4BaU9HcfAw22S3OchNxxx87rYsRyBJwW9el3mtRmvBjX2cdYacXvxXiE56Hqt/8U+OO9B93A6dOnig1O5B5A0cWmUpAHqRAXstfVcNdJmVK2Djha41I8C257UDk0vxNcvOXdugP3ec7twIr6ZEzn8aB4yozQBJxM5AvC2w7O91xirRWxGMMKCtTmJvksz7qh6PFP4tKock3OlzS3/7qOlSKZ00YEIFKQrrf0SFMoIEHXpFaSumx45GRKwP2DwLjZ68Bj9HWj+GKetqAjL3r+zA7NvKmKd5neh2MD960zXXIqxFNk5w8zvGrzeUdZmguiwqtRcmuIc5dObZWu+Ul+NKlQO1NZec7+Q9JzXa6fh5VSqqa4gqLpptMtGgBsLF19nslyfMLu59j4qNJ3/dDniWtlIS/vCgeDtOc5Pcmgxv/WfOadxx506Oaq76HReYo2vIptiqA== 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)(82310400026)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7838 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:20b:5dc::14]; domain=AS4PR10CA0011.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM1PEPF000252DD.eurprd07.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: b778dc08-4b6b-4b1d-46f3-08dccd9a9bde X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|82310400026|35042699022|36860700013|376014; X-Microsoft-Antispam-Message-Info: RwQL1FkWYCDgnG/2kaKZx6QT9tpJrHJE3WLAzmjmyXCpVESYrLyt0gVA2ZVTFWUG/05fpfpdmrfgInn1yw4/wRJdOEa6gMrOigUMRFuM7RIBgzEmhQ9F8OFNHOTBVDm2X+jKWTFNrSYBJhAiEmzevk92NftmsZfo5ENzJV46TMsRHYFkgO6c9Z6Eu4ArUVju9tI3qKYSiZhSSVQXaMEn35LQ87imjK1jQ/p5zkItc5YiFv0B4Y/H32+cHOgS79gTB0IbUqRHZtu+etHsFxnu+2neHqDSse74ZIGkm/PHpftE1tu/Og2T8nrEx4/deaacD/s+aojCdNHbjUKQAxpyA/1gxXwazCZLBdvw023QWbxhxTeQrg/JTA9SzluLrMw85KgZQjLh2tI7egCiWIsst+uQhWSkwWOaFqbBYwxmXbbm2laVVkiL2XKYy2POzHozuTxauEadcQfp9rBBiQMeuglAHFR5PLcyzI5aWOjSy7ItzfcuSqXeBAUFWfusBEcDApuXlOTJ2lhfCmoLZP3I80spnPP7m0iagb21DIDMjoHJLuZatOSAhVMLqlJdFHYQjzHHGEhgpQvn9wIiJ4HxbL212wGP0v4P0K2tnWrpFDGLnsc4hlbFpCgkf/b1X39hZMXPzjCKoLD91oVxDXETaWK7Xo3ZhsDF8XLHN7E1cPghhF/jAM48MyejM4y8vI0HyUZc/m8HDpNBZ4MgrSGRYLoImCk+W4G8I/FlDFIjgwv9AAbKkNMDv8FsVZO4gH5J1gnF843/XUcbOEnkMX2NDTXj9w/ijvK684C4C1dyGKSWhkoVBcy81MVQW85CLZ4Y2P/38y7TUBALDXuthyQ59TlbmKE71tHtO/B4jS6NrjviSrHGQ8Nc3SURksHGMfb0bRNywW8fAN7aSTAgb746/N/dwfa/9A/yQt895QMnQBKNcINFO1Wv19BA856Khk1+DFyLG6yY2FoMcVMh9gtTWVRd4B7K06dtgMjmf6ZON0LWjRdd/iRTb38RcLgm7+XbTP73cpir2rGDCUX6cPivtkNqb6v3kRghMB9mzn2os6GGzGXyrdyxm2GQulo+KjL/zepRR5o73mSdiu/3FIHfWoKAdY51u9NDSXaHblx4EsZZ2WPdpo6KVYJlraLUimVf02626xxA4azyh44RSEjp6PJ+0HaVcB7ZiUwHZjKXIQQjWUyXxzeBZ1ZvoUekJxDbALIX9XIQT644PYZDOvtfJzRpP0/7eFJFcnxgtoGlwC5qLKIyN2d1c2RKsqwzGew5DiDEsXi7vRRNFTy3Xhb+a/1vATNDKtO1JU/T9Qy6A6UZwZ7yfmcXrXMwVklk/6LbzmBUm0pnVZquEsv7N5gdN1RPisaCi7Hb7rpiSvFju4GhYZTngO3l9qdNzSNxrqlqR3eoMACxzM5B6KyDix152w== 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)(1800799024)(82310400026)(35042699022)(36860700013)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Sep 2024 11:05:19.5379 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1a9af913-5dc5-43a9-c1a0-08dccd9aa164 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: AM1PEPF000252DD.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA6PR08MB10443 X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, 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~patchwork=sourceware.org@gcc.gnu.org Changes from previous revision: Rename new `check_effective_target' and tests to make their intent clearer. * lib/target-supports.exp: For new `check_effective_target', s/vect_dotprod_twoway/vect_dotprod_hisi/. * One test is renamed to `vect-dotprod-conv-optab.c' to emphasize aim of checking the new dotprod convert optab allows autovectorization of a given datatype to distinct target data-types. * The aarch64 runtime-correctness check has had the mode supported for its two-way dot-product added to the test name, resulting in the new `vect-dotprod-twoway-hisi.c' name. ------ Given the novel treatment of the dot product optab as a conversion, we are now able to target different relationships between output modes and input modes. This is made clearer by way of example. Previously, on AArch64, the following loop was vectorizable: uint32_t udot4(int n, uint8_t* data) { uint32_t sum = 0; for (int i=0; i + +uint32_t udot4(int n, uint8_t* data) { + uint32_t sum = 0; + for (int i=0; i +#include +#pragma GCC target "+sme2" + +uint32_t +udot2 (int n, uint16_t* data) __arm_streaming +{ + uint32_t sum = 0; + for (int i=0; i