< prev index next >

src/cpu/sparc/vm/vm_version_sparc.hpp

Print this page

        

*** 122,131 **** --- 122,132 ---- static bool is_T1_model(int features) { return is_T_family(features) && ((features & T1_model_m) != 0); } static int maximum_niagara1_processor_count() { return 32; } public: + static void early_initialize(); // Initialization static void initialize(); // Instruction support static bool has_v8() { return (_features & v8_instructions_m) != 0; }
*** 149,159 **** static bool supports_compare_and_exchange() { return has_v9(); } // Returns true if the platform is in the niagara line (T series) // and newer than the niagara1. ! static bool is_niagara_plus() { return is_T_family(_features) && !is_T1_model(_features); } static bool is_M_series() { return is_M_family(_features); } static bool is_T4() { return is_T_family(_features) && has_cbcond(); } static bool is_T7() { return is_T_family(_features) && has_sparc5_instr(); } --- 150,160 ---- static bool supports_compare_and_exchange() { return has_v9(); } // Returns true if the platform is in the niagara line (T series) // and newer than the niagara1. ! static bool is_niagara_plus() { assert(_features != 0, "System initialization is not complete."); return is_T_family(_features) && !is_T1_model(_features); } static bool is_M_series() { return is_M_family(_features); } static bool is_T4() { return is_T_family(_features) && has_cbcond(); } static bool is_T7() { return is_T_family(_features) && has_sparc5_instr(); }
< prev index next >