Re: [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-11-10 Thread Uros Bizjak via Gcc-patches
On Tue, Nov 10, 2020 at 9:08 AM Hongtao Liu wrote: > > On Mon, Nov 9, 2020 at 8:26 PM Uros Bizjak wrote: > > > > On Mon, Nov 9, 2020 at 11:31 AM Hongtao Liu wrote: > > > > > > > > > > > + /* Support unified builtin. */ > > > > + || (mask2 == OPTION_MASK_ISA2_AVXVNNI) > > > > > > > > I

Re: [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-11-10 Thread Hongtao Liu via Gcc-patches
On Mon, Nov 9, 2020 at 8:26 PM Uros Bizjak wrote: > > On Mon, Nov 9, 2020 at 11:31 AM Hongtao Liu wrote: > > > > > > > > + /* Support unified builtin. */ > > > + || (mask2 == OPTION_MASK_ISA2_AVXVNNI) > > > > > > I don't think we gain anything with unified builtins. Better, just > > >

Re: [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-11-09 Thread Uros Bizjak via Gcc-patches
On Mon, Nov 9, 2020 at 11:31 AM Hongtao Liu wrote: > > > > > + /* Support unified builtin. */ > > + || (mask2 == OPTION_MASK_ISA2_AVXVNNI) > > > > I don't think we gain anything with unified builtins. Better, just > > introduce separate builtins, e.g for > > > > Unified builtins are use

Re: [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-11-09 Thread Hongtao Liu via Gcc-patches
> > + /* Support unified builtin. */ > + || (mask2 == OPTION_MASK_ISA2_AVXVNNI) > > I don't think we gain anything with unified builtins. Better, just > introduce separate builtins, e.g for > Unified builtins are used for unified intrinsics, intrinsics users may prefer same interface an

Re: [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-11-06 Thread Uros Bizjak via Gcc-patches
> This patch is about to support Intel AVX-VNNI instructions. > > AVX-VNNI is an equivalent to AVX512-VNNI with VEX encoding. The instructions > are same, but with extra {vex} prefix to distinguish from AVX512-VNNI > instructions > in assembler. > > For more details, please refer to > https://sof

Re: PING [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-11-03 Thread Hongtao Liu via Gcc-patches
ping^2, i hope this patch could land on GCC11. On Wed, Oct 28, 2020 at 5:23 PM Hongyu Wang wrote: > > Hongyu Wang 于2020年10月14日周三 上午11:27写道: > > > > Hi: > > > > This patch is about to support Intel AVX-VNNI instructions. > > > > AVX-VNNI is an equivalent to AVX512-VNNI with VEX encoding. The > >

PING [Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-10-28 Thread Hongyu Wang via Gcc-patches
Hongyu Wang 于2020年10月14日周三 上午11:27写道: > > Hi: > > This patch is about to support Intel AVX-VNNI instructions. > > AVX-VNNI is an equivalent to AVX512-VNNI with VEX encoding. The instructions > are same, but with extra {vex} prefix to distinguish from AVX512-VNNI > instructions in assembler. > >

[Patch] x86: Enable GCC support for Intel AVX-VNNI extension

2020-10-13 Thread Hongyu Wang via Gcc-patches
Hi: This patch is about to support Intel AVX-VNNI instructions. AVX-VNNI is an equivalent to AVX512-VNNI with VEX encoding. The instructions are same, but with extra {vex} prefix to distinguish from AVX512-VNNI instructions in assembler. For more details, please refer to https://software.intel.c