mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removed some legacy support for non-SSE2 CPUs. Added function FloatVectorOperations::disableDenormalisedNumberSupport()
This commit is contained in:
parent
889a6e200f
commit
beac2e4b3a
2 changed files with 15 additions and 22 deletions
|
|
@ -198,6 +198,12 @@ public:
|
|||
Effectively, this is a wrapper around a call to _MM_SET_FLUSH_ZERO_MODE
|
||||
*/
|
||||
static void JUCE_CALLTYPE enableFlushToZeroMode (bool shouldEnable) noexcept;
|
||||
|
||||
/** 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. It's a convenient thing to
|
||||
call before audio processing code where you really want to avoid denormalisation performance hits.
|
||||
*/
|
||||
static void JUCE_CALLTYPE disableDenormalisedNumberSupport() noexcept;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue