NetBSD/lib/libm/arch/m68060
is 183dfce153 Move each wrapper function to its own source file, such that redefining one
function doesn't give link errors when another one is pulled in from the
library.
Problem discovered by Klaus Klein.
2000-05-12 20:08:04 +00:00
..
Makefile Move original Motorola files to the "dist" subdirectory, in response 2000-04-14 20:24:29 +00:00
Makefile.list *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
Readme.NetBSD Move each wrapper function to its own source file, such that redefining one 2000-05-12 20:08:04 +00:00
e_acos.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_acosf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_asin.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_asinf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_atanh.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_atanhf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_cosh.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_coshf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_exp.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_expf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_log.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_log10.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_log10f.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_logf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_sinh.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_sinhf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_sqrt.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
e_sqrtf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
fplsp.hex *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
fplsp_wrap.S Regen; add register prefixes. 1999-11-10 16:34:56 +00:00
k_tan.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
k_tanf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
makeas.sh Move each wrapper function to its own source file, such that redefining one 2000-05-12 20:08:04 +00:00
makeoffs.awk Move each wrapper function to its own source file, such that redefining one 2000-05-12 20:08:04 +00:00
s_atan.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_atanf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_cos.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_cosf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_expm1.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_expm1f.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_log1p.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_log1pf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_logb.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_logbf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_sin.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_sinf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_tan.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_tanf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_tanh.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00
s_tanhf.S *gamma* need k_sin*/k_cos* 1999-08-22 08:25:42 +00:00

Readme.NetBSD

- Import new Motorola 060SP packages in /sys/arch/m68k/060SP first.
- if you had to change something in here, "make clean" here
- commit Makefile Readme.NetBSD makeas.sh makeoffs.awk
- "make" here
- commit this directory
     ----------------------------------------------------------------------
Method:

Out of the table, we create a wrapper for fplsp.S. It contains:

Single precision:

	movl	sp@(4),sp@-			4
	bsr	_060fplsp+theoffset		4
	fmovs	fp0,sp@				4
	movel	sp@+,d0				4
	rts					2
	(18 bytes)

Double precision:

	movl	sp@(4+0),sp@-			4
	movl	sp@(8+4),sp@-			4
	bsr	_060fplsp+theoffset		4
	fmovd	fp0,sp@				4
	movel	sp@+,d0				4
	movel	sp@+,d1				4
	rts					2
	(26 bytes)

For __SVR4_ABI, the code is much shorter... it reduces to a single jbra.