[PATCH] Enable memory operand for vfpclass[p,s][s,d] patterns.

Hongtao Liu crazylht@gmail.com
Thu Jun 6 01:17:00 GMT 2019


On Thu, Jun 6, 2019 at 6:18 AM Jeff Law <law@redhat.com> wrote:
>
> On 6/5/19 1:39 AM, Hongtao Liu wrote:
> > Hi Jeff and Jakub:
> >   When adding new intrinsics(PR target/89803), i found vfpclassp[sd],
> > vfpclasss[sd] patterns didn't support memory operand which is
> > supported in instructions. So this patch is about to enable memory
> > operands for vfpclassp[s,d]/vfpclasss[s,d] patterns.
> >
> > Bootstrapped/regtested on x86_64-linux and i686-linux (on skylake-avx512),
> > ok for trunk?
> >
> > Changelog
> > gcc/
> > 2019-06-05  Hongtao Liu  <hongtao.liu@intel.com>
> >
> > * config/i386/sse.md (define_mode_suffix vecmemsuffix): New.
> > (define_insn "avx512dq_fpclass<mode><mask_scalar_merge_name>"):
> > Enable memory operand for it.
> > (define_insn "avx512dq_vmfpclass<mode><mask_scalar_merge_name>"): Ditto.
> >
> > gcc/testsuite/
> > 2019-06-05  Hongtao Liu  <hongtao.liu@intel.com>
> >
> > * gcc.target/i386/avx512dq-vfpclasspd-1.c:
> > Adjust scan assember for {x,y,z} suffix.
> > * gcc.target/i386/avx512dq-vfpclassps-1.c: Ditto.
> OK, but make sure you fix the ChangeLog formatting as you commit.
>
> jeff

Thanks.

Committed:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=271984.

-- 
BR,
Hongtao



More information about the Gcc-patches mailing list