proxygen
folly::CpuId Class Reference

#include <CpuId.h>

Public Member Functions

FOLLY_ALWAYS_INLINE CpuId ()
 
FOLLY_ALWAYS_INLINE bool sse3 () const
 
FOLLY_ALWAYS_INLINE bool pclmuldq () const
 
FOLLY_ALWAYS_INLINE bool dtes64 () const
 
FOLLY_ALWAYS_INLINE bool monitor () const
 
FOLLY_ALWAYS_INLINE bool dscpl () const
 
FOLLY_ALWAYS_INLINE bool vmx () const
 
FOLLY_ALWAYS_INLINE bool smx () const
 
FOLLY_ALWAYS_INLINE bool eist () const
 
FOLLY_ALWAYS_INLINE bool tm2 () const
 
FOLLY_ALWAYS_INLINE bool ssse3 () const
 
FOLLY_ALWAYS_INLINE bool cnxtid () const
 
FOLLY_ALWAYS_INLINE bool fma () const
 
FOLLY_ALWAYS_INLINE bool cx16 () const
 
FOLLY_ALWAYS_INLINE bool xtpr () const
 
FOLLY_ALWAYS_INLINE bool pdcm () const
 
FOLLY_ALWAYS_INLINE bool pcid () const
 
FOLLY_ALWAYS_INLINE bool dca () const
 
FOLLY_ALWAYS_INLINE bool sse41 () const
 
FOLLY_ALWAYS_INLINE bool sse42 () const
 
FOLLY_ALWAYS_INLINE bool x2apic () const
 
FOLLY_ALWAYS_INLINE bool movbe () const
 
FOLLY_ALWAYS_INLINE bool popcnt () const
 
FOLLY_ALWAYS_INLINE bool tscdeadline () const
 
FOLLY_ALWAYS_INLINE bool aes () const
 
FOLLY_ALWAYS_INLINE bool xsave () const
 
FOLLY_ALWAYS_INLINE bool osxsave () const
 
FOLLY_ALWAYS_INLINE bool avx () const
 
FOLLY_ALWAYS_INLINE bool f16c () const
 
FOLLY_ALWAYS_INLINE bool rdrand () const
 
FOLLY_ALWAYS_INLINE bool fpu () const
 
FOLLY_ALWAYS_INLINE bool vme () const
 
FOLLY_ALWAYS_INLINE bool de () const
 
FOLLY_ALWAYS_INLINE bool pse () const
 
FOLLY_ALWAYS_INLINE bool tsc () const
 
FOLLY_ALWAYS_INLINE bool msr () const
 
FOLLY_ALWAYS_INLINE bool pae () const
 
FOLLY_ALWAYS_INLINE bool mce () const
 
FOLLY_ALWAYS_INLINE bool cx8 () const
 
FOLLY_ALWAYS_INLINE bool apic () const
 
FOLLY_ALWAYS_INLINE bool sep () const
 
FOLLY_ALWAYS_INLINE bool mtrr () const
 
FOLLY_ALWAYS_INLINE bool pge () const
 
FOLLY_ALWAYS_INLINE bool mca () const
 
FOLLY_ALWAYS_INLINE bool cmov () const
 
FOLLY_ALWAYS_INLINE bool pat () const
 
FOLLY_ALWAYS_INLINE bool pse36 () const
 
FOLLY_ALWAYS_INLINE bool psn () const
 
FOLLY_ALWAYS_INLINE bool clfsh () const
 
FOLLY_ALWAYS_INLINE bool ds () const
 
FOLLY_ALWAYS_INLINE bool acpi () const
 
FOLLY_ALWAYS_INLINE bool mmx () const
 
FOLLY_ALWAYS_INLINE bool fxsr () const
 
FOLLY_ALWAYS_INLINE bool sse () const
 
FOLLY_ALWAYS_INLINE bool sse2 () const
 
FOLLY_ALWAYS_INLINE bool ss () const
 
FOLLY_ALWAYS_INLINE bool htt () const
 
FOLLY_ALWAYS_INLINE bool tm () const
 
FOLLY_ALWAYS_INLINE bool pbe () const
 
FOLLY_ALWAYS_INLINE bool bmi1 () const
 
FOLLY_ALWAYS_INLINE bool hle () const
 
FOLLY_ALWAYS_INLINE bool avx2 () const
 
FOLLY_ALWAYS_INLINE bool smep () const
 
FOLLY_ALWAYS_INLINE bool bmi2 () const
 
FOLLY_ALWAYS_INLINE bool erms () const
 
FOLLY_ALWAYS_INLINE bool invpcid () const
 
FOLLY_ALWAYS_INLINE bool rtm () const
 
FOLLY_ALWAYS_INLINE bool mpx () const
 
FOLLY_ALWAYS_INLINE bool avx512f () const
 
FOLLY_ALWAYS_INLINE bool avx512dq () const
 
FOLLY_ALWAYS_INLINE bool rdseed () const
 
FOLLY_ALWAYS_INLINE bool adx () const
 
