Print this page
*** 26,35 ****
--- 26,36 ----
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#include <sys/isa_defs.h>
+ #include <sys/ccompile.h>
#ifdef _LITTLE_ENDIAN
#define HI(x) *(1+(int*)x)
#define LO(x) *(unsigned*)x
#else
*** 96,106 ****
*py0, *py1, *py2,
*pc0, *pc1, *pc2,
*xsave, *ysave, *csave;
unsigned hx0, hx1, hx2, xsb0, xsb1, xsb2;
int i, biguns, nsave, sxsave, sysave, scsave;
-
nsave = n;
xsave = x;
sxsave = stridex;
ysave = y;
sysave = stridey;
--- 97,106 ----
*** 126,136 ****
break;
goto LOOP0;
}
if ( hx0 < 0x3e400000 ) {
/* Too small. cos x ~ 1, sin x ~ x. */
- volatile int v = *x;
*c = 1.0;
*y = *x;
x += stridex;
y += stridey;
c += stridec;
--- 126,135 ----
*** 163,173 ****
break;
goto LOOP1;
}
if ( hx1 < 0x3e400000 )
{
- volatile int v = *x;
*c = 1.0;
*y = *x;
x += stridex;
y += stridey;
c += stridec;
--- 162,171 ----
*** 200,210 ****
break;
goto LOOP2;
}
if ( hx2 < 0x3e400000 )
{
- volatile int v = *x;
*c = 1.0;
*y = *x;
x += stridex;
y += stridey;
c += stridec;
--- 198,207 ----