Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-14 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 14, 2022 at 4:53 PM Hongtao Liu wrote: > > On Thu, Jul 14, 2022 at 4:20 PM Richard Biener > wrote: > > > > On Wed, Jul 13, 2022 at 9:34 AM Richard Biener > > wrote: > > > > > > On Wed, Jul 13, 2022 at 6:47 AM Hongtao Liu wrote: > > > > > > > > On Tue, Jul 12, 2022 at 10:12 PM Richar

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-14 Thread Hongtao Liu via Gcc-patches
On Thu, Jul 14, 2022 at 4:20 PM Richard Biener wrote: > > On Wed, Jul 13, 2022 at 9:34 AM Richard Biener > wrote: > > > > On Wed, Jul 13, 2022 at 6:47 AM Hongtao Liu wrote: > > > > > > On Tue, Jul 12, 2022 at 10:12 PM Richard Biener > > > wrote: > > > > > > > > On Tue, Jul 12, 2022 at 6:11 AM H

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-14 Thread Richard Biener via Gcc-patches
On Wed, Jul 13, 2022 at 9:34 AM Richard Biener wrote: > > On Wed, Jul 13, 2022 at 6:47 AM Hongtao Liu wrote: > > > > On Tue, Jul 12, 2022 at 10:12 PM Richard Biener > > wrote: > > > > > > On Tue, Jul 12, 2022 at 6:11 AM Hongtao Liu wrote: > > > > > > > > On Mon, Jul 11, 2022 at 7:47 PM Richard

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-13 Thread Richard Biener via Gcc-patches
On Wed, Jul 13, 2022 at 6:47 AM Hongtao Liu wrote: > > On Tue, Jul 12, 2022 at 10:12 PM Richard Biener > wrote: > > > > On Tue, Jul 12, 2022 at 6:11 AM Hongtao Liu wrote: > > > > > > On Mon, Jul 11, 2022 at 7:47 PM Richard Biener via Gcc-patches > > > wrote: > > > > > > > > On Mon, Jul 11, 2022

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-12 Thread Hongtao Liu via Gcc-patches
On Tue, Jul 12, 2022 at 10:12 PM Richard Biener wrote: > > On Tue, Jul 12, 2022 at 6:11 AM Hongtao Liu wrote: > > > > On Mon, Jul 11, 2022 at 7:47 PM Richard Biener via Gcc-patches > > wrote: > > > > > > On Mon, Jul 11, 2022 at 5:44 AM liuhongt wrote: > > > > > > > > The patch only handles load

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-12 Thread Richard Biener via Gcc-patches
On Tue, Jul 12, 2022 at 6:11 AM Hongtao Liu wrote: > > On Mon, Jul 11, 2022 at 7:47 PM Richard Biener via Gcc-patches > wrote: > > > > On Mon, Jul 11, 2022 at 5:44 AM liuhongt wrote: > > > > > > The patch only handles load/store(including ctor/permutation, except > > > gather/scatter) for comple

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-11 Thread Hongtao Liu via Gcc-patches
On Mon, Jul 11, 2022 at 7:47 PM Richard Biener via Gcc-patches wrote: > > On Mon, Jul 11, 2022 at 5:44 AM liuhongt wrote: > > > > The patch only handles load/store(including ctor/permutation, except > > gather/scatter) for complex type, other operations don't needs to be > > handled since they wi

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-11 Thread Richard Biener via Gcc-patches
On Mon, Jul 11, 2022 at 5:44 AM liuhongt wrote: > > The patch only handles load/store(including ctor/permutation, except > gather/scatter) for complex type, other operations don't needs to be > handled since they will be lowered by pass cplxlower.(MASK_LOAD is not > supported for complex type, so

Re: [PATCH] [RFC]Support vectorization for Complex type.

2022-07-10 Thread Jeff Law via Gcc-patches
On 7/10/2022 9:43 PM, liuhongt via Gcc-patches wrote: The patch only handles load/store(including ctor/permutation, except gather/scatter) for complex type, other operations don't needs to be handled since they will be lowered by pass cplxlower.(MASK_LOAD is not supported for complex type, so

[PATCH] [RFC]Support vectorization for Complex type.

2022-07-10 Thread liuhongt via Gcc-patches
The patch only handles load/store(including ctor/permutation, except gather/scatter) for complex type, other operations don't needs to be handled since they will be lowered by pass cplxlower.(MASK_LOAD is not supported for complex type, so no need to handle either). Instead of support vector(2) _C