src/cpu/ppc/vm/vm_version_ppc.hpp

changeset 8608
0d78aecb0948
parent 6515
71a71b0bc844
child 8856
ac27a9c85bea
child 9497
f892c3b6b651
     1.1 --- a/src/cpu/ppc/vm/vm_version_ppc.hpp	Fri Aug 05 10:47:35 2016 +0000
     1.2 +++ b/src/cpu/ppc/vm/vm_version_ppc.hpp	Wed Aug 10 14:59:21 2016 +0200
     1.3 @@ -42,6 +42,7 @@
     1.4      fcfids,
     1.5      vand,
     1.6      dcba,
     1.7 +    vcipher,
     1.8      num_features // last entry to count features
     1.9    };
    1.10    enum Feature_Flag_Set {
    1.11 @@ -56,6 +57,7 @@
    1.12      fcfids_m              = (1 << fcfids ),
    1.13      vand_m                = (1 << vand   ),
    1.14      dcba_m                = (1 << dcba   ),
    1.15 +    vcipher_m             = (1 << vcipher),
    1.16      all_features_m        = -1
    1.17    };
    1.18    static int  _features;
    1.19 @@ -83,6 +85,7 @@
    1.20    static bool has_fcfids()  { return (_features & fcfids_m) != 0; }
    1.21    static bool has_vand()    { return (_features & vand_m) != 0; }
    1.22    static bool has_dcba()    { return (_features & dcba_m) != 0; }
    1.23 +  static bool has_vcipher() { return (_features & vcipher_m) != 0; }
    1.24  
    1.25    static const char* cpu_features() { return _features_str; }
    1.26  

mercurial