< prev index next >

src/hotspot/cpu/ppc/vm_version_ppc.hpp

Print this page




  78   };
  79 
  80   static bool _is_determine_features_test_running;
  81 
  82   static void print_features();
  83   static void determine_features(); // also measures cache line size
  84   static void config_dscr(); // Power 8: Configure Data Stream Control Register.
  85   static void determine_section_size();
  86   static void power6_micro_bench();
  87 public:
  88   // Initialization
  89   static void initialize();
  90   static void check_virtualizations();
  91 
  92   // Override Abstract_VM_Version implementation
  93   static void print_platform_virtualization_info(outputStream*);
  94 
  95   // Override Abstract_VM_Version implementation
  96   static bool use_biased_locking();
  97 
  98   // PPC64 supports fast class initialization checks for static methods.
  99   static bool supports_fast_class_init_checks() { return true; }
 100 
 101   static bool is_determine_features_test_running() { return _is_determine_features_test_running; }
 102   // CPU instruction support
 103   static bool has_fsqrt()   { return (_features & fsqrt_m) != 0; }
 104   static bool has_fsqrts()  { return (_features & fsqrts_m) != 0; }
 105   static bool has_isel()    { return (_features & isel_m) != 0; }
 106   static bool has_lxarxeh() { return (_features & lxarxeh_m) !=0; }
 107   static bool has_cmpb()    { return (_features & cmpb_m) != 0; }
 108   static bool has_popcntb() { return (_features & popcntb_m) != 0; }
 109   static bool has_popcntw() { return (_features & popcntw_m) != 0; }
 110   static bool has_fcfids()  { return (_features & fcfids_m) != 0; }
 111   static bool has_vand()    { return (_features & vand_m) != 0; }
 112   static bool has_lqarx()   { return (_features & lqarx_m) != 0; }
 113   static bool has_vcipher() { return (_features & vcipher_m) != 0; }
 114   static bool has_vpmsumb() { return (_features & vpmsumb_m) != 0; }
 115   static bool has_mfdscr()  { return (_features & mfdscr_m) != 0; }
 116   static bool has_vsx()     { return (_features & vsx_m) != 0; }
 117   static bool has_ldbrx()   { return (_features & ldbrx_m) != 0; }
 118   static bool has_stdbrx()  { return (_features & stdbrx_m) != 0; }
 119   static bool has_vshasig() { return (_features & vshasig_m) != 0; }
 120   static bool has_tm()      { return (_features & rtm_m) != 0; }


  78   };
  79 
  80   static bool _is_determine_features_test_running;
  81 
  82   static void print_features();
  83   static void determine_features(); // also measures cache line size
  84   static void config_dscr(); // Power 8: Configure Data Stream Control Register.
  85   static void determine_section_size();
  86   static void power6_micro_bench();
  87 public:
  88   // Initialization
  89   static void initialize();
  90   static void check_virtualizations();
  91 
  92   // Override Abstract_VM_Version implementation
  93   static void print_platform_virtualization_info(outputStream*);
  94 
  95   // Override Abstract_VM_Version implementation
  96   static bool use_biased_locking();
  97 



  98   static bool is_determine_features_test_running() { return _is_determine_features_test_running; }
  99   // CPU instruction support
 100   static bool has_fsqrt()   { return (_features & fsqrt_m) != 0; }
 101   static bool has_fsqrts()  { return (_features & fsqrts_m) != 0; }
 102   static bool has_isel()    { return (_features & isel_m) != 0; }
 103   static bool has_lxarxeh() { return (_features & lxarxeh_m) !=0; }
 104   static bool has_cmpb()    { return (_features & cmpb_m) != 0; }
 105   static bool has_popcntb() { return (_features & popcntb_m) != 0; }
 106   static bool has_popcntw() { return (_features & popcntw_m) != 0; }
 107   static bool has_fcfids()  { return (_features & fcfids_m) != 0; }
 108   static bool has_vand()    { return (_features & vand_m) != 0; }
 109   static bool has_lqarx()   { return (_features & lqarx_m) != 0; }
 110   static bool has_vcipher() { return (_features & vcipher_m) != 0; }
 111   static bool has_vpmsumb() { return (_features & vpmsumb_m) != 0; }
 112   static bool has_mfdscr()  { return (_features & mfdscr_m) != 0; }
 113   static bool has_vsx()     { return (_features & vsx_m) != 0; }
 114   static bool has_ldbrx()   { return (_features & ldbrx_m) != 0; }
 115   static bool has_stdbrx()  { return (_features & stdbrx_m) != 0; }
 116   static bool has_vshasig() { return (_features & vshasig_m) != 0; }
 117   static bool has_tm()      { return (_features & rtm_m) != 0; }
< prev index next >