Print this page
5261 libm should stop using synonyms.h

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/i386/src/__reduction.s
          +++ new/usr/src/lib/libm/i386/src/__reduction.s
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  /    After argument reduction which returns n:
  33   33  /       n mod 4     sin(x)      cos(x)        tan(x)
  34   34  /     ----------------------------------------------------------
  35   35  /          0          S           C             S/C
  36   36  /          1          C          -S            -C/S
  37   37  /          2         -S          -C             S/C
  38   38  /          3         -C           S            -C/S
  39   39  /     ----------------------------------------------------------
  40   40  
  41   41  #include "libm.h"
  42      -#include "libm_synonyms.h"
  43   42  #include "libm_protos.h"
  44   43  #undef fabs
  45   44  
  46   45          ENTRY(__reduction)
  47   46  #ifndef PIC
  48   47          movl    12(%esp),%eax           / load the high part of arg
  49   48  #else
  50   49          movl    16(%esp),%eax           / load the high part of arg
  51   50  #endif
  52   51          andl    $0x7fffffff,%eax        / clear sign
↓ open down ↓ 38 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX