[Bug target/95212] New: enum processor_features is out of sync

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue May 19 14:57:14 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95212

            Bug ID: 95212
           Summary: enum processor_features is out of sync
           Product: gcc
           Version: 10.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          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

libgcc has

enum processor_features
{
  FEATURE_CMOV = 0,
...
  FEATURE_AVX512BITALG,
  FEATURE_AVX512BF16
};

i386-builtins.c has

/* This is the order of bit-fields in __processor_features in cpuinfo.c */
enum processor_features
{
...
  F_AVX512BITALG,
  F_AVX512VP2INTERSECT,  <<< Missing from libgcc.
  F_AVX512BF16,
  F_MAX
};


More information about the Gcc-bugs mailing list