This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
multiple isa support
- To: cgen development <cgen at sources dot redhat dot com>
- Subject: multiple isa support
- From: Ben Elliston <bje at redhat dot com>
- Date: Tue, 21 Nov 2000 09:33:11 +1100 (EST)
Hi.
I'm making slow progress on making cgen capable of emitting separate
decoders and semantics for each of a number of ISAs. cpuall.h contains one
booby trap that I'm not sure about how to handle:
#include "cgen-engine.h"
#include "cpu.h"
#include "decode.h"
[...]
Should there be a #include for each decoder? Should they be able to
co-exist? If so, an additional problem is that hardwiring filenames like
this is *wrong* -- the shell wrapper may suffix all of the generated
filenames.
Any advice on how to proceed?
Ben