Om  1.0.0
A universal framework for multimedia simulation
Namespaces | Macros
omSIMDConfig.h File Reference
#include "omMathConfig.h"
#include "omScalarMath.h"

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Macros

#define OM_USE_SIMD   1
 Determine whether or not SIMD code should be used. More...
 
#define OM_SSE_MAX_MAJOR_VERSION   4
 Define the newest major version of SSE that can be used by GSound. More...
 
#define OM_SSE_MAX_MINOR_VERSION   2
 Define the newest minor version of SSE that can be used by GSound. More...
 
#define OM_SSE_VERSION_IS_SUPPORTED(majorVersion, minorVersion)   0
 

Macro Definition Documentation

#define OM_USE_SIMD   1

Determine whether or not SIMD code should be used.

If set to 1, many operations will be parallelized using SIMD vector operations. This will generally increase performance but may not work on all hardware. If set to 0, no SIMD operations will be used. If enabled but the hardware doesn't support SIMD instructions, a serial fallback implementation will be used.

#define OM_SSE_MAX_MAJOR_VERSION   4

Define the newest major version of SSE that can be used by GSound.

This value can be used to limit the complexity of the SSE operations performed when compiling for hardware that doesn't support newer SSE versions. Only SSE versions up to this version (specified as an integer number) can be used.

#define OM_SSE_MAX_MINOR_VERSION   2

Define the newest minor version of SSE that can be used by GSound.

This value can be used to limit the complexity of the SSE operations performed when compiling for hardware that doesn't support newer SSE versions. Only SSE versions up to this version (specified as an integer number) can be used.

#define OM_SSE_VERSION_IS_SUPPORTED (   majorVersion,
  minorVersion 
)    0