Commit | Line | Data |
---|---|---|
2dd6a300 KB |
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 | * @(#)asincos.s 5.1 (Berkeley) %G% | |
12 | */ | |
13 | ||
14 | /* asin(x) and acos(x) */ | |
15 | ||
16 | .text | |
17 | .globl _asin, _acos | |
18 | ||
19 | _asin: | |
20 | fasind sp@(4),fp0 | |
21 | fmoved fp0,sp@- | |
22 | movel sp@+,d0 | |
23 | movel sp@+,d1 | |
24 | rts | |
25 | ||
26 | _acos: | |
27 | facosd sp@(4),fp0 | |
28 | fmoved fp0,sp@- | |
29 | movel sp@+,d0 | |
30 | movel sp@+,d1 | |
31 | rts |