Re: [PATCH v2] IBM Z: Change vector copysign to use bitwise operations

2020-10-12 Thread Andreas Krebbel via Gcc-patches
On 09.10.20 17:49, Ilya Leoshkevich wrote: > Bootstrapped and regtested on s390x-redhat-linux. OK for master? > > v1: https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555782.html > v1 -> v2: Use related_int_vector_mode. > > > > The vector copysign pattern incorrectly assumes that vector

[PATCH v2] IBM Z: Change vector copysign to use bitwise operations

2020-10-09 Thread Ilya Leoshkevich via Gcc-patches
Bootstrapped and regtested on s390x-redhat-linux. OK for master? v1: https://gcc.gnu.org/pipermail/gcc-patches/2020-October/555782.html v1 -> v2: Use related_int_vector_mode. The vector copysign pattern incorrectly assumes that vector if_then_else operates on bits, not on elements. This can