Re: [PATCH] i386: Add PCLMUL dependency for VPCLMULQDQ

2023-04-18 Thread Hongtao Liu via Gcc-patches
On Wed, Apr 19, 2023 at 9:54 AM Hongtao Liu wrote: > > On Tue, Apr 18, 2023 at 3:18 PM Haochen Jiang via Gcc-patches > wrote: > > > > Hi all, > > > > Currently in GCC, the 128 bit intrin for instruction vpclmulqdq is > > under PCLMUL ISA. Because there is no dependency between ISA set PCLMUL > >

Re: [PATCH] i386: Add PCLMUL dependency for VPCLMULQDQ

2023-04-18 Thread Hongtao Liu via Gcc-patches
On Tue, Apr 18, 2023 at 3:18 PM Haochen Jiang via Gcc-patches wrote: > > Hi all, > > Currently in GCC, the 128 bit intrin for instruction vpclmulqdq is > under PCLMUL ISA. Because there is no dependency between ISA set PCLMUL > and VPCLMULQDQ, The 128 bit intrin is not available when we just use >

[PATCH] i386: Add PCLMUL dependency for VPCLMULQDQ

2023-04-18 Thread Haochen Jiang via Gcc-patches
Hi all, Currently in GCC, the 128 bit intrin for instruction vpclmulqdq is under PCLMUL ISA. Because there is no dependency between ISA set PCLMUL and VPCLMULQDQ, The 128 bit intrin is not available when we just use compiler flag -mvpclmulqdq. But it should according to Intel SDM. Since VPCLMULQD