xref: /original-bsd/lib/libc/hp300/gen/subdf3.s (revision c829ecf6)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * the Systems Programming Group of the University of Utah Computer
7 * Science Department.
8 *
9 * %sccs.include.redist.c%
10 */
11
12#if defined(LIBC_SCCS) && !defined(lint)
13	.asciz "@(#)subdf3.s	5.1 (Berkeley) 06/07/90"
14#endif /* LIBC_SCCS and not lint */
15
16#include "DEFS.h"
17
18/* double - double */
19ENTRY(__subdf3)
20	fmoved	sp@(4),fp0
21	fsubd	sp@(12),fp0
22	fmoved	fp0,sp@-
23	movel	sp@+,d0
24	movel	sp@+,d1
25	rts
26