Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libm/i386/src/ieee_funcl.s
          +++ new/usr/src/lib/libm/i386/src/ieee_funcl.s
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22   * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23   23   */
  24   24  /*
  25   25   * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  26   26   * Use is subject to license terms.
  27   27   */
  28   28  
  29   29          .file "ieee_funcl.s"
  30   30  
  31   31  #include "libm.h"
  32      -LIBM_ANSI_PRAGMA_WEAK(isinfl,function)
  33      -LIBM_ANSI_PRAGMA_WEAK(isnormall,function)
  34      -LIBM_ANSI_PRAGMA_WEAK(issubnormall,function)
  35      -LIBM_ANSI_PRAGMA_WEAK(iszerol,function)
  36      -LIBM_ANSI_PRAGMA_WEAK(signbitl,function)
  37      -#include "libm_synonyms.h"
  38   32  
  39   33          ENTRY(isinfl)
  40   34          movl    12(%esp),%eax           / ax <-- sign and bexp of x 
  41   35          notl    %eax
  42   36          andl    $0x00007fff,%eax
  43   37          jz      .L6
  44   38          movl    $0,%eax
  45   39  .not_inf:
  46   40          ret
  47   41  
↓ open down ↓ 75 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX