This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[0/6] Optionally pick the cheapest loop_vec_info
- From: Richard Sandiford <Richard dot Sandiford at arm dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 5 Nov 2019 14:24:00 +0000
- Subject: [0/6] Optionally pick the cheapest loop_vec_info
- 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
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EcC5utyj7Br1rrWphZx9km8lMmGAN+u32I0RthnjJCM=; b=kerrvqxZZnE1JyGJvZeO929KnQjVB674F7jYrjwgW12z/I7lx/M8Mc2mQrbbSHZfQnR0FLxORGVNhY1/bxTckzjGPcjgxfxF9TAStoqXiWbB1sYCA2vEBkYIhSoD14QlRebBrR65n/7Ns2j98GjAEb3gKdNbUCenb8rkWhhezjF6gbtFuR4zeByKNs9BqqMYb7iUIbEAP/++Nh8Yh/ZRdPotNFLQ0U72vO2KNELZ8/cij1Vi6oppJ4veJRBdEFDVg1xZn6h1ZCzeoARmOYKEtI76foiAncW1AGARAAGtSSCibukfiQBEKYbVCf5cCG0bWDCQ6nSgeR6yks364plWkg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B/DS3jzqNj7nF1eE60psNWAV/6sz44LAWWitBLQrlgucKIMxpF29010S9BAF5j75KJr8ej5I68MUwlvYnovQSDWgNvI8UNL3TVBYpdYiiTEr4CBrwh3DmeKVRQ01trhOFaacbqS2NE803RzE3yQlhfMXphuK4bo589ATsW3o6OTzaBWll03EtrPstflq2st7pSlNAwaz/yIx3NlcvY6L1l+LcGPZUpIvwhmtMISpNEp3mbTfiX0nDCR5nJCD04QBX/AseUE1yaxigCn/3mLn1iO6clMqftxOKehebtLHMhEfqrgos/GOMOZxHH1dBgCHkjoOzjZ7B8OAX9qLxFqWMw==
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Richard dot Sandiford at arm dot com;
This series adds a mode in which we try to vectorise loops once for
each supported vector mode combination and then pick the one with the
lowest cost. There are only really two patches for that: one to add the
feature and another to enable it by default for SVE. However, for it to
work as hoped, I also needed to tweak some of the cost calculations.
The series applies on top of two earlier ones:
https://gcc.gnu.org/ml/gcc-patches/2019-11/msg00119.html
https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01822.html
Each patch tested individually on aarch64-linux-gnu and the series
as a whole on x86_64-linux-gnu.
Richard