Document existence of old (gencode) and new (igen) MIPS ISA simulators.

This commit is contained in:
Andrew Cagney 1998-01-16 01:09:15 +00:00
parent 853713a768
commit 13151a934d
1 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,42 @@
This directory contains two very different simulators:
o gencode (old)
Gencode.c outputs a single monolithic file that is
#included by interp.c
o igen (new)
The *.igen files are used as inputs to ../igen/igen.
A number of separate, fairly modula files, are created.
The new simulator has a number of advantages:
o builtin support for multi-simming (single simulator
image supporting a number of different instruction
set architectures).
o Easier maintenance. The input files are not confused
by an intermixing with the generator code.
gencode continues to exist so that old architectures can be emulated.
*.igen should be used when adding new architectures or adding
instructions to an existing ISA.
Known bugs?
A mips16 simulator cannot be built using igen. A custom mips16
engine.c needs to be written.
In mips.igen, the semantics for many of the instructions were created
using code generated by gencode. Those semantic segments could be
greatly simplified.
----
Old README.Cygnus ...
> README.Cygnus
-------------------------------------------------------------------------------