You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mathOptimizations.c, the ifdef __SSE2__ is within the if statement but its corresponding #endif is outside the closing brace of that if statement. If __SSE2__ is not defined, this will result in the following error:
| mathOptimizations.c: In function 'mul_const':
| mathOptimizations.c:2421:1: error: expected declaration or statement at end of input
| }
| ^
The text was updated successfully, but these errors were encountered:
Judging by the surrounding logic, this method may actually have a performance bug as well. There is a loop after the endif that seems to re-multiply and re-store the samples. It's likely the code should be:
Note the movement of the #ifdef __SSE2__ to ahead of the alignment check (which would be required for SSE), and the change of the corresponding #endif to #else followed by another #endif to close out the __SSE2__ check.
In
mathOptimizations.c
, theifdef __SSE2__
is within the if statement but its corresponding#endif
is outside the closing brace of that if statement. If__SSE2__
is not defined, this will result in the following error:The text was updated successfully, but these errors were encountered: