142224Sbostic/*- 2*61285Sbostic * Copyright (c) 1990, 1993 3*61285Sbostic * The Regents of the University of California. All rights reserved. 442224Sbostic * 542224Sbostic * This code is derived from software contributed to Berkeley by 642224Sbostic * the Systems Programming Group of the University of Utah Computer 742224Sbostic * Science Department. 842224Sbostic * 942224Sbostic * %sccs.include.redist.c% 1042224Sbostic * 11*61285Sbostic * @(#)sincos.s 8.1 (Berkeley) 06/04/93 1242224Sbostic */ 1342224Sbostic 1442224Sbostic/* sin(x) and cos(x) */ 1542224Sbostic 1642224Sbostic .text 1742224Sbostic .globl _sin, _cos 1842224Sbostic 1942224Sbostic_sin: 2042224Sbostic fsind sp@(4),fp0 2142224Sbostic fmoved fp0,sp@- 2242224Sbostic movel sp@+,d0 2342224Sbostic movel sp@+,d1 2442224Sbostic rts 2542224Sbostic 2642224Sbostic_cos: 2742224Sbostic fcosd sp@(4),fp0 2842224Sbostic fmoved fp0,sp@- 2942224Sbostic movel sp@+,d0 3042224Sbostic movel sp@+,d1 3142224Sbostic rts 32