< prev index next >

src/cpu/ppc/vm/vm_version_ppc.hpp

Print this page
rev 7958 : 8152172: PPC64: Support AES intrinsics
Reviewed-by: kvn, mdoerr, simonis
Contributed-by: horii@jp.ibm.com

*** 40,49 **** --- 40,50 ---- popcntb, popcntw, fcfids, vand, dcba, + vcipher, num_features // last entry to count features }; enum Feature_Flag_Set { unknown_m = 0, fsqrt_m = (1 << fsqrt ),
*** 54,63 **** --- 55,65 ---- popcntb_m = (1 << popcntb), popcntw_m = (1 << popcntw), fcfids_m = (1 << fcfids ), vand_m = (1 << vand ), dcba_m = (1 << dcba ), + vcipher_m = (1 << vcipher), all_features_m = -1 }; static int _features; static int _measured_cache_line_size; static const char* _features_str;
*** 81,90 **** --- 83,93 ---- static bool has_popcntb() { return (_features & popcntb_m) != 0; } static bool has_popcntw() { return (_features & popcntw_m) != 0; } static bool has_fcfids() { return (_features & fcfids_m) != 0; } static bool has_vand() { return (_features & vand_m) != 0; } static bool has_dcba() { return (_features & dcba_m) != 0; } + static bool has_vcipher() { return (_features & vcipher_m) != 0; } static const char* cpu_features() { return _features_str; } static int get_cache_line_size() { return _measured_cache_line_size; }
< prev index next >