On Thu, 22 Jul 2021, Liu, Hongtao wrote:
>
>
> >-Original Message-
> >From: Uros Bizjak
> >Sent: Wednesday, July 21, 2021 4:23 PM
> >To: Hongtao Liu
> >Cc: Liu, Hongtao ; gcc-patches@gcc.gnu.org; H. J. Lu
> >; Richard Biener
> >Subject
>-Original Message-
>From: Uros Bizjak
>Sent: Wednesday, July 21, 2021 4:23 PM
>To: Hongtao Liu
>Cc: Liu, Hongtao ; gcc-patches@gcc.gnu.org; H. J. Lu
>; Richard Biener
>Subject: Re: [PATCH] Support logic shift left/right for avx512 mask type.
>
>On Wed, Jul
On Wed, Jul 21, 2021 at 5:05 AM Hongtao Liu wrote:
>
> On Tue, Jul 20, 2021 at 9:41 PM Uros Bizjak wrote:
> >
> > On Tue, Jul 20, 2021 at 2:33 PM liuhongt wrote:
> > >
> > > Hi:
> > > As mention in
> > > https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575420.html
> > >
> > > cut start
iff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md
> > index ab29999023d..f8759e4d758 100644
> > --- a/gcc/config/i386/sse.md
> > +++ b/gcc/config/i386/sse.md
> > @@ -1755,6 +1755,20 @@ (define_insn "k"
> > (set_attr "prefix" "
On Tue, Jul 20, 2021 at 2:33 PM liuhongt wrote:
>
> Hi:
> As mention in
> https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575420.html
>
> cut start-
> > note for the lowpart we can just view-convert away the excess bits,
> > fully re-using the mask. We generate surprisingly "good"
Hi:
As mention in https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575420.html
cut start-
> note for the lowpart we can just view-convert away the excess bits,
> fully re-using the mask. We generate surprisingly "good" code:
>
> kmovb %k1, %edi
> shrb$4, %dil
>