Print this page
5261 libm should stop using synonyms.h


  76                 vhypot_.o \
  77                 vhypotf_.o \
  78                 vlog_.o \
  79                 vlogf_.o \
  80                 vpow_.o \
  81                 vpowf_.o \
  82                 vrhypot_.o \
  83                 vrhypotf_.o \
  84                 vrsqrt_.o \
  85                 vrsqrtf_.o \
  86                 vsin_.o \
  87                 vsincos_.o \
  88                 vsincosf_.o \
  89                 vsinf_.o \
  90                 vsqrt_.o \
  91                 vsqrtf_.o \
  92                 vz_abs_.o \
  93                 vz_exp_.o \
  94                 vz_log_.o \
  95                 vz_pow_.o \
  96                 #end
  97 
  98 mvecvisCOBJS    = \
  99                 __vTBL_atan1.o \
 100                 __vTBL_atan2.o \
 101                 __vTBL_rsqrt.o \
 102                 __vTBL_sincos.o \
 103                 __vTBL_sincos2.o \
 104                 __vTBL_sqrtf.o \
 105                 __vcosbig.o \
 106                 __vcosbigf.o \
 107                 __vrem_pio2m.o \
 108                 __vsinbig.o \
 109                 __vsinbigf.o \
 110                 __vsincosbig.o \
 111                 __vsincosbigf.o \
 112                 #end
 113 
 114 mvecvisSOBJS    = \
 115                 __vatan.o \
 116                 __vatan2.o \
 117                 __vatan2f.o \
 118                 __vatanf.o \
 119                 __vcos.o \
 120                 __vcosf.o \
 121                 __vexp.o \
 122                 __vexpf.o \
 123                 __vhypot.o \
 124                 __vhypotf.o \
 125                 __vlog.o \
 126                 __vlogf.o \
 127                 __vpow.o \
 128                 __vpowf.o \
 129                 __vrhypot.o \
 130                 __vrhypotf.o \
 131                 __vrsqrt.o \
 132                 __vrsqrtf.o \
 133                 __vsin.o \
 134                 __vsincos.o \
 135                 __vsincosf.o \
 136                 __vsinf.o \
 137                 __vsqrt.o \
 138                 __vsqrtf.o \
 139                 #end
 140 
 141 mvecvis2COBJS   = \
 142                 __vTBL_sincos.o \
 143                 __vTBL_sincos2.o \
 144                 __vTBL_sqrtf.o \
 145                 __vcosbig.o \
 146                 __vcosbig_ultra3.o \
 147                 __vrem_pio2m.o \
 148                 __vsinbig.o \
 149                 __vsinbig_ultra3.o \
 150                 #end
 151 
 152 mvecvis2SOBJS   = \
 153                 __vcos_ultra3.o \
 154                 __vlog_ultra3.o \
 155                 __vsin_ultra3.o \
 156                 __vsqrtf_ultra3.o \
 157                 #end
 158 
 159 include         $(SRC)/lib/Makefile.lib
 160 include         $(SRC)/lib/Makefile.rootfs
 161 include         $(LIBMDIR)/Makefile.libm.com
 162 
 163 LIBS            = $(DYNLIB)
 164 SRCDIR          = ../common/
 165 DYNFLAGS        += -zignore
 166 
 167 LINTERROFF      = -erroff=E_FP_DIVISION_BY_ZERO 
 168 LINTERROFF      += -erroff=E_FP_INVALID
 169 LINTERROFF      += -erroff=E_BAD_PTR_CAST_ALIGN
 170 LINTERROFF      += -erroff=E_ASSIGMENT_CAUSE_LOSS_PREC
 171 LINTERROFF      += -erroff=E_FUNC_SET_NOT_USED
 172 
 173 LINTFLAGS       += $(LINTERROFF)
 174 LINTFLAGS64     += $(LINTERROFF)
 175 LINTFLAGS64     += -errchk=longptr64
 176 
 177 CLAGS           += $(LINTERROFF)
 178 CFLAGS64        += $(LINTERROFF)
 179 
 180 FLTRPATH_sparc          = $$ORIGIN/cpu/$$ISALIST/libmvec_isa.so.1
 181 FLTRPATH_sparcv9        = $$ORIGIN/../cpu/$$ISALIST/sparcv9/libmvec_isa.so.1
 182 FLTRPATH_i386           = $$ORIGIN/libmvec/$$HWCAP
 183 FLTRPATH                = $(FLTRPATH_$(TARGET_ARCH))
 184 
 185 sparc_CFLAGS += -_cc=-W0,-xintrinsic
 186 sparcv9_CFLAGS += -_cc=-W0,-xintrinsic
 187 CPPFLAGS_i386   += -Dfabs=__fabs
 188 
 189 SRCS_mvec_i386 = \
 190         ../common/__vsqrtf.c \
 191         #end
 192 
 193 SRCS_mvec_sparc = \
 194         $(SRCS_mvec_i386) \
 195         #end
 196 SRCS_mvec_sparcv9 = \
 197         $(SRCS_mvec_i386) \
 198         #end
 199 
 200 SRCS_mvec = \
 201         $(SRCS_mvec_$(TARGETMACH)) \
 202         ../common/__vTBL_atan1.c \
 203         ../common/__vTBL_atan2.c \
 204         ../common/__vTBL_rsqrt.c \
 205         ../common/__vTBL_sincos.c \
 206         ../common/__vTBL_sincos2.c \
 207         ../common/__vTBL_sqrtf.c \
 208         ../common/__vatan.c \
 209         ../common/__vatan2.c \
 210         ../common/__vatan2f.c \
 211         ../common/__vatanf.c \
 212         ../common/__vc_abs.c \
 213         ../common/__vc_exp.c \
 214         ../common/__vc_log.c \
 215         ../common/__vc_pow.c \
 216         ../common/__vcos.c \
 217         ../common/__vcosbig.c \
 218         ../common/__vcosbigf.c \


 258         ../common/vhypot_.c \
 259         ../common/vhypotf_.c \
 260         ../common/vlog_.c \
 261         ../common/vlogf_.c \
 262         ../common/vpow_.c \
 263         ../common/vpowf_.c \
 264         ../common/vrhypot_.c \
 265         ../common/vrhypotf_.c \
 266         ../common/vrsqrt_.c \
 267         ../common/vrsqrtf_.c \
 268         ../common/vsin_.c \
 269         ../common/vsincos_.c \
 270         ../common/vsincosf_.c \
 271         ../common/vsinf_.c \
 272         ../common/vsqrt_.c \
 273         ../common/vsqrtf_.c \
 274         ../common/vz_abs_.c \
 275         ../common/vz_exp_.c \
 276         ../common/vz_log_.c \
 277         ../common/vz_pow_.c \
 278         #end
 279 
 280 .KEEP_STATE:
 281 
 282 all:    $(LIBS)
 283 
 284 lint:   lintcheck
 285 
 286 pics/%.o: ../$(TARGET_ARCH)/src/%.S
 287         $(COMPILE.s) -o $@ $<
 288         $(POST_PROCESS_O)
 289 
 290 pics/%.o: ../common/$$(CHIP)/%.S
 291         $(COMPILE.s) -o $@ $<
 292         $(POST_PROCESS_O)


  76                 vhypot_.o \
  77                 vhypotf_.o \
  78                 vlog_.o \
  79                 vlogf_.o \
  80                 vpow_.o \
  81                 vpowf_.o \
  82                 vrhypot_.o \
  83                 vrhypotf_.o \
  84                 vrsqrt_.o \
  85                 vrsqrtf_.o \
  86                 vsin_.o \
  87                 vsincos_.o \
  88                 vsincosf_.o \
  89                 vsinf_.o \
  90                 vsqrt_.o \
  91                 vsqrtf_.o \
  92                 vz_abs_.o \
  93                 vz_exp_.o \
  94                 vz_log_.o \
  95                 vz_pow_.o \

  96 
  97 mvecvisCOBJS    = \
  98                 __vTBL_atan1.o \
  99                 __vTBL_atan2.o \
 100                 __vTBL_rsqrt.o \
 101                 __vTBL_sincos.o \
 102                 __vTBL_sincos2.o \
 103                 __vTBL_sqrtf.o \
 104                 __vcosbig.o \
 105                 __vcosbigf.o \
 106                 __vrem_pio2m.o \
 107                 __vsinbig.o \
 108                 __vsinbigf.o \
 109                 __vsincosbig.o \
 110                 __vsincosbigf.o \

 111 
 112 mvecvisSOBJS    = \
 113                 __vatan.o \
 114                 __vatan2.o \
 115                 __vatan2f.o \
 116                 __vatanf.o \
 117                 __vcos.o \
 118                 __vcosf.o \
 119                 __vexp.o \
 120                 __vexpf.o \
 121                 __vhypot.o \
 122                 __vhypotf.o \
 123                 __vlog.o \
 124                 __vlogf.o \
 125                 __vpow.o \
 126                 __vpowf.o \
 127                 __vrhypot.o \
 128                 __vrhypotf.o \
 129                 __vrsqrt.o \
 130                 __vrsqrtf.o \
 131                 __vsin.o \
 132                 __vsincos.o \
 133                 __vsincosf.o \
 134                 __vsinf.o \
 135                 __vsqrt.o \
 136                 __vsqrtf.o \

 137 
 138 mvecvis2COBJS   = \
 139                 __vTBL_sincos.o \
 140                 __vTBL_sincos2.o \
 141                 __vTBL_sqrtf.o \
 142                 __vcosbig.o \
 143                 __vcosbig_ultra3.o \
 144                 __vrem_pio2m.o \
 145                 __vsinbig.o \
 146                 __vsinbig_ultra3.o \

 147 
 148 mvecvis2SOBJS   = \
 149                 __vcos_ultra3.o \
 150                 __vlog_ultra3.o \
 151                 __vsin_ultra3.o \
 152                 __vsqrtf_ultra3.o \

 153 
 154 include         $(SRC)/lib/Makefile.lib
 155 include         $(SRC)/lib/Makefile.rootfs
 156 include         $(LIBMDIR)/Makefile.libm.com
 157 
 158 LIBS            = $(DYNLIB)
 159 SRCDIR          = ../common/
 160 DYNFLAGS        += $(ZIGNORE)
 161 
 162 LINTERROFF      = -erroff=E_FP_DIVISION_BY_ZERO 
 163 LINTERROFF      += -erroff=E_FP_INVALID
 164 LINTERROFF      += -erroff=E_BAD_PTR_CAST_ALIGN
 165 LINTERROFF      += -erroff=E_ASSIGMENT_CAUSE_LOSS_PREC
 166 LINTERROFF      += -erroff=E_FUNC_SET_NOT_USED
 167 
 168 LINTFLAGS       += $(LINTERROFF)
 169 LINTFLAGS64     += $(LINTERROFF)
 170 LINTFLAGS64     += -errchk=longptr64
 171 
 172 CLAGS           += $(LINTERROFF)
 173 CFLAGS64        += $(LINTERROFF)
 174 
 175 FLTRPATH_sparc          = $$ORIGIN/cpu/$$ISALIST/libmvec_isa.so.1
 176 FLTRPATH_sparcv9        = $$ORIGIN/../cpu/$$ISALIST/sparcv9/libmvec_isa.so.1
 177 FLTRPATH_i386           = $$ORIGIN/libmvec/$$HWCAP
 178 FLTRPATH                = $(FLTRPATH_$(TARGET_ARCH))
 179 
 180 sparc_CFLAGS += -_cc=-W0,-xintrinsic
 181 sparcv9_CFLAGS += -_cc=-W0,-xintrinsic
 182 CPPFLAGS_i386   += -Dfabs=__fabs
 183 
 184 SRCS_mvec_i386 = \
 185         ../common/__vsqrtf.c \

 186 
 187 SRCS_mvec_sparc = \
 188         $(SRCS_mvec_i386) \
 189 
 190 SRCS_mvec_sparcv9 = \
 191         $(SRCS_mvec_i386) \
 192 
 193 
 194 SRCS_mvec = \
 195         $(SRCS_mvec_$(TARGETMACH)) \
 196         ../common/__vTBL_atan1.c \
 197         ../common/__vTBL_atan2.c \
 198         ../common/__vTBL_rsqrt.c \
 199         ../common/__vTBL_sincos.c \
 200         ../common/__vTBL_sincos2.c \
 201         ../common/__vTBL_sqrtf.c \
 202         ../common/__vatan.c \
 203         ../common/__vatan2.c \
 204         ../common/__vatan2f.c \
 205         ../common/__vatanf.c \
 206         ../common/__vc_abs.c \
 207         ../common/__vc_exp.c \
 208         ../common/__vc_log.c \
 209         ../common/__vc_pow.c \
 210         ../common/__vcos.c \
 211         ../common/__vcosbig.c \
 212         ../common/__vcosbigf.c \


 252         ../common/vhypot_.c \
 253         ../common/vhypotf_.c \
 254         ../common/vlog_.c \
 255         ../common/vlogf_.c \
 256         ../common/vpow_.c \
 257         ../common/vpowf_.c \
 258         ../common/vrhypot_.c \
 259         ../common/vrhypotf_.c \
 260         ../common/vrsqrt_.c \
 261         ../common/vrsqrtf_.c \
 262         ../common/vsin_.c \
 263         ../common/vsincos_.c \
 264         ../common/vsincosf_.c \
 265         ../common/vsinf_.c \
 266         ../common/vsqrt_.c \
 267         ../common/vsqrtf_.c \
 268         ../common/vz_abs_.c \
 269         ../common/vz_exp_.c \
 270         ../common/vz_log_.c \
 271         ../common/vz_pow_.c \

 272 
 273 .KEEP_STATE:
 274 
 275 all:    $(LIBS)
 276 
 277 lint:   lintcheck
 278 
 279 pics/%.o: ../$(TARGET_ARCH)/src/%.S
 280         $(COMPILE.s) -o $@ $<
 281         $(POST_PROCESS_O)
 282 
 283 pics/%.o: ../common/$$(CHIP)/%.S
 284         $(COMPILE.s) -o $@ $<
 285         $(POST_PROCESS_O)