Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/common/m9x/fma.c
          +++ new/usr/src/lib/libm/common/m9x/fma.c
↓ open down ↓ 68 lines elided ↑ open up ↑
  69   69  /*
  70   70   * fma for SPARC: 64-bit double precision, big-endian
  71   71   */
  72   72  double
  73   73  __fma(double x, double y, double z) {
  74   74          union {
  75   75                  unsigned i[2];
  76   76                  double d;
  77   77          } xx, yy, zz;
  78   78          double xhi, yhi, xlo, ylo, t;
  79      -        unsigned int xy0, xy1, xy2, xy3, z0, z1, z2, z3, rm, sticky;
  80      -        unsigned int fsr;
       79 +        unsigned int xy0, xy1, xy2, xy3, z0, z1, z2, z3, fsr, rm, sticky;
  81   80          int hx, hy, hz, ex, ey, ez, exy, sxy, sz, e, ibit;
  82   81          volatile double dummy;
  83   82  
  84   83          /* extract the high order words of the arguments */
  85   84          xx.d = x;
  86   85          yy.d = y;
  87   86          zz.d = z;
  88   87          hx = xx.i[0] & ~0x80000000;
  89   88          hy = yy.i[0] & ~0x80000000;
  90   89          hz = zz.i[0] & ~0x80000000;
↓ open down ↓ 408 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX