FLT40(VI) − PWB/UNIX 8/22/77
NAME
flt40 − floating point assembly language speed up massager
SYNOPSIS
flt40 slowcode fastcode
DESCRIPTION
Flt40 reads the assembly language program off the file slowcode and writes a transformed program on fastcode. The transformation consists of placing the statement jsrpc,fpjsr before each group of floating point operations. On machines which don’t have floating point hardware, this can speed execution time significantly, as the system overhead associated with floating point interpretation is eliminated. Flt40 is most appropriately called directly from the C compiler pre-processor cc; an option −F to call flt40 is a useful addition on machines without floating point hardware.
AUTHOR
Jeff Schriebman
BUGS
The name flt40 is an anachronism; the program works perfectly well on 11/45’s and 70’s. The input is recognized only if it is in C format; thus there can be no leading tabs before operation codes.