1.1 --- a/src/cpu/sparc/vm/vm_version_sparc.hpp Fri Feb 14 16:17:22 2014 +0100 1.2 +++ b/src/cpu/sparc/vm/vm_version_sparc.hpp Tue Jan 14 17:46:48 2014 -0800 1.3 @@ -48,7 +48,8 @@ 1.4 sparc64_family = 14, 1.5 M_family = 15, 1.6 T_family = 16, 1.7 - T1_model = 17 1.8 + T1_model = 17, 1.9 + aes_instructions = 18 1.10 }; 1.11 1.12 enum Feature_Flag_Set { 1.13 @@ -73,6 +74,7 @@ 1.14 M_family_m = 1 << M_family, 1.15 T_family_m = 1 << T_family, 1.16 T1_model_m = 1 << T1_model, 1.17 + aes_instructions_m = 1 << aes_instructions, 1.18 1.19 generic_v8_m = v8_instructions_m | hardware_mul32_m | hardware_div32_m | hardware_fsmuld_m, 1.20 generic_v9_m = generic_v8_m | v9_instructions_m, 1.21 @@ -123,6 +125,7 @@ 1.22 static bool has_vis3() { return (_features & vis3_instructions_m) != 0; } 1.23 static bool has_blk_init() { return (_features & blk_init_instructions_m) != 0; } 1.24 static bool has_cbcond() { return (_features & cbcond_instructions_m) != 0; } 1.25 + static bool has_aes() { return (_features & aes_instructions_m) != 0; } 1.26 1.27 static bool supports_compare_and_exchange() 1.28 { return has_v9(); }