https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95220
Bug ID: 95220 Summary: Incorrect GFNI dectection Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: ubizjak at gmail dot com Target Milestone: --- Target: i386, x86-64 get_available_features in libgcc/config/i386/cpuinfo.c has if (avx512_usable) { ... if (ecx & bit_GFNI) set_feature (FEATURE_GFNI); But GFNI is independent of A X512. There are processors with SSE, AVX and AVX512 versions of GFNI: const wide_int_bitmask PTA_TREMONT = PTA_GOLDMONT_PLUS | PTA_CLWB | PTA_GFNI;