Software Tools
We have developed a complete C compiler for TORCH. Originally it
used the
SUIF compiler to generate an
intermediate representation which was then used by the instruction
scheduler. This had some nice features, like being able to schedule for
infinite number of registers. However, since
SUIF is not very wide spreadt
(yet!) we have moved to using MIPS C compiler to generate an assembly
file. This is then processed using the TORCH tools.
You can get a copy of the entire
software toolset. [2144kB]
The TORCH compiler Tcc can automatically generate statistics files
to evaulate the compiler, and the simulators to emulate TORCH object
code on a DECstation. Please see
Ttrace
and
Tsim.
Description
Below is a short description of each of the programs in the
distribution.
masm
- Assembles a MIPS assembly language program into MIPS machine
instructions. It also collects relocation information to aid in
the building of a real .o file. One should think of masm as the
first pass of a full assembler. [38kB]
twine
- TORCH instruction scheduler. It is capable of scheduling for a
boosting architecture and for a non-excepting-instruction
architecture. [91kB]
-
readm
- Translates MIPS-assembly-from-SUIF binary to an ASCII file of
MIPS assembly instructions. [3kB]
-
tas
- Produce a relocatable TORCH object file from the output of
masm or twine. The object file is in MIPS COFF format. [49kB]
-
lt
- TORCH link editor. Does some pre-processing of symbols and the
calls the Ultrix linker (ld) to build the final object file. [14kB]
-
tcc
- TORCH compiler. Compiles C and assembly source files into TORCH
object files. It can also produce statistics files for evaluating the
compiler, and the simulators for emulating TORCH object code on a
DECstation. [63kB]
-
libraries
- This is a set of common libraries that are used by most of the
Software Tools. Some of the libraraies are old
SUIF libraries. All the bugs are ours,
not theirs. You will need them to re-compile the binaries. [128kB]
-
loadcore
- Will read in the text and data segments of a TORCH object file,
and write them to output files in Verilog format. [9kB]
The TORCH software tools were developed by
Michael D. Smith,
Phil Lacroute,
Monica Lam
and
Mark Horowitz
.
Back to TORCH Home Page