1
0
Fork 0
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:
jules 2014-03-18 11:30:49 +00:00
parent 7992319dc0
commit cc5e52b5f4

View file

@ -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;