Noeud « Next »: , Noeud « Previous »: src/assem, Noeud « Up »: Project Layout



3.2.15 The src/target Directory

Namespace target, delivered for T7. Some data on the back end. Given in full.

— File: cpu.hh (src/target/)

Description of a CPU: everything about its registers, and its word size.

— File: target.hh (src/target/)

Description of a target (language): its CPU, its assembly (codegen::Assembly), and it translator (codegen::Codegen).

— File: mips-cpu.hh (src/target/)
— File: mips-target.hh (src/target/)

The description of the MIPS (actually, SPIM/Mipsy) target.

— File: ia32-cpu.hh (src/target/)
— File: ia32-target.hh (src/target/)

Description of the i386. This is not part of the project, it is left only as an incomplete source of inspiration.

— File: target-tasks.cc (src/target/)
— File: target-tasks.hh (src/target/)

The command line interface to specify the target architecture.