This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH target/92295] Fix inefficient vector constructor
- From: Hongtao Liu <crazylht at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, "H. J. Lu" <hjl dot tools at gmail dot com>
- Date: Sat, 2 Nov 2019 21:38:05 +0800
- Subject: Re: [PATCH target/92295] Fix inefficient vector constructor
- References: <CAMZc-by2k43VtjGzg3-AES+T8vvZOe0LYC8WUJqjVz54mM=80A@mail.gmail.com>
Hi Jakub:
Could you help reviewing this patch.
PS: Since this patch is related to vectors(avx512f), and Uros
mentioned before that he has no intension to maintain avx512f.
On Fri, Nov 1, 2019 at 9:12 AM Hongtao Liu <crazylht@gmail.com> wrote:
>
> Hi uros:
> This patch is about to fix inefficient vector constructor.
> Currently in ix86_expand_vector_init_concat, vector are initialized
> per 2 elements which can miss some optimization opportunity like
> pr92295.
>
> Bootstrap and i386 regression test is ok.
> Ok for trunk?
>
> Changelog
> gcc/
> PR target/92295
> * config/i386/i386-expand.c (ix86_expand_vector_init_concat)
> Enhance ix86_expand_vector_init_concat.
>
> gcc/testsuite
> * gcc.target/i386/pr92295.c: New test.
>
> --
> BR,
> Hongtao
--
BR,
Hongtao