Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
dart::TargetCPUFeatures Class Reference

#include <cpu_arm.h>

Inheritance diagram for dart::TargetCPUFeatures:
dart::AllStatic dart::AllStatic dart::AllStatic dart::AllStatic dart::AllStatic

Static Public Member Functions

static void Init ()
 
static void Cleanup ()
 
static bool double_truncate_round_supported ()
 
static bool integer_division_supported ()
 
static bool neon_supported ()
 
static bool hardfp_supported ()
 
static const char * hardware ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool double_truncate_round_supported ()
 
static bool atomic_memory_supported ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool sse2_supported ()
 
static bool sse4_1_supported ()
 
static bool popcnt_supported ()
 
static bool abm_supported ()
 
static bool double_truncate_round_supported ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool double_truncate_round_supported ()
 
static void Init ()
 
static void Cleanup ()
 
static const char * hardware ()
 
static bool sse2_supported ()
 
static bool sse4_1_supported ()
 
static bool popcnt_supported ()
 
static bool abm_supported ()
 
static bool double_truncate_round_supported ()
 

Detailed Description

Definition at line 68 of file cpu_arm.h.

Member Function Documentation

◆ abm_supported() [1/2]

static bool dart::TargetCPUFeatures::abm_supported ( )
inlinestatic

Definition at line 63 of file cpu_ia32.h.

static bool abm_supported()
Definition: cpu_ia32.h:39

◆ abm_supported() [2/2]

static bool dart::TargetCPUFeatures::abm_supported ( )
inlinestatic

Definition at line 63 of file cpu_x64.h.

◆ atomic_memory_supported()

static bool dart::TargetCPUFeatures::atomic_memory_supported ( )
inlinestatic

Definition at line 48 of file cpu_arm64.h.

48 {
49#if defined(DART_TARGET_OS_MACOS) && !defined(DART_TARGET_OS_MACOS_IOS)
50 return true; // Mac ARM64 starts at ARMv8.5.
51#else
52 return false; // All else start at ARMv8.0.
53#endif
54 }

◆ Cleanup() [1/5]

static void dart::TargetCPUFeatures::Cleanup ( )
inlinestatic

Definition at line 71 of file cpu_arm.h.

◆ Cleanup() [2/5]

static void dart::TargetCPUFeatures::Cleanup ( )
inlinestatic

Definition at line 45 of file cpu_arm64.h.

◆ Cleanup() [3/5]

static void dart::TargetCPUFeatures::Cleanup ( )
inlinestatic

Definition at line 58 of file cpu_ia32.h.

◆ Cleanup() [4/5]

static void dart::TargetCPUFeatures::Cleanup ( )
inlinestatic

Definition at line 44 of file cpu_riscv.h.

◆ Cleanup() [5/5]

static void dart::TargetCPUFeatures::Cleanup ( )
inlinestatic

Definition at line 58 of file cpu_x64.h.

◆ double_truncate_round_supported() [1/5]

static bool dart::TargetCPUFeatures::double_truncate_round_supported ( )
inlinestatic

Definition at line 72 of file cpu_arm.h.

72{ return false; }

◆ double_truncate_round_supported() [2/5]

static bool dart::TargetCPUFeatures::double_truncate_round_supported ( )
inlinestatic

Definition at line 47 of file cpu_arm64.h.

47{ return false; }

◆ double_truncate_round_supported() [3/5]

static bool dart::TargetCPUFeatures::double_truncate_round_supported ( )
inlinestatic

Definition at line 64 of file cpu_ia32.h.

64{ return sse4_1_supported(); }
static bool sse4_1_supported()
Definition: cpu_ia32.h:61

◆ double_truncate_round_supported() [4/5]

static bool dart::TargetCPUFeatures::double_truncate_round_supported ( )
inlinestatic

Definition at line 46 of file cpu_riscv.h.

46{ return false; }

◆ double_truncate_round_supported() [5/5]

static bool dart::TargetCPUFeatures::double_truncate_round_supported ( )
inlinestatic

