1/*- 2 * Copyright (c) 1990, 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 * the Systems Programming Group of the University of Utah Computer 7 * Science Department. 8 * 9 * %sccs.include.redist.c% 10 * 11 * @(#)sincos.s 8.1 (Berkeley) 06/04/93 12 */ 13 14/* sin(x) and cos(x) */ 15 16 .text 17 .globl _sin, _cos 18 19_sin: 20 fsind sp@(4),fp0 21 fmoved fp0,sp@- 22 movel sp@+,d0 23 movel sp@+,d1 24 rts 25 26_cos: 27 fcosd sp@(4),fp0 28 fmoved fp0,sp@- 29 movel sp@+,d0 30 movel sp@+,d1 31 rts 32