Commit | Line | Data |
---|---|---|
dcc3b311 JS |
1 | .th FLT40 VI 8/22/77 |
2 | .sh NAME | |
3 | flt40 \- floating point assembly language speed up massager | |
4 | .sh SYNOPSIS | |
5 | .bd flt40 | |
6 | slowcode fastcode | |
7 | .sh DESCRIPTION | |
8 | .it Flt40 | |
9 | reads the assembly language program off the file | |
10 | .it slowcode | |
11 | and writes a transformed program on | |
12 | .it fastcode. | |
13 | The transformation consists of placing the statement | |
14 | .s3 | |
15 | .dt | |
16 | jsr pc,fpjsr | |
17 | .s3 | |
18 | before each group of floating point operations. | |
19 | On machines which don't have floating point hardware, this | |
20 | can speed execution time significantly, as the system overhead | |
21 | associated with floating point interpretation is eliminated. | |
22 | .s3 | |
23 | .it Flt40 | |
24 | is most appropriately called directly from the C compiler pre-processor | |
25 | .it cc; | |
26 | an option | |
27 | .bd \-F | |
28 | to call | |
29 | .it flt40 | |
30 | is a useful addition on machines without floating point hardware. | |
31 | .sh AUTHOR | |
32 | Jeff Schriebman | |
33 | .sh BUGS | |
34 | The name | |
35 | .it flt40 | |
36 | is an anachronism; | |
37 | the program works perfectly well on 11/45's and 70's. | |
38 | .s3 | |
39 | The input is recognized only if it is in C format; | |
40 | thus there can be no leading tabs before operation codes. |