Definition at line 64 of file cpu_x64.h.

64 {
66 }
static bool sse4_1_supported()
Definition: cpu_ia32.h:31

◆ hardfp_supported()

static bool dart::TargetCPUFeatures::hardfp_supported ( )
inlinestatic

Definition at line 77 of file cpu_arm.h.

static bool hardfp_supported()
Definition: cpu_arm.h:42

◆ hardware() [1/5]

static const char * dart::TargetCPUFeatures::hardware ( )
inlinestatic

Definition at line 78 of file cpu_arm.h.

78{ return HostCPUFeatures::hardware(); }
static const char * hardware()
Definition: cpu_arm.h:30

◆ hardware() [2/5]

static const char * dart::TargetCPUFeatures::hardware ( )
inlinestatic

Definition at line 46 of file cpu_arm64.h.

46{ return HostCPUFeatures::hardware(); }

◆ hardware() [3/5]

static const char * dart::TargetCPUFeatures::hardware ( )
inlinestatic

Definition at line 59 of file cpu_ia32.h.

59{ return HostCPUFeatures::hardware(); }

◆ hardware() [4/5]

static const char * dart::TargetCPUFeatures::hardware ( )
inlinestatic

Definition at line 45 of file cpu_riscv.h.

45{ return HostCPUFeatures::hardware(); }

◆ hardware() [5/5]

static const char * dart::TargetCPUFeatures::hardware ( )
inlinestatic

Definition at line 59 of file cpu_x64.h.

59{ return HostCPUFeatures::hardware(); }

◆ Init() [1/5]

static void dart::TargetCPUFeatures::Init ( )
inlinestatic

Definition at line 70 of file cpu_arm.h.

◆ Init() [2/5]

static void dart::TargetCPUFeatures::Init ( )
inlinestatic

Definition at line 44 of file cpu_arm64.h.

◆ Init() [3/5]

static void dart::TargetCPUFeatures::Init ( )
inlinestatic

Definition at line 57 of file cpu_ia32.h.

◆ Init() [4/5]

static void dart::TargetCPUFeatures::Init ( )
inlinestatic

Definition at line 43 of file cpu_riscv.h.

◆ Init() [5/5]

static void dart::TargetCPUFeatures::Init ( )
inlinestatic

Definition at line 57 of file cpu_x64.h.

◆ integer_division_supported()

static bool dart::TargetCPUFeatures::integer_division_supported ( )
inlinestatic

Definition at line 73 of file cpu_arm.h.

73 {
75 }
static bool integer_division_supported()
Definition: cpu_arm.h:34

◆ neon_supported()

static bool dart::TargetCPUFeatures::neon_supported ( )
inlinestatic

Definition at line 76 of file cpu_arm.h.

static bool neon_supported()
Definition: cpu_arm.h:38

◆ popcnt_supported() [1/2]

static bool dart::TargetCPUFeatures::popcnt_supported ( )
inlinestatic

Definition at line 62 of file cpu_ia32.h.

static bool popcnt_supported()
Definition: cpu_ia32.h:35

◆ popcnt_supported() [2/2]

static bool dart::TargetCPUFeatures::popcnt_supported ( )
inlinestatic

Definition at line 62 of file cpu_x64.h.

◆ sse2_supported() [1/2]

static bool dart::TargetCPUFeatures::sse2_supported ( )
inlinestatic

Definition at line 60 of file cpu_ia32.h.

static bool sse2_supported()
Definition: cpu_ia32.h:27

◆ sse2_supported() [2/2]

static bool dart::TargetCPUFeatures::sse2_supported ( )
inlinestatic

Definition at line 60 of file cpu_x64.h.

◆ sse4_1_supported() [1/2]

static bool dart::TargetCPUFeatures::sse4_1_supported ( )
inlinestatic

Definition at line 61 of file cpu_ia32.h.

◆ sse4_1_supported() [2/2]

static bool dart::TargetCPUFeatures::sse4_1_supported ( )
inlinestatic

Definition at line 61 of file cpu_x64.h.


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