Print this page


Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/amd64/src/locallibm.il
          +++ new/usr/src/lib/libm/amd64/src/locallibm.il
↓ open down ↓ 32 lines elided ↑ open up ↑
  33   33          .end
  34   34  
  35   35          .inline __inline_sqrtf,0
  36   36          sqrtss  %xmm0,%xmm0
  37   37          .end
  38   38  
  39   39          .inline __inline_sqrt,0
  40   40          sqrtsd  %xmm0,%xmm0
  41   41          .end
  42   42  
  43      -        .inline __inline_fstsw,0
  44      -        fstsw   %ax
  45      -        .end
  46      -
  47   43  /
  48   44  / 00 - 24 bits
  49   45  / 01 - reserved
  50   46  / 10 - 53 bits
  51   47  / 11 - 64 bits
  52   48  /
  53   49          .inline __swapRP,0
  54   50          subq    $16,%rsp
  55   51          fstcw   (%rsp)
  56   52          movw    (%rsp),%ax
↓ open down ↓ 39 lines elided ↑ open up ↑
  96   92          .end
  97   93  
  98   94          .inline __copysign,0
  99   95          movq    $0x7fffffffffffffff,%rax
 100   96          movdq   %rax,%xmm2
 101   97          andpd   %xmm2,%xmm0
 102   98          andnpd  %xmm1,%xmm2
 103   99          orpd    %xmm2,%xmm0
 104  100          .end
 105  101  
 106      -        .inline __d_sqrt_,0
 107      -        movlpd  (%rdi),%xmm0
 108      -        sqrtsd  %xmm0,%xmm0
 109      -        .end
 110      -
 111  102          .inline __fabs,0
 112  103          movq    $0x7fffffffffffffff,%rax
 113  104          movdq   %rax,%xmm1
 114  105          andpd   %xmm1,%xmm0
 115  106          .end
 116  107  
 117  108          .inline __fabsf,0
 118  109          movl    $0x7fffffff,%eax
 119  110          movdl   %eax,%xmm1
 120  111          andps   %xmm1,%xmm0
↓ open down ↓ 4 lines elided ↑ open up ↑
 125  116          movlpd  %xmm0,(%rsp)
 126  117          movq    (%rsp),%rcx
 127  118          movq    $0x7fffffffffffffff,%rax
 128  119          andq    %rcx,%rax
 129  120          movq    $0x7ff0000000000000,%rcx
 130  121          subq    %rcx,%rax
 131  122          shrq    $63,%rax
 132  123          addq    $16,%rsp
 133  124          .end
 134  125  
 135      -        .inline __r_sqrt_,0
 136      -        movss   (%rdi),%xmm0
 137      -        sqrtss  %xmm0,%xmm0
 138      -        .end
 139      -
 140  126          .inline __signbit,0
 141  127          movmskpd %xmm0,%eax
 142      -        andq    $1,%rax
 143      -        .end
 144      -
 145      -        .inline __signbitf,0
 146      -        movmskps %xmm0,%eax
 147  128          andq    $1,%rax
 148  129          .end
 149  130  
 150  131          .inline __sqrt,0
 151  132          sqrtsd  %xmm0,%xmm0
 152  133          .end
 153  134  
 154  135          .inline __sqrtf,0
 155  136          sqrtss  %xmm0,%xmm0
 156  137          .end
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX