xref: /original-bsd/sys/tahoe/math/Kfp_mvtoacc.s (revision 74bf68f5)
1/*	Kfp_mvtoacc.s	1.3	86/01/05	*/
2
3#include "../tahoemath/fp.h"
4#include "../tahoe/SYS.h"
5
6/*
7 * mvtofacc(value, acc_addr)
8 *
9 * move value to floating point accumulator
10 */
11ENTRY(mvtofacc, 0)
12	movl	4(fp),*12(fp)
13	ret
14
15/*
16 * mvtodacc(value_hi, value_lo, acc_addr)
17 *
18 * move value to double precision accumulator
19 */
20ENTRY(mvtodacc, 0)
21	movl	12(fp),r0	# address of accumulator
22	movl	4(fp),(r0)	# most significant longword
23	movl	8(fp),4(r0)	# least significant longword
24	ret
25