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