NetBSD/lib/libm/arch/m68060
2000-05-16 19:07:35 +00:00
..
e_acos.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_acosf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_asin.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_asinf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_atanh.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_atanhf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_cosh.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_coshf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_exp.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_expf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_log10.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_log10f.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_log.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_logf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_sinh.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_sinhf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_sqrt.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
e_sqrtf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
fplsp_wrap.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
fplsp.hex Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
k_tan.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
k_tanf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
makeas.sh Change libm-68060 internal, but file external labels (used for linkage between 2000-05-16 19:05:37 +00:00
Makefile Move original Motorola files to the "dist" subdirectory, in response 2000-04-14 20:24:29 +00:00
Makefile.list Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
makeoffs.awk Change libm-68060 internal, but file external labels (used for linkage between 2000-05-16 19:05:37 +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
s_atan.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_atanf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_cos.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_cosf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_expm1.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_expm1f.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_log1p.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_log1pf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_logb.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_logbf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_sin.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_sinf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_tan.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_tanf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_tanh.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00
s_tanhf.S Regenerate, after changing internal label used for linkage to the wrapper 2000-05-16 19:07:35 +00:00

- 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.