6#if defined(TARGET_ARCH_IA32)
15DEFINE_FLAG(
bool, use_sse41,
true,
"Use SSE 4.1 if available");
23#if defined(USING_SIMULATOR)
29const char* HostCPUFeatures::hardware_ =
nullptr;
30bool HostCPUFeatures::sse2_supported_ =
false;
31bool HostCPUFeatures::sse4_1_supported_ =
false;
32bool HostCPUFeatures::popcnt_supported_ =
false;
33bool HostCPUFeatures::abm_supported_ =
false;
35bool HostCPUFeatures::initialized_ =
false;
56 ASSERT(hardware_ !=
nullptr);
57 free(
const_cast<char*
>(hardware_));
#define DEBUG_ASSERT(cond)
static void FlushICache(uword start, uword size)
static const char * GetCpuModel()
static bool FieldContains(CpuInfoIndices idx, const char *search_string)
#define DEFINE_FLAG(type, name, default_value, comment)