comparison src/cpu/sparc/vm/vm_version_sparc.hpp @ 7942:d2dd79a4fd69

8133023: ParallelGCThreads is not calculated correctly Reviewed-by: kbarrett, tschatzl
author poonam
date Tue, 15 Mar 2016 17:39:56 -0700
parents f79d8e8caecb
children 3cb2feaca8cf
comparison
equal deleted inserted replaced
22:03ed89f39a84 23:e2174da53ffb
122 122
123 public: 123 public:
124 // Initialization 124 // Initialization
125 static void initialize(); 125 static void initialize();
126 126
127 static void init_before_ergo() { _features = determine_features(); }
128
127 // Instruction support 129 // Instruction support
128 static bool has_v8() { return (_features & v8_instructions_m) != 0; } 130 static bool has_v8() { return (_features & v8_instructions_m) != 0; }
129 static bool has_v9() { return (_features & v9_instructions_m) != 0; } 131 static bool has_v9() { return (_features & v9_instructions_m) != 0; }
130 static bool has_hardware_mul32() { return (_features & hardware_mul32_m) != 0; } 132 static bool has_hardware_mul32() { return (_features & hardware_mul32_m) != 0; }
131 static bool has_hardware_div32() { return (_features & hardware_div32_m) != 0; } 133 static bool has_hardware_div32() { return (_features & hardware_div32_m) != 0; }