Re: [WIP PATCH]: Autovectorize V2SF mode

2020-05-08 Thread Uros Bizjak via Gcc-patches
On Fri, May 8, 2020 at 7:22 PM Uros Bizjak wrote: > > Attached WIP patch enables auto-vectorization of basic V2SF operations > (plus, minus, mult, min/max). The compiler takes care that everything > is loaded from memory via movq insn, so top two registers always > remain zero. This example: --c

[WIP PATCH]: Autovectorize V2SF mode

2020-05-08 Thread Uros Bizjak via Gcc-patches
Attached WIP patch enables auto-vectorization of basic V2SF operations (plus, minus, mult, min/max). The compiler takes care that everything is loaded from memory via movq insn, so top two registers always remain zero. We could probably vectorize some more operations (horizontal add, horizontal su