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

--- Comment #4 from HaoChen Gui <guihaoc at gcc dot gnu.org> ---
Codes in rs6000-cpus.def,

#define ISA_2_7_MASKS_SERVER    (ISA_2_6_MASKS_SERVER                   \
                                 | OPTION_MASK_P8_VECTOR                \
                                 | OPTION_MASK_CRYPTO                   \
                                 | OPTION_MASK_DIRECT_MOVE              \
                                 | OPTION_MASK_EFFICIENT_UNALIGNED_VSX  \
                                 | OPTION_MASK_QUAD_MEMORY              \
                                 | OPTION_MASK_QUAD_MEMORY_ATOMIC)

RS6000_CPU ("power7", PROCESSOR_POWER7, MASK_POWERPC64 | ISA_2_6_MASKS_SERVER)
RS6000_CPU ("power8", PROCESSOR_POWER8, MASK_POWERPC64 | ISA_2_7_MASKS_SERVER
            | OPTION_MASK_HTM)


I wonder if it's a Power8 architecture when those 6 options are all disabled.
Or it is regressed to Power7? The "_ARCH_PWR8" represents the hardware
architecture or the ISA it can be taken?

Reply via email to