src/cpu/ppc/vm/vm_version_ppc.hpp

changeset 9497
f892c3b6b651
parent 8608
0d78aecb0948
child 9572
624a0741915c
child 9662
6eedcffa129d
     1.1 --- a/src/cpu/ppc/vm/vm_version_ppc.hpp	Mon Sep 24 17:18:38 2018 -0400
     1.2 +++ b/src/cpu/ppc/vm/vm_version_ppc.hpp	Thu Sep 22 12:17:24 2016 +0200
     1.3 @@ -43,6 +43,7 @@
     1.4      vand,
     1.5      dcba,
     1.6      vcipher,
     1.7 +    vpmsumb,
     1.8      num_features // last entry to count features
     1.9    };
    1.10    enum Feature_Flag_Set {
    1.11 @@ -58,6 +59,7 @@
    1.12      vand_m                = (1 << vand   ),
    1.13      dcba_m                = (1 << dcba   ),
    1.14      vcipher_m             = (1 << vcipher),
    1.15 +    vpmsumb_m             = (1 << vpmsumb),
    1.16      all_features_m        = -1
    1.17    };
    1.18    static int  _features;
    1.19 @@ -86,6 +88,7 @@
    1.20    static bool has_vand()    { return (_features & vand_m) != 0; }
    1.21    static bool has_dcba()    { return (_features & dcba_m) != 0; }
    1.22    static bool has_vcipher() { return (_features & vcipher_m) != 0; }
    1.23 +  static bool has_vpmsumb() { return (_features & vpmsumb_m) != 0; }
    1.24  
    1.25    static const char* cpu_features() { return _features_str; }
    1.26  

mercurial