FOLLY_ALWAYS_INLINE bool smap () const
 
FOLLY_ALWAYS_INLINE bool avx512ifma () const
 
FOLLY_ALWAYS_INLINE bool pcommit () const
 
FOLLY_ALWAYS_INLINE bool clflushopt () const
 
FOLLY_ALWAYS_INLINE bool clwb () const
 
FOLLY_ALWAYS_INLINE bool avx512pf () const
 
FOLLY_ALWAYS_INLINE bool avx512er () const
 
FOLLY_ALWAYS_INLINE bool avx512cd () const
 
FOLLY_ALWAYS_INLINE bool sha () const
 
FOLLY_ALWAYS_INLINE bool avx512bw () const
 
FOLLY_ALWAYS_INLINE bool avx512vl () const
 
FOLLY_ALWAYS_INLINE bool prefetchwt1 () const
 
FOLLY_ALWAYS_INLINE bool avx512vbmi () const
 

Private Attributes

uint32_t f1c_ = 0
 
uint32_t f1d_ = 0
 
uint32_t f7b_ = 0
 
uint32_t f7c_ = 0
 

Detailed Description

Identification of an Intel CPU. Supports CPUID feature flags (EAX=1) and extended features (EAX=7, ECX=0). Values from http://www.intel.com/content/www/us/en/processors/processor-identification-cpuid-instruction-note.html

Definition at line 35 of file CpuId.h.

Constructor & Destructor Documentation

FOLLY_ALWAYS_INLINE folly::CpuId::CpuId ( )
inline

Definition at line 43 of file CpuId.h.

References f1c_, f1d_, f7b_, f7c_, and uint32_t.

43  {
44 #if defined(_MSC_VER) && (FOLLY_X64 || defined(_M_IX86))
45  int reg[4];
46  __cpuid(static_cast<int*>(reg), 0);
47  const int n = reg[0];
48  if (n >= 1) {
49  __cpuid(static_cast<int*>(reg), 1);
50  f1c_ = uint32_t(reg[2]);
51  f1d_ = uint32_t(reg[3]);
52  }
53  if (n >= 7) {
54  __cpuidex(static_cast<int*>(reg), 7, 0);
55  f7b_ = uint32_t(reg[1]);
56  f7c_ = uint32_t(reg[2]);
57  }
58 #elif defined(__i386__) && defined(__PIC__) && !defined(__clang__) && \
59  defined(__GNUC__)
60  // The following block like the normal cpuid branch below, but gcc
61  // reserves ebx for use of its pic register so we must specially
62  // handle the save and restore to avoid clobbering the register
63  uint32_t n;
64  __asm__(
65  "pushl %%ebx\n\t"
66  "cpuid\n\t"
67  "popl %%ebx\n\t"
68  : "=a"(n)
69  : "a"(0)
70  : "ecx", "edx");
71  if (n >= 1) {
72  uint32_t f1a;
73  __asm__(
74  "pushl %%ebx\n\t"
75  "cpuid\n\t"
76  "popl %%ebx\n\t"
77  : "=a"(f1a), "=c"(f1c_), "=d"(f1d_)
78  : "a"(1)
79  :);
80  }
81  if (n >= 7) {
82  __asm__(
83  "pushl %%ebx\n\t"
84  "cpuid\n\t"
85  "movl %%ebx, %%eax\n\r"
86  "popl %%ebx"
87  : "=a"(f7b_), "=c"(f7c_)
88  : "a"(7), "c"(0)
89  : "edx");
90  }
91 #elif FOLLY_X64 || defined(__i386__)
92  uint32_t n;
93  __asm__("cpuid" : "=a"(n) : "a"(0) : "ebx", "ecx", "edx");
94  if (n >= 1) {
95  uint32_t f1a;
96  __asm__("cpuid" : "=a"(f1a), "=c"(f1c_), "=d"(f1d_) : "a"(1) : "ebx");
97  }
98  if (n >= 7) {
99  uint32_t f7a;
100  __asm__("cpuid"
101  : "=a"(f7a), "=b"(f7b_), "=c"(f7c_)
102  : "a"(7), "c"(0)
103  : "edx");
104  }
105 #endif
106  }
uint32_t f7c_
Definition: CpuId.h:215
uint32_t f7b_
Definition: CpuId.h:214
uint32_t f1d_
Definition: CpuId.h:213
uint32_t f1c_
Definition: CpuId.h:212

Member Function Documentation

FOLLY_ALWAYS_INLINE bool folly::CpuId::acpi ( ) const
inline

Definition at line 166 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::adx ( ) const
inline

Definition at line 191 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::aes ( ) const
inline

Definition at line 138 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::apic ( ) const
inline

Definition at line 155 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx ( ) const
inline

Definition at line 141 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx2 ( ) const
inline

Definition at line 181 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512bw ( ) const
inline

Definition at line 201 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512cd ( ) const
inline

Definition at line 199 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512dq ( ) const
inline

Definition at line 189 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512er ( ) const
inline

