Next: src/target/ia32, Previous: src/target, Up: Project Layout [Contents][Index]
Namespace target::mips
, delivered for TC-7. Code
generation for MIPS R2000.
The description of the MIPS (actually, SPIM/Nolimips) CPU.
Our assembly language (syntax, opcodes and layout); it abstracts the
generation of MIPS R2000 instructions.
target::mips::SpimAssembly
derives from
target::Assembly
.
How MIPS (and SPIM/Nolimips) fragments are to be displayed. In other words, that’s where the (global) syntax of the target assembly file is selected.
A translator from LIR to ASSEM using the MIPS R2000
instruction set defined by target::mips::SpimAssembly
. It is
implemented as a dynamic programming algorithm generated by MonoBURG
from a set of brg files. target::mips::Codegen
derives
from target::Codegen
.
The main back end, based on a MIPS CPU and a MIPS code generator.
The Tiger runtime in MIPS assembly language: print
etc.
The C++ file runtime.cc is built from runtime.s: do not
edit the former. See src/target, tiger-runtime.c.