Ardour  9.0-pre0-582-g084a23a80d
PBD::FPU Class Reference

#include <fpu.h>

Public Member Functions

 ~FPU ()
 
bool has_flush_to_zero () const
 
bool has_denormals_are_zero () const
 
bool has_sse () const
 
bool has_sse2 () const
 
bool has_avx () const
 
bool has_avx512f () const
 
bool has_fma () const
 
bool has_neon () const
 

Static Public Member Functions

static FPUinstance ()
 
static void destroy ()
 

Private Types

enum  Flags {
  HasFlushToZero = 0x1 , HasDenormalsAreZero = 0x2 , HasSSE = 0x4 , HasSSE2 = 0x8 ,
  HasAVX = 0x10 , HasNEON = 0x20 , HasFMA = 0x40 , HasAVX512F = 0x80
}
 

Private Member Functions

 FPU ()
 

Private Attributes

Flags _flags
 

Static Private Attributes

static FPU_instance
 

Detailed Description

Definition at line 26 of file fpu.h.

Member Enumeration Documentation

◆ Flags

enum PBD::FPU::Flags
private
Enumerator
HasFlushToZero 
HasDenormalsAreZero 
HasSSE 
HasSSE2 
HasAVX 
HasNEON 
HasFMA 
HasAVX512F 

Definition at line 28 of file fpu.h.

Constructor & Destructor Documentation

◆ ~FPU()

PBD::FPU::~FPU ( )

◆ FPU()

PBD::FPU::FPU ( )
private

Member Function Documentation

◆ destroy()

static void PBD::FPU::destroy ( )
static

◆ has_avx()

bool PBD::FPU::has_avx ( ) const
inline

Definition at line 49 of file fpu.h.

◆ has_avx512f()

bool PBD::FPU::has_avx512f ( ) const
inline

Definition at line 50 of file fpu.h.

◆ has_denormals_are_zero()

bool PBD::FPU::has_denormals_are_zero ( ) const
inline

Definition at line 46 of file fpu.h.

◆ has_flush_to_zero()

bool PBD::FPU::has_flush_to_zero ( ) const
inline

Definition at line 45 of file fpu.h.

◆ has_fma()

bool PBD::FPU::has_fma ( ) const
inline

Definition at line 51 of file fpu.h.

◆ has_neon()

bool PBD::FPU::has_neon ( ) const
inline

Definition at line 52 of file fpu.h.

◆ has_sse()

bool PBD::FPU::has_sse ( ) const
inline

Definition at line 47 of file fpu.h.

◆ has_sse2()

bool PBD::FPU::has_sse2 ( ) const
inline

Definition at line 48 of file fpu.h.

◆ instance()

static FPU* PBD::FPU::instance ( )
static

Member Data Documentation

◆ _flags

Flags PBD::FPU::_flags
private

Definition at line 55 of file fpu.h.

◆ _instance

FPU* PBD::FPU::_instance
staticprivate

Definition at line 57 of file fpu.h.


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