Re: [committed] i386: Vectorize basic V2SFmode operations [PR95046]

2020-05-11 Thread Uros Bizjak via Gcc-patches
Now with missing testcase. On Mon, May 11, 2020 at 11:20 AM Uros Bizjak wrote: > > Enable V2SFmode vectorization and vectorize V2SFmode PLUS, > MINUS, MULT, MIN and MAX operations using XMM registers. > > To avoid unwanted secondary effects (e.g. exceptions), load values > to XMM registers using

[committed] i386: Vectorize basic V2SFmode operations [PR95046]

2020-05-11 Thread Uros Bizjak via Gcc-patches
Enable V2SFmode vectorization and vectorize V2SFmode PLUS, MINUS, MULT, MIN and MAX operations using XMM registers. To avoid unwanted secondary effects (e.g. exceptions), load values to XMM registers using MOVQ that clears high bits of the XMM register outside V2SFmode. The compiler now vectorize