mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
FloatVectorOperations fixes.
This commit is contained in:
parent
7992319dc0
commit
cc5e52b5f4
1 changed files with 10 additions and 2 deletions
|
|
@ -231,12 +231,16 @@ namespace FloatVectorHelpers
|
|||
{
|
||||
const int numLongOps = num / Mode::numParallel;
|
||||
|
||||
#if JUCE_USE_SSE_INTRINSICS
|
||||
if (numLongOps > 1 && isSSE2Available())
|
||||
#else
|
||||
if (numLongOps > 1)
|
||||
#endif
|
||||
{
|
||||
ParallelType val;
|
||||
|
||||
#if ! JUCE_USE_ARM_NEON
|
||||
if (FloatVectorHelpers::isAligned (src))
|
||||
if (isAligned (src))
|
||||
{
|
||||
val = Mode::loadA (src);
|
||||
|
||||
|
|
@ -300,12 +304,16 @@ namespace FloatVectorHelpers
|
|||
{
|
||||
const int numLongOps = num / Mode::numParallel;
|
||||
|
||||
#if JUCE_USE_SSE_INTRINSICS
|
||||
if (numLongOps > 1 && isSSE2Available())
|
||||
#else
|
||||
if (numLongOps > 1)
|
||||
#endif
|
||||
{
|
||||
ParallelType mn, mx;
|
||||
|
||||
#if ! JUCE_USE_ARM_NEON
|
||||
if (FloatVectorHelpers::isAligned (src))
|
||||
if (isAligned (src))
|
||||
{
|
||||
mn = Mode::loadA (src);
|
||||
mx = mn;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue