xref: /original-bsd/lib/libc/tahoe/fpe/subd.s (revision c3e32dec)
1/*
2 * Copyright (c) 1986, 1993
3 *	The Regents of the University of California.  All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Computer Consoles Inc.
7 *
8 * %sccs.include.redist.c%
9 */
10
11#if defined(SYSLIBC_SCCS) && !defined(lint)
12	.asciz "@(#)subd.s	8.1 (Berkeley) 06/04/93"
13#endif /* SYSLIBC_SCCS and not lint */
14
15#include <tahoemath/fp.h>
16#include "DEFS.h"
17
18XENTRY(subd, 0)
19	pushl	16(fp)
20	pushl	12(fp)
21	callf	$12,Xnegd
22	pushl	r1
23	pushl	r0
24	pushl	8(fp)
25	pushl	4(fp)
26	callf	$20,Xaddd
27	ret
28