< prev index next >

src/cpu/aarch64/vm/vm_version_aarch64.hpp

Print this page




  30 #include "runtime/vm_version.hpp"
  31 
  32 class VM_Version : public Abstract_VM_Version {
  33 public:
  34 protected:
  35   static int _cpu;
  36   static int _model;
  37   static int _model2;
  38   static int _variant;
  39   static int _revision;
  40   static int _stepping;
  41   static int _cpuFeatures;     // features returned by the "cpuid" instruction
  42                                // 0 if this instruction is not available
  43   static const char* _features_str;
  44 
  45   static void get_processor_features();
  46 
  47 public:
  48   // Initialization
  49   static void initialize();

  50 
  51   // Asserts
  52   static void assert_is_initialized() {
  53   }
  54 
  55   enum {
  56     CPU_ARM       = 'A',
  57     CPU_BROADCOM  = 'B',
  58     CPU_CAVIUM    = 'C',
  59     CPU_DEC       = 'D',
  60     CPU_INFINEON  = 'I',
  61     CPU_MOTOROLA  = 'M',
  62     CPU_NVIDIA    = 'N',
  63     CPU_AMCC      = 'P',
  64     CPU_QUALCOM   = 'Q',
  65     CPU_MARVELL   = 'V',
  66     CPU_INTEL     = 'i',
  67   } cpuFamily;
  68 
  69   enum {




  30 #include "runtime/vm_version.hpp"
  31 
  32 class VM_Version : public Abstract_VM_Version {
  33 public:
  34 protected:
  35   static int _cpu;
  36   static int _model;
  37   static int _model2;
  38   static int _variant;
  39   static int _revision;
  40   static int _stepping;
  41   static int _cpuFeatures;     // features returned by the "cpuid" instruction
  42                                // 0 if this instruction is not available
  43   static const char* _features_str;
  44 
  45   static void get_processor_features();
  46 
  47 public:
  48   // Initialization
  49   static void initialize();
  50   static void vm_init_before_ergo() {}
  51 
  52   // Asserts
  53   static void assert_is_initialized() {
  54   }
  55 
  56   enum {
  57     CPU_ARM       = 'A',
  58     CPU_BROADCOM  = 'B',
  59     CPU_CAVIUM    = 'C',
  60     CPU_DEC       = 'D',
  61     CPU_INFINEON  = 'I',
  62     CPU_MOTOROLA  = 'M',
  63     CPU_NVIDIA    = 'N',
  64     CPU_AMCC      = 'P',
  65     CPU_QUALCOM   = 'Q',
  66     CPU_MARVELL   = 'V',
  67     CPU_INTEL     = 'i',
  68   } cpuFamily;
  69 
  70   enum {


< prev index next >