src/hotspot/cpu/ppc/c2_init_ppc.cpp
changeset 54983 81becad91321
parent 48626 9f6f48d4f9a1
equal deleted inserted replaced
54982:b18c8301b8c2 54983:81becad91321
    34 void Compile::pd_compiler2_init() {
    34 void Compile::pd_compiler2_init() {
    35 
    35 
    36   // Power7 and later.
    36   // Power7 and later.
    37   if (PowerArchitecturePPC64 > 6) {
    37   if (PowerArchitecturePPC64 > 6) {
    38     if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
    38     if (FLAG_IS_DEFAULT(UsePopCountInstruction)) {
    39       FLAG_SET_ERGO(bool, UsePopCountInstruction, true);
    39       FLAG_SET_ERGO(UsePopCountInstruction, true);
    40     }
    40     }
    41   }
    41   }
    42 
    42 
    43   if (PowerArchitecturePPC64 == 6) {
    43   if (PowerArchitecturePPC64 == 6) {
    44     if (FLAG_IS_DEFAULT(InsertEndGroupPPC64)) {
    44     if (FLAG_IS_DEFAULT(InsertEndGroupPPC64)) {
    45       FLAG_SET_ERGO(bool, InsertEndGroupPPC64, true);
    45       FLAG_SET_ERGO(InsertEndGroupPPC64, true);
    46     }
    46     }
    47   }
    47   }
    48 
    48 
    49   if (!VM_Version::has_isel() && FLAG_IS_DEFAULT(ConditionalMoveLimit)) {
    49   if (!VM_Version::has_isel() && FLAG_IS_DEFAULT(ConditionalMoveLimit)) {
    50     FLAG_SET_ERGO(intx, ConditionalMoveLimit, 0);
    50     FLAG_SET_ERGO(ConditionalMoveLimit, 0);
    51   }
    51   }
    52 
    52 
    53   if (OptimizeFill) {
    53   if (OptimizeFill) {
    54     warning("OptimizeFill is not supported on this CPU.");
    54     warning("OptimizeFill is not supported on this CPU.");
    55     FLAG_SET_DEFAULT(OptimizeFill, false);
    55     FLAG_SET_DEFAULT(OptimizeFill, false);