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

            Bug ID: 95842
           Summary: arch_names_table and processor_alias_table should be
                    combined
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: hubicka at ucw dot cz, ubizjak at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

i386-builtins.c has arch_names_table to map architecture name to internal
model and a switch statement to map internal processor name to architecture
name.  When a new processor name is added, we need to update 3 different
places.  We should put all these information in processor_alias_table.  We
can update a single place in processor_alias_table to support a new processor.

Reply via email to