glibc/sysdeps/ia64/fpu
Joseph Myers e6b6a85705 Don't include individual test ulps in libm-test-ulps.
As recently discussed
<https://sourceware.org/ml/libc-alpha/2014-02/msg00670.html>, it
doesn't seem particularly useful for libm-test-ulps files to contain
huge amounts of data on ulps for individual tests; just the global
maximum observed ulps for each function, together with the
verification of exceptions, errno and special results such as
infinities and NaNs for each test, suffices to verify that a
function's behavior on the given test inputs is within the expected
accuracy.  Removing this data reduces source tree churn caused by
updates to these files when libm tests are added, and reduces the
frequency with which testsuite additions actually need libm-test-ulps
changes at all.

Accordingly, this patch removes that data, so that individual tests
get checked against the global bounds for the given function and only
generate an error if those are exceeded.  Tested x86_64 (including
verifying that if an ulps value is artificially reduced, the tests do
indeed fail as they should and "make regen-ulps" generates the
expected changes).

	* math/libm-test.inc (struct ulp_data): Don't refer to ulps for
	individual tests in comment.
	(libm-test-ulps.h): Don't refer to test_ulps in #include comment.
	(prev_max_error): New variable.
	(prev_real_max_error): Likewise.
	(prev_imag_max_error): Likewise.
	(compare_ulp_data): Don't refer to test names in comment.
	(find_test_ulps): Remove function.
	(find_function_ulps): Likewise.
	(find_complex_function_ulps): Likewise.
	(init_max_error): Take function name as argument.  Look up ulps
	for that function.
	(print_ulps): Remove function.
	(print_max_error): Use prev_max_error instead of calling
	find_function_ulps.
	(print_complex_max_error): Use prev_real_max_error and
	prev_imag_max_error instead of calling find_complex_function_ulps.
	(check_float_internal): Take max_ulp parameter instead of calling
	find_test_ulps.  Don't call print_ulps.
	(check_float): Update call to check_float_internal.
	(check_complex): Update calls to check_float_internal.
	(START): Pass argument to init_max_error.
	* math/gen-libm-test.pl (%results): Don't include "kind"
	information.
	(parse_ulps): Don't handle ulps of individual tests.
	(print_ulps_file): Likewise.
	(output_ulps): Likewise.
	* math/README.libm-test: Update.
	* manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
	individual tests.
	* sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
	* sysdeps/alpha/fpu/libm-test-ulps: Likewise.
	* sysdeps/arm/libm-test-ulps: Likewise.
	* sysdeps/i386/fpu/libm-test-ulps: Likewise.
	* sysdeps/ia64/fpu/libm-test-ulps: Likewise.
	* sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
	* sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
	* sysdeps/microblaze/libm-test-ulps: Likewise.
	* sysdeps/mips/mips32/libm-test-ulps: Likewise.
	* sysdeps/mips/mips64/libm-test-ulps: Likewise.
	* sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
	* sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
	* sysdeps/s390/fpu/libm-test-ulps: Likewise.
	* sysdeps/sh/libm-test-ulps: Likewise.
	* sysdeps/sparc/fpu/libm-test-ulps: Likewise.
	* sysdeps/tile/libm-test-ulps: Likewise.
	* sysdeps/x86_64/fpu/libm-test-ulps: Likewise.

	* sysdeps/hppa/fpu/libm-test-ulps: Remove individual test ulps.
