JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
juce::FloatVectorOperations Class Reference

A collection of simple vector operations on arrays of floating point numbers, accelerated with SIMD instructions where possible and providing all methods from FloatVectorOperationsBase. More...

#include "juce_FloatVectorOperations.h"

Inheritance diagram for juce::FloatVectorOperations:

Static Public Member Functions

static void JUCE_CALLTYPE convertFixedToFloat (float *dest, const int *src, float multiplier, int num) noexcept
 
static void JUCE_CALLTYPE convertFixedToFloat (float *dest, const int *src, float multiplier, size_t num) noexcept
 
static void JUCE_CALLTYPE enableFlushToZeroMode (bool shouldEnable) noexcept
 This method enables or disables the SSE/NEON flush-to-zero mode.
 
static void JUCE_CALLTYPE disableDenormalisedNumberSupport (bool shouldDisable=true) noexcept
 On Intel CPUs, this method enables the SSE flush-to-zero and denormalised-are-zero modes.
 
static bool JUCE_CALLTYPE areDenormalsDisabled () noexcept
 This method returns true if denormals are currently disabled.
 

Detailed Description

A collection of simple vector operations on arrays of floating point numbers, accelerated with SIMD instructions where possible and providing all methods from FloatVectorOperationsBase.

See also
FloatVectorOperationsBase

@tags{Audio}

Definition at line 180 of file juce_FloatVectorOperations.h.

Member Function Documentation

◆ areDenormalsDisabled()

bool JUCE_CALLTYPE juce::FloatVectorOperations::areDenormalsDisabled ( )
staticnoexcept

This method returns true if denormals are currently disabled.

Definition at line 1517 of file juce_FloatVectorOperations.cpp.

◆ convertFixedToFloat() [1/2]

void JUCE_CALLTYPE juce::FloatVectorOperations::convertFixedToFloat ( float dest,
const int src,
float  multiplier,
int  num 
)
staticnoexcept

Definition at line 1421 of file juce_FloatVectorOperations.cpp.

◆ convertFixedToFloat() [2/2]

void JUCE_CALLTYPE juce::FloatVectorOperations::convertFixedToFloat ( float dest,
const int src,
float  multiplier,
size_t  num 
)
staticnoexcept

Definition at line 1416 of file juce_FloatVectorOperations.cpp.

◆ disableDenormalisedNumberSupport()

void JUCE_CALLTYPE juce::FloatVectorOperations::disableDenormalisedNumberSupport ( bool  shouldDisable = true)
staticnoexcept

On Intel CPUs, this method enables the SSE flush-to-zero and denormalised-are-zero modes.

This effectively sets the DAZ and FZ bits of the MXCSR register. On arm CPUs this will enable flush to zero mode. It's a convenient thing to call before audio processing code where you really want to avoid denormalisation performance hits.

Definition at line 1499 of file juce_FloatVectorOperations.cpp.

◆ enableFlushToZeroMode()

void JUCE_CALLTYPE juce::FloatVectorOperations::enableFlushToZeroMode ( bool  shouldEnable)
staticnoexcept

This method enables or disables the SSE/NEON flush-to-zero mode.

Definition at line 1483 of file juce_FloatVectorOperations.cpp.


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