mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
fix gcc 4.3.2 build warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11655 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -132,13 +132,14 @@ SPAN_DECLARE(void) vec_copyl(long double z[], const long double x[], int n)
|
||||
SPAN_DECLARE(void) vec_negatef(float z[], const float x[], int n)
|
||||
{
|
||||
int i;
|
||||
static const uint32_t mask = 0x80000000;
|
||||
static const uint32_t mask = 0x80000000;
|
||||
static const float *fmask = (float *)&mask;
|
||||
__m128 n1;
|
||||
__m128 n2;
|
||||
|
||||
if ((i = n & ~3))
|
||||
{
|
||||
n2 = _mm_set1_ps(*((float *) &mask));
|
||||
n2 = _mm_set1_ps(*fmask);
|
||||
for (i -= 4; i >= 0; i -= 4)
|
||||
{
|
||||
n1 = _mm_loadu_ps(x + i);
|
||||
|
Reference in New Issue
Block a user