28 #include "opto/node.hpp" 29 #include "runtime/globals.hpp" 30 #include "utilities/debug.hpp" 31 32 // processor dependent initialization for ppc 33 34 void Compile::pd_compiler2_init() { 35 36 // Power7 and later 37 if (PowerArchitecturePPC64 > 6) { 38 if (FLAG_IS_DEFAULT(UsePopCountInstruction)) { 39 FLAG_SET_ERGO(bool, UsePopCountInstruction, true); 40 } 41 } 42 43 if (PowerArchitecturePPC64 == 6) { 44 if (FLAG_IS_DEFAULT(InsertEndGroupPPC64)) { 45 FLAG_SET_ERGO(bool, InsertEndGroupPPC64, true); 46 } 47 } 48 } | 28 #include "opto/node.hpp" 29 #include "runtime/globals.hpp" 30 #include "utilities/debug.hpp" 31 32 // processor dependent initialization for ppc 33 34 void Compile::pd_compiler2_init() { 35 36 // Power7 and later 37 if (PowerArchitecturePPC64 > 6) { 38 if (FLAG_IS_DEFAULT(UsePopCountInstruction)) { 39 FLAG_SET_ERGO(bool, UsePopCountInstruction, true); 40 } 41 } 42 43 if (PowerArchitecturePPC64 == 6) { 44 if (FLAG_IS_DEFAULT(InsertEndGroupPPC64)) { 45 FLAG_SET_ERGO(bool, InsertEndGroupPPC64, true); 46 } 47 } 48 49 SuperWordLoopUnrollAnalysis = false; 50 } |