6#if defined(TARGET_ARCH_X64)
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_ =
true;
31bool HostCPUFeatures::sse4_1_supported_ =
false;
32bool HostCPUFeatures::popcnt_supported_ =
false;
33bool HostCPUFeatures::abm_supported_ =
false;
36bool HostCPUFeatures::initialized_ =
false;
39#if !defined(USING_SIMULATOR)
57 ASSERT(hardware_ !=
nullptr);
58 free(
const_cast<char*
>(hardware_));
68 sse4_1_supported_ =
false;
69 popcnt_supported_ =
false;
70 abm_supported_ =
false;
81 ASSERT(hardware_ !=
nullptr);
82 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)