Definition at line 198 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512f ( ) const
inline

Definition at line 188 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512ifma ( ) const
inline

Definition at line 193 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512pf ( ) const
inline

Definition at line 197 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512vbmi ( ) const
inline

Definition at line 206 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::avx512vl ( ) const
inline

Definition at line 202 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::bmi1 ( ) const
inline

Definition at line 179 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::bmi2 ( ) const
inline

Definition at line 183 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::clflushopt ( ) const
inline

Definition at line 195 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::clfsh ( ) const
inline

Definition at line 164 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::clwb ( ) const
inline

Definition at line 196 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::cmov ( ) const
inline

Definition at line 160 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::cnxtid ( ) const
inline

Definition at line 125 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::cx16 ( ) const
inline

Definition at line 127 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::cx8 ( ) const
inline

Definition at line 154 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::dca ( ) const
inline

Definition at line 131 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::de ( ) const
inline

Definition at line 148 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::ds ( ) const
inline

Definition at line 165 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::dscpl ( ) const
inline

Definition at line 119 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::dtes64 ( ) const
inline

Definition at line 117 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::eist ( ) const
inline

Definition at line 122 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::erms ( ) const
inline

Definition at line 184 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::f16c ( ) const
inline

Definition at line 142 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::fma ( ) const
inline

Definition at line 126 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::fpu ( ) const
inline

Definition at line 146 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::fxsr ( ) const
inline

Definition at line 168 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::hle ( ) const
inline

Definition at line 180 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::htt ( ) const
inline

Definition at line 172 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::invpcid ( ) const
inline

Definition at line 185 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::mca ( ) const
inline

Definition at line 159 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::mce ( ) const
inline

Definition at line 153 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::mmx ( ) const
inline

Definition at line 167 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::monitor ( ) const
inline

Definition at line 118 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::movbe ( ) const
inline

Definition at line 135 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::mpx ( ) const
inline

Definition at line 187 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::msr ( ) const
inline

Definition at line 151 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::mtrr ( ) const
inline

Definition at line 157 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::osxsave ( ) const
inline

Definition at line 140 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pae ( ) const
inline

Definition at line 152 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pat ( ) const
inline

Definition at line 161 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pbe ( ) const
inline

Definition at line 174 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pcid ( ) const
inline

Definition at line 130 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pclmuldq ( ) const
inline

Definition at line 116 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pcommit ( ) const
inline

Definition at line 194 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pdcm ( ) const
inline

Definition at line 129 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pge ( ) const
inline

Definition at line 158 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::popcnt ( ) const
inline

Definition at line 136 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::prefetchwt1 ( ) const
inline

Definition at line 205 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pse ( ) const
inline

Definition at line 149 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::pse36 ( ) const
inline

Definition at line 162 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::psn ( ) const
inline

Definition at line 163 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::rdrand ( ) const
inline

Definition at line 143 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::rdseed ( ) const
inline

Definition at line 190 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::rtm ( ) const
inline

Definition at line 186 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sep ( ) const
inline

Definition at line 156 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sha ( ) const
inline

Definition at line 200 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::smap ( ) const
inline

Definition at line 192 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::smep ( ) const
inline

Definition at line 182 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::smx ( ) const
inline

Definition at line 121 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::ss ( ) const
inline

Definition at line 171 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sse ( ) const
inline

Definition at line 169 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sse2 ( ) const
inline

Definition at line 170 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sse3 ( ) const
inline

Definition at line 115 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sse41 ( ) const
inline

Definition at line 132 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::sse42 ( ) const
inline

Definition at line 133 of file CpuId.h.

Referenced by folly::detail::qfind_first_byte_of().

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::ssse3 ( ) const
inline

Definition at line 124 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::tm ( ) const
inline

Definition at line 173 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::tm2 ( ) const
inline

Definition at line 123 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::tsc ( ) const
inline

Definition at line 150 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::tscdeadline ( ) const
inline

Definition at line 137 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::vme ( ) const
inline

Definition at line 147 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::vmx ( ) const
inline

Definition at line 120 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::x2apic ( ) const
inline

Definition at line 134 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::xsave ( ) const
inline

Definition at line 139 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212
FOLLY_ALWAYS_INLINE bool folly::CpuId::xtpr ( ) const
inline

Definition at line 128 of file CpuId.h.

211 :
212  uint32_t f1c_ = 0;
uint32_t f1c_
Definition: CpuId.h:212

Member Data Documentation

uint32_t folly::CpuId::f1c_ = 0
private

Definition at line 212 of file CpuId.h.

Referenced by CpuId().

uint32_t folly::CpuId::f1d_ = 0
private

Definition at line 213 of file CpuId.h.

Referenced by CpuId().

uint32_t folly::CpuId::f7b_ = 0
private

Definition at line 214 of file CpuId.h.

Referenced by CpuId().

uint32_t folly::CpuId::f7c_ = 0
private

Definition at line 215 of file CpuId.h.

Referenced by CpuId().


The documentation for this class was generated from the following file: