Re: [PATCH] [i386] Remove copysign post_reload splitter for scalar modes.

2021-09-09 Thread Hongtao Liu via Gcc-patches
On Thu, Sep 9, 2021 at 4:00 PM Hongtao Liu wrote: > > On Thu, Sep 9, 2021 at 3:54 PM liuhongt wrote: > > > > Hi: > > As a follow up of [1], the patch removes all scalar mode copysign related > > post_reload splitter/define_insn and expand copysign directly into below > > using > > paradoxical

Re: [PATCH] [i386] Remove copysign post_reload splitter for scalar modes.

2021-09-09 Thread Hongtao Liu via Gcc-patches
On Thu, Sep 9, 2021 at 3:54 PM liuhongt wrote: > > Hi: > As a follow up of [1], the patch removes all scalar mode copysign related > post_reload splitter/define_insn and expand copysign directly into below using > paradoxical subregs. [1] https://gcc.gnu.org/pipermail/gcc-patches/2021-September

[PATCH] [i386] Remove copysign post_reload splitter for scalar modes.

2021-09-09 Thread liuhongt via Gcc-patches
Hi: As a follow up of [1], the patch removes all scalar mode copysign related post_reload splitter/define_insn and expand copysign directly into below using paradoxical subregs. op3 = op1 & ~mask; op4 = op2 & mask; dest = op3 | op4; It can sometimes generate better code just like avx512dq