Print this page
libmvec: further unifdef'ing (LIBMVEC_SO_BUILD)


  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23  */
  24 /*
  25  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28 
  29         .file   "__vsqrtf_ultra3.S"
  30 
  31 #include "libm.h"
  32 #if defined(LIBMVEC_SO_BUILD)
  33         .weak   __vsqrtf
  34         .type   __vsqrtf,#function
  35         __vsqrtf = __vsqrtf_ultra3
  36 #endif
  37 
  38         RO_DATA
  39         .align  64
  40 
  41 .CONST_TBL:
  42         .word   0x3fe00001, 0x80007e00  ! K1  =  5.00000715259318464227e-01
  43         .word   0xbfc00003, 0xc0017a01  ! K2  = -1.25000447037521686593e-01
  44         .word   0x000fffff, 0xffffffff  ! DC0 = 0x000fffffffffffff
  45         .word   0x3ff00000, 0x00000000  ! DC1 = 0x3ff0000000000000
  46         .word   0x7ffff000, 0x00000000  ! DC2 = 0x7ffff00000000000
  47 
  48 #define DC0             %f6
  49 #define DC1             %f4
  50 #define DC2             %f2
  51 #define K2              %f38
  52 #define K1              %f36
  53 #define TBL             %l2
  54 #define stridex         %l3
  55 #define stridey         %l4
  56 #define _0x1ff0         %l5




  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  23  */
  24 /*
  25  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28 
  29         .file   "__vsqrtf_ultra3.S"
  30 
  31 #include "libm.h"

  32         .weak   __vsqrtf
  33         .type   __vsqrtf,#function
  34         __vsqrtf = __vsqrtf_ultra3

  35 
  36         RO_DATA
  37         .align  64
  38 
  39 .CONST_TBL:
  40         .word   0x3fe00001, 0x80007e00  ! K1  =  5.00000715259318464227e-01
  41         .word   0xbfc00003, 0xc0017a01  ! K2  = -1.25000447037521686593e-01
  42         .word   0x000fffff, 0xffffffff  ! DC0 = 0x000fffffffffffff
  43         .word   0x3ff00000, 0x00000000  ! DC1 = 0x3ff0000000000000
  44         .word   0x7ffff000, 0x00000000  ! DC2 = 0x7ffff00000000000
  45 
  46 #define DC0             %f6
  47 #define DC1             %f4
  48 #define DC2             %f2
  49 #define K2              %f38
  50 #define K1              %f36
  51 #define TBL             %l2
  52 #define stridex         %l3
  53 #define stridey         %l4
  54 #define _0x1ff0         %l5