< prev index next >
src/cpu/sparc/vm/vm_version_sparc.hpp
Print this page
rev 9399 : imported patch 8133023_vm_init_before_ergo
*** 125,134 ****
--- 125,136 ----
public:
// Initialization
static void initialize();
+ static void vm_init_before_ergo() { _features = determine_features(); }
+
// Instruction support
static bool has_v8() { return (_features & v8_instructions_m) != 0; }
static bool has_v9() { return (_features & v9_instructions_m) != 0; }
static bool has_hardware_mul32() { return (_features & hardware_mul32_m) != 0; }
static bool has_hardware_div32() { return (_features & hardware_div32_m) != 0; }
< prev index next >