Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmvec/common/__vrhypot.c
          +++ new/usr/src/lib/libmvec/common/__vrhypot.c
↓ open down ↓ 209 lines elided ↑ open up ↑
 210  210  void
 211  211  __vrhypot( int n, double * restrict px, int stridex, double * restrict py,
 212  212          int stridey, double * restrict pz, int stridez )
 213  213  {
 214  214          int             i = 0;
 215  215          double          x, y;
 216  216          double          x_hi0, x_lo0, y_hi0, y_lo0, scl0 = 0;
 217  217          double          x0, y0, res0, dd0;
 218  218          double          res0_hi,res0_lo, dres0;
 219  219          double          x_hi1, x_lo1, y_hi1, y_lo1, scl1 = 0;
 220      -        double          x1, y1, res1, dd1;
      220 +        double          x1 = 0.0L, y1 = 0.0L, res1, dd1;
 221  221          double          res1_hi,res1_lo, dres1;
 222  222          double          x_hi2, x_lo2, y_hi2, y_lo2, scl2 = 0;
 223  223          double          x2, y2, res2, dd2;
 224  224          double          res2_hi,res2_lo, dres2;
 225  225  
 226  226          int             hx0, hy0, j0, diff0;
 227  227          int             iarr0, iexp0, itbl0;
 228  228          int             hx1, hy1;
 229  229          int             iarr1, iexp1, itbl1;
 230  230          int             hx2, hy2;
 231  231          int             iarr2, iexp2, itbl2;
 232  232  
 233  233          int             lx, ly;
 234  234  
 235  235          double          DONE = ((double*)LCONST)[0];
 236  236          double          DTWO = ((double*)LCONST)[1];
 237  237          double          D2ON36 = ((double*)LCONST)[2];
 238  238          double          D2ON1022 = ((double*)LCONST)[3];
 239  239          double          D2ONM52 = ((double*)LCONST)[4];
 240  240  
 241      -        double          *pz0, *pz1, *pz2;
      241 +        double          *pz0, *pz1 = 0, *pz2;
 242  242  
 243  243          do
 244  244          {
 245  245  start0:
 246  246                  PREP(0)
 247  247                  px += stridex;
 248  248                  py += stridey;
 249  249                  pz += stridez;
 250  250                  i = 1;
 251  251                  if ( --n <= 0 )
↓ open down ↓ 180 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX