Re: [PATCH] [x86] Refine maskstore patterns with UNSPEC_MASKMOV.

2023-06-27 Thread Hongtao Liu via Gcc-patches
On Tue, Jun 27, 2023 at 3:28 PM Hongtao Liu wrote: > > On Tue, Jun 27, 2023 at 3:20 PM Richard Biener via Gcc-patches > wrote: > > > > On Tue, Jun 27, 2023 at 7:38 AM liuhongt wrote: > > > > > > At the rtl level, we cannot guarantee that the maskstore is not optimized > > > to other full-memory

Re: [PATCH] [x86] Refine maskstore patterns with UNSPEC_MASKMOV.

2023-06-27 Thread Hongtao Liu via Gcc-patches
On Tue, Jun 27, 2023 at 3:20 PM Richard Biener via Gcc-patches wrote: > > On Tue, Jun 27, 2023 at 7:38 AM liuhongt wrote: > > > > At the rtl level, we cannot guarantee that the maskstore is not optimized > > to other full-memory accesses, as the current implementations are equivalent > > in terms

Re: [PATCH] [x86] Refine maskstore patterns with UNSPEC_MASKMOV.

2023-06-27 Thread Richard Biener via Gcc-patches
On Tue, Jun 27, 2023 at 7:38 AM liuhongt wrote: > > At the rtl level, we cannot guarantee that the maskstore is not optimized > to other full-memory accesses, as the current implementations are equivalent > in terms of pattern, to solve this potential problem, this patch refines > the pattern of t

[PATCH] [x86] Refine maskstore patterns with UNSPEC_MASKMOV.

2023-06-26 Thread liuhongt via Gcc-patches
At the rtl level, we cannot guarantee that the maskstore is not optimized to other full-memory accesses, as the current implementations are equivalent in terms of pattern, to solve this potential problem, this patch refines the pattern of the maskstore and the intrinsics with unspec. One thing I'm