2014-03-05 15:02:38 +00:00
..
bits ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
branred.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
doasin.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
dosincos.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acos.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acosf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acosh.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acoshf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acoshl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_acosl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_asin.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_asinf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_asinl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atan2.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atan2f.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atan2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atanh.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atanhf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_atanhl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_cosh.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_coshf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_coshl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp2.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp2f.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp2l.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp10.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp10f.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp10l.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_exp.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_expf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_expl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_fmod.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_fmodf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_fmodl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_gamma_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_gammaf_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_gammal_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_hypot.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_hypotf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_hypotl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_ilogbl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_lgamma_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_lgammaf_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_lgammal_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log2.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log2f.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log2l.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log10.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log10f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log10l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_log.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_logf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_logl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_pow.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_powf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_powl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_rem_pio2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_rem_pio2f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_rem_pio2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_remainder.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_remainderf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_remainderl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_scalb.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_scalbf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_scalbl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_sinh.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_sinhf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_sinhl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_sqrt.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_sqrtf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
e_sqrtl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fclrexcpt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fedisblxcpt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
feenablxcpt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fegetenv.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fegetexcept.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fegetround.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
feholdexcpt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fesetenv.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fesetround.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
feupdateenv.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fgetexcptflg.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fraiseexcpt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
fsetexcptflg.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
ftestexcept.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
gen_import_file_list ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
get-rounding-mode.h ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
halfulp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_check ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_diffs ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_file.awk ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
import_intel_libm ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
k_rem_pio2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
k_rem_pio2f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
k_rem_pio2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libc_libm_error.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_cpu_defs.h ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_error_codes.h ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_error.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_frexp4.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_frexp4f.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_frexp4l.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_frexp.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_frexpf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_frexpl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_lgamma.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_lgammaf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_lgammal.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_reduce.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_scalblnf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_sincos_large.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_sincos.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_sincosf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_sincosl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_support.h ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm_tan.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm-symbols.h ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
libm-test-ulps Don't include individual test ulps in libm-test-ulps. 2014-03-05 15:02:38 +00:00
Makefile ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
math_ldbl.h ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpa.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpatan2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpatan.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpexp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mplog.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mpsqrt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
mptan.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
printf_fphex.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
README ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_asinh.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_asinhf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_asinhl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_atan.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_atanf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_atanl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cbrt.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cbrtf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cbrtl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ceil.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ceilf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ceill.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_copysign.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_copysignf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_copysignl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cos.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cosf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_cosl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_erf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_erfc.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_erfcf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_erfcl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_erff.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_erfl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_expm1.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_expm1f.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_expm1l.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fabs.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fabsf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fabsl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fdim.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fdimf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fdiml.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_finite.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_finitef.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_finitel.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_floor.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_floorf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_floorl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fma.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fmaf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fmal.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fmax.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fmaxf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fmaxl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fpclassify.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fpclassifyf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_fpclassifyl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_frexp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_frexpf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_frexpl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ilogb.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ilogbf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isinf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isinff.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isinfl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isnan.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isnanf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_isnanl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ldexp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ldexpf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_ldexpl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_libm_ldexp.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_libm_ldexpf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_libm_ldexpl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_libm_scalbn.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_libm_scalbnf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_libm_scalbnl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_log1p.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_log1pf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_log1pl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_logb.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_logbf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_logbl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_matherrf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_matherrl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_modf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_modff.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_modfl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nearbyint.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nearbyintf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nearbyintl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nextafter.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nextafterf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nextafterl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nexttoward.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nexttowardf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_nexttowardl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_rint.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_rintf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_rintl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_round.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_roundf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_roundl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_scalblnf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_scalbn.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_scalbnf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_scalbnl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_signbit.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_signbitf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_signbitl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_significand.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_significandf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_significandl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sin.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sincos.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sincosf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sincosl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sinf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_sinl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tan.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tanf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tanh.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tanhf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tanhl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_tanl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_trunc.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_truncf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
s_truncl.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
sincos32.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
slowexp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
slowpow.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
t_exp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
Versions ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acos.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acosf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acosh.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acoshf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acoshl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_acosl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_asin.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_asinf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_asinl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_atan2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_atan2f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_atan2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_atanh.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_atanhf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_atanhl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_cosh.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_coshf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_coshl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp2f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp10.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp10f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp10l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_exp.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_expf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_expl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_fmod.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_fmodf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_fmodl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_hypot.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_hypotf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_hypotl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_lgamma_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_lgamma.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_lgammaf_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_lgammaf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_lgammal_r.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_lgammal.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log2.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log2f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log2l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log10.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log10f.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log10l.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_log.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_logf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_logl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_pow.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_powf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_powl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_remainder.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_remainderf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_remainderl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_scalb.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_scalbf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_scalbl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_sinh.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_sinhf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_sinhl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_sqrt.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_sqrtf.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_sqrtl.c ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_tgamma.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_tgammaf.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00
w_tgammal.S ia64: relocate out of ports/ subdir 2014-02-16 01:12:38 -05:00

  ----------------------------------------------------------
  Notes on how to update libm based on Intel's libm releases
  ----------------------------------------------------------

This source code in this directory is currently based on Intel libm
v2.1 as available from:

  http://www.intel.com/software/products/opensource/libraries/num.htm

To ease importing, fix some bugs, and simplify integration into libc,
it is also necessary to apply the patch at:

  ftp://ftp.hpl.hp.com/pub/linux-ia64/intel-libm-041228.diff.gz

The expectation is that Intel will integrate most if not all of these
changes into future releases of libm, so this patching step can
hopefully be omitted in the future.

Once the patched libm sources are extracted in a directory $LIBM, they
can be imported into the libc source tree at $LIBC with the following
step:

	$ cd $LIBC/src/sysdep/ia64/fpu
	$ ./import_intel_libm $LIBM

This should produce a number of "Importing..." messages, without
showing any errors.

At this point, you should be able to build glibc in the usual fashion.
We assume you do this in directory $OBJ.  Once the build has
completed, run "make check" to verify that all (math) checks succeed.
If these checks succeed, you should also run the following commands to
verify that the new libm doesn't pollute the name-space and has proper
size-info for the data objects:

	$ cd $LIBC/src/sysdep/ia64/fpu
	$ import_check $OBJ/math/

There should be no (unexpected) errors reported by this script.

As an optional step, you may also want to confirm that the new libm
exports the exact same global symbols as the old one.

If you want to see the changes introduced by the "import_intel_libm"
script, you can run the commands:

	$ cd $LIBC/src/sysdep/ia64/fpu
	$ import_diffs

That's it.