/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2011 Nexenta Systems, Inc. All rights reserved.
*/
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include "libm_inlines.h"
#ifdef __RESTRICT
#define restrict _Restrict
#else
#define restrict
#endif
extern double sqrt(double);
void
{
do
{
hx0 = *(unsigned*)x & ~0x80000000;
hy0 = *(unsigned*)y & ~0x80000000;
{
if (hx0 == 0)
i = 0x7f800000;
}
else
{
if (hy0 == 0)
i = 0x7f800000;
else if (hx0 == 0)
i = 0x7f800000;
}
{
if (hx0 == 0x7f800000)
else if (hy0 == 0x7f800000)
z0 = *x + *y;
*z = z0;
x += stridex;
y += stridey;
z += stridez;
i = 0;
if (--n <= 0)
break;
goto LOOP0;
}
pz0 = z;
x += stridex;
y += stridey;
z += stridez;
i = 1;
if (--n <= 0)
break;
hx1 = *(unsigned*)x & ~0x80000000;
hy1 = *(unsigned*)y & ~0x80000000;
{
if (hx1 == 0)
i = 0x7f800000;
}
else
{
if (hy1 == 0)
i = 0x7f800000;
else if (hx1 == 0)
i = 0x7f800000;
}
{
if (hx1 == 0x7f800000)
else if (hy1 == 0x7f800000)
z1 = *x + *y;
*z = z1;
x += stridex;
y += stridey;
z += stridez;
i = 1;
if (--n <= 0)
break;
goto LOOP1;
}
pz1 = z;
x += stridex;
y += stridey;
z += stridez;
i = 2;
if (--n <= 0)
break;
hx2 = *(unsigned*)x & ~0x80000000;
hy2 = *(unsigned*)y & ~0x80000000;
{
if (hx2 == 0)
i = 0x7f800000;
}
else
{
if (hy2 == 0)
i = 0x7f800000;
else if (hx2 == 0)
i = 0x7f800000;
}
{
if (hx2 == 0x7f800000)
else if (hy2 == 0x7f800000)
z2 = *x + *y;
*z = z2;
x += stridex;
y += stridey;
z += stridez;
i = 2;
if (--n <= 0)
break;
goto LOOP2;
}
pz2 = z;
x += stridex;
y += stridey;
z += stridez;
i = 0;
} while (--n > 0);
if (i > 0)
{
if (i > 1)
{
}